Function at 0x58aab0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov ecx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [ecx]
push ebx
push ebp
mov eax, dword [eax + 8]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x68]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push edi
xor edi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], 0xa7
mov dword [eax + 0x1c], 0xffffffff
test ebx, ebx
je 0x58ab97
test byte [esi + 0x18], 6
je 0x58ab25
xor ebx, ebx
mov dword [esp + 0x60], ebx
jmp 0x58ab97
mov ebx, dword [ecx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x58ab5f
mov ebp, dword [ecx + 0x10]
mov edi, ebp
push dword [esp + 0x60]
push dword [edi]
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58ab4f
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x58ab33
jmp 0x58ab5b
mov eax, esi
add eax, eax
mov eax, dword [ebp + eax*8 + 0xc]
mov dword [esp + 0x3c], eax
xor edi, edi
xor ebp, ebp
cmp esi, ebx
mov ebx, dword [esp + 0x60]
jne 0x58ab93
push ebx
push str.main
call fcn.005cdec0
mov esi, dword [esp + 0x74]
add esp, 8
test eax, eax
jne 0x58ab97
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], ebx
jmp 0x58ab97
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
nop dword [eax + eax]
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x58b070
xor eax, eax
lea esi, [ecx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
cmp dword [ecx], eax
jle 0x58b040
nop dword [eax]
nop dword [eax + eax]
test dword [esi + 0x28], 0x2000
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x44], ebp
je 0x58ad30
mov eax, dword [esi + 0x14]
xor ebx, ebx
xor edi, edi
mov ebp, dword [eax + 0x1c]
cmp dword [ebp], ebx
jle 0x58ad1b
lea esi, [ebp + 0x14]
nop word [eax + eax]
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0
push eax
push dword [esp + 0x64]
lea eax, [esi - 0xc]
push edx
push dword [esp + 0x28]
push eax
call fcn.005bce40
add esp, 0x14
test eax, eax
je 0x58acf6
cmp dword [esp + 0x50], 0
jne 0x58acd3
cmp dword [esp + 0x14], 0
jle 0x58ac96
mov eax, dword [esp + 0x18]
test dword [eax + 0x28], 0x400
je 0x58ac77
push dword [esp + 0x1c]
push dword [eax + 0x30]
call fcn.005b9550
add esp, 8
test eax, eax
js 0x58ac77
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x24]
test al, 0x10
je 0x58acf6
test al, 8
jne 0x58aca1
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58ac8c
push eax
push dword [esp + 0x30]
call fcn.00579c60
add esp, 8
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
inc dword [esp + 0x14]
mov edi, 1
jmp 0x58acda
mov eax, dword [esp + 0x70]
movzx eax, word [eax + 0x20]
push eax
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x68]
call fcn.0057a7e0
mov eax, dword [esp + 0x44]
add esp, 0x10
inc dword [esp + 0x14]
mov edi, 1
mov dword [esp + 0x28], eax
jmp 0x58acda
cmp dword [esp + 0x14], 0
jg 0x58acf6
mov eax, dword [esp + 0x18]
inc dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov word [eax + 0x20], bx
or dword [esi], 0x40
test byte [esi], 0x80
jne 0x58ad07
mov edx, dword [esp + 0x64]
inc ebx
add esi, 0x14
cmp ebx, dword [ebp]
jl 0x58ac00
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
test edi, edi
jne 0x58afea
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x60]
test edx, edx
jne 0x58ad3a
mov edi, dword [esp + 0x14]
jmp 0x58b028
test edx, edx
je 0x58ae57
jmp 0x58ad3e
mov ebp, dword [esp + 0x44]
test ebx, ebx
je 0x58ad87
mov edi, dword [esp + 0x3c]
cmp dword [ebp + 0x3c], edi
jne 0x58ad27
test edi, edi
jne 0x58ad87
mov ecx, 0x6a5e4c
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x58ad76
test dl, dl
je 0x58ad72
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x58ad76
add eax, 2
add ecx, 2
test dl, dl
jne 0x58ad56
xor eax, eax
jmp 0x58ad7b
sbb eax, eax
or eax, 1
mov edx, dword [esp + 0x64]
test eax, eax
jne 0x58b00e
mov edi, dword [esi + 0xc]
test edi, edi
je 0x58adbf
mov esi, edi
sub esi, dword [esp + 0x64]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x58ada6
test ecx, ecx
je 0x58ae17
inc edx
jmp 0x58ad94
movzx eax, byte [eax + 0x68b3e0]
movzx ecx, byte [ecx + 0x68b3e0]
sub ecx, eax
jne 0x58aff0
inc edx
jmp 0x58ad94
mov esi, dword [ebp]
mov ebx, dword [esp + 0x64]
sub esi, ebx
nop dword [eax + eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x58ade2
test ecx, ecx
je 0x58ae17
inc edx
jmp 0x58add0
movzx eax, byte [eax + 0x68b3e0]
movzx ecx, byte [ecx + 0x68b3e0]
sub ecx, eax
jne 0x58adf7
inc edx
jmp 0x58add0
cmp dword [ebp + 0x14], 1
jne 0x58b002
push dword [esp + 0x3c]
push ebp
push ebx
call fcn.005837d0
add esp, 0xc
test eax, eax
je 0x58b002
mov eax, dword [esp + 0x5c]
cmp byte [eax + 0xdc], 2
jb 0x58ae53
test edi, edi
je 0x58ae53
mov eax, dword [eax + 0x118]
test eax, eax
je 0x58ae53
mov ecx, dword [esp + 0x70]
add ecx, 0x2c
nop dword [eax]
cmp dword [eax], ecx
je 0x58ae4d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x58ae40
jmp 0x58ae53
mov dword [eax], 0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor dl, dl
mov byte [esp + 0x13], dl
mov ecx, eax
test eax, eax
jne 0x58ae6d
mov byte [esp + 0x13], dl
jmp 0x58ae8d
mov al, byte [eax]
test al, al
je 0x58ae89
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x68b3e0]
mov al, byte [ecx]
test al, al
jne 0x58ae73
mov byte [esp + 0x13], dl
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 4]
xor ebx, ebx
movsx ebp, word [ebp + 0x22]
test ebp, ebp
jle 0x58afbb
nop
cmp byte [edi + 0xa], dl
jne 0x58af61
mov edx, dword [edi]
mov esi, eax
sub esi, edx
nop
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x58af41
test eax, eax
jne 0x58af53
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
jle 0x58af1f
test dword [esi + 0x28], 0x400
je 0x58af00
push dword [esp + 0x1c]
push dword [esi + 0x30]
call fcn.005b9550
add esp, 8
test eax, eax
js 0x58af00
mov al, byte [esi + 0x24]
test al, 0x10
je 0x58af5d
test al, 8
jne 0x58af72
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x58af15
push eax
push dword [esp + 0x30]
call fcn.00579c60
add esp, 8
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], edi
movsx eax, word [edx + 0x20]
cmp ebx, eax
jne 0x58af9b
or eax, 0xffffffff
jmp 0x58af9e
movzx ecx, byte [ecx + 0x68b3e0]
movzx eax, byte [eax + 0x68b3e0]
sub eax, ecx
jne 0x58af59
inc edx
jmp 0x58aeb0
mov esi, dword [esp + 0x18]
mov dl, byte [esp + 0x13]
inc ebx
add edi, 0x10
cmp ebx, ebp
jge 0x58afbb
mov eax, dword [esp + 0x1c]
jmp 0x58aea0
mov ebp, dword [esp + 0x70]
movzx eax, word [ebp + 0x20]
push eax
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x68]
call fcn.0057a7e0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x58af23
movzx eax, bx
mov word [ebp + 0x20], ax
test dword [esi + 0x28], 0x2000
je 0x58afc3
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x1c]
lea eax, [ebx + ebx*4]
or dword [ecx + eax*4 + 0x14], 0x40
jmp 0x58afc3
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x58b018
test dword [edx + 0x1c], 0x200
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
jne 0x58b028
inc dword [esp + 0x38]
mov dword [esp + 0x20], esi
jmp 0x58b028
mov edi, dword [esp + 0x14]
jmp 0x58b020
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
jmp 0x58b024
mov esi, dword [esp + 0x18]
mov edx, ebx
mov edi, dword [esp + 0x14]
jmp 0x58b01c
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
jmp 0x58b024
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
inc eax
add esi, 0x48
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
cmp eax, dword [ecx]
jl 0x58abd0
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x58b068
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x2c], eax
test byte [ebp + 0x24], 0x48
je 0x58b061
or dword [ecx + 4], 0x200000
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x58b4e2
test ebx, ebx
jne 0x58b2c6
mov edi, dword [esp + 0x5c]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov esi, dword [edi + 0x84]
test esi, esi
je 0x58b13e
cmp byte [edi + 0x9f], 0
mov bl, byte [edi + 0x9e]
je 0x58b0e6
mov eax, dword [esp + 0x6c]
test dword [eax + 0x18], 0x400
je 0x58b13e
test edx, edx
je 0x58b0d5
push dword [esi]
push edx
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58b0d5
push ebp
push esi
push dword [esp + 0x6c]
call fcn.005837d0
add esp, 0xc
test eax, eax
je 0x58b13e
mov ecx, dword [esp + 0x70]
xor eax, eax
cmp bl, 0x80
setne al
mov dword [ecx + 0x1c], eax
jmp 0x58b134
cmp bl, 0x80
je 0x58b117
test edx, edx
je 0x58b112
push edx
push 0x68f828
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x58b10e
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x1c], 1
jmp 0x58b134
mov edx, dword [esp + 0x64]
cmp bl, 0x7f
je 0x58b13e
test edx, edx
je 0x58b13e
push edx
push 0x68f82c
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x58b13e
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [edi + 0x84]
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x6c]
test dword [edx + 0x18], 0x200
je 0x58b187
mov eax, dword [esp + 0x64]
test eax, eax
je 0x58b187
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x58b187
mov edx, str.excluded
mov edi, eax
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x58b1a1
test eax, eax
jne 0x58b1b3
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax + 0x18]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], ebp
mov dword [eax + 0x1c], 2
test ebp, ebp
je 0x58b2c2
mov esi, dword [esp + 0x1c]
xor dl, dl
mov byte [esp + 0x13], dl
mov ecx, esi
test esi, esi
jne 0x58b1b6
jmp 0x58b1d2
movzx ecx, byte [eax + 0x68b3e0]
movzx eax, byte [esi + 0x68b3e0]
sub ecx, eax
jne 0x58b187
inc edx
jmp 0x58b163
mov al, byte [esi]
test al, al
je 0x58b1d6
nop dword [eax]
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x68b3e0]
mov al, byte [ecx]
test al, al
jne 0x58b1c0
mov byte [esp + 0x13], dl
mov eax, dword [ebp + 0x3c]
xor edi, edi
inc dword [esp + 0x38]
xor ebx, ebx
mov ebp, dword [ebp + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x22]
mov ecx, eax
mov dword [esp + 0x50], ecx
cmp di, ax
jge 0x58b25f
nop dword [eax + eax]
cmp byte [ebp + 0xa], dl
jne 0x58b254
mov edx, dword [ebp]
mov edi, esi
sub edi, edx
nop dword [eax]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x58b233
test eax, eax
jne 0x58b245
mov ebp, dword [esp + 0x30]
movsx eax, word [ebp + 0x20]
cmp ebx, eax
mov eax, 0xffffffff
cmove ebx, eax
jmp 0x58b263
movzx ecx, byte [eax + 0x68b3e0]
movzx eax, byte [esi + 0x68b3e0]
sub ecx, eax
jne 0x58b248
inc edx
jmp 0x58b210
mov dl, byte [esp + 0x13]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
inc ebx
movsx eax, cx
add ebp, 0x10
cmp ebx, eax
jl 0x58b200
mov ebp, dword [esp + 0x30]
movzx esi, word [ebp + 0x22]
movsx eax, si
cmp ebx, eax
jl 0x58b2b7
mov edi, dword [esp + 0x1c]
push str._ROWID_
push edi
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58b2a8
push str.ROWID
push edi
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58b2a8
push 0x68fdb4
push edi
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x58b2c2
test dword [ebp + 0x1c], 0x200
mov eax, 0xffffffff
cmove ebx, eax
movsx eax, si
cmp ebx, eax
jl 0x58b3b4
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
cmp esi, 1
jl 0x58b334
test ebp, ebp
je 0x58b334
mov eax, dword [esp + 0x6c]
test byte [eax + 0x18], 0x28
jne 0x58b334
mov ebx, dword [esp + 0x1c]
push str._ROWID_
push ebx
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58b317
push str.ROWID
push ebx
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58b317
push 0x68fdb4
push ebx
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x58b334
mov eax, dword [ebp + 0x10]
test dword [eax + 0x1c], 0x200
je 0x58b58d
test dword [ebp + 0x28], 0x2000
jne 0x58b4d8
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
test byte [esi + 0x18], 0x80
je 0x58b390
test edx, edx
jne 0x58b390
mov eax, dword [esi + 8]
xor ebx, ebx
mov ebp, dword [eax]
test ebp, ebp
jle 0x58b390
lea esi, [eax + 0x14]
test byte [esi], 3
mov edi, dword [esi - 8]
jne 0x58b380
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x58b36a
neg eax
sbb eax, eax
jmp 0x58b378
test eax, eax
je 0x58b380
push eax
push edi
call fcn.005cdec0
add esp, 8
test eax, eax
je 0x58b5ac
inc ebx
add esi, 0x14
cmp ebx, ebp
jl 0x58b354
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov esi, dword [esi + 0xc]
inc dword [esp + 0x4c]
mov dword [esp + 0x6c], esi
test esi, esi
je 0x58b69b
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
jmp 0x58aba0
mov edx, dword [esp + 0x70]
xor eax, eax
mov edi, 1
mov dword [esp + 0x20], eax
movzx ecx, bx
mov esi, dword [edx + 0x1c]
cmp esi, 2
jne 0x58b41e
mov eax, ecx
mov ecx, dword [esp + 0x5c]
cmp byte [ecx + 0xdc], 2
jb 0x58b3f3
mov dword [edx + 0x2c], ebp
mov ebp, edx
mov word [edx + 0x20], ax
mov dword [esp + 0x40], 0xa7
jmp 0x58b4ef
push eax
push ebp
call fcn.005ce530
mov ebp, dword [esp + 0x78]
add esp, 8
movsx ecx, ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x40], 0xb0
mov eax, dword [eax + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp + 0x1c], ecx
jmp 0x58b4ef
mov eax, dword [esp + 0x5c]
mov dword [edx + 0x2c], ebp
mov al, byte [eax + 0x9f]
mov word [edx + 0x20], cx
test al, al
je 0x58b46c
push ecx
push ebp
mov dword [esp + 0x48], 0xb0
mov byte [edx + 2], 0xa7
call fcn.005ce530
movsx ecx, ax
add esp, 8
movsx eax, word [ebp + 0x22]
mov ebp, dword [esp + 0x70]
inc eax
imul eax, esi
add ecx, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 8]
inc eax
add eax, ecx
mov dword [ebp + 0x1c], eax
jmp 0x58b4ef
mov dword [esp + 0x40], 0x4d
test ebx, ebx
jns 0x58b480
mov ebp, edx
mov byte [ebp + 1], 0x44
jmp 0x58b4ef
test esi, esi
jne 0x58b4ae
cmp ebx, 0x20
jl 0x58b49a
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
mov ebp, edx
or dword [ecx + 0x94], eax
jmp 0x58b4ef
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ebp, edx
mov ecx, dword [esp + 0x5c]
or dword [ecx + 0x94], eax
jmp 0x58b4ef
cmp ebx, 0x20
jl 0x58b4c4
mov ecx, dword [esp + 0x5c]
or eax, 0xffffffff
mov ebp, edx
or dword [ecx + 0x98], eax
jmp 0x58b4ef
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ebp, edx
mov ecx, dword [esp + 0x5c]
or dword [ecx + 0x98], eax
jmp 0x58b4ef
mov edi, esi
mov eax, dword [esp + 0x70]
mov byte [eax + 1], 0x44
cmp edi, 1
jne 0x58b7ba
mov ebp, dword [esp + 0x70]
test dword [ebp + 4], 0x810000
jne 0x58b533
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x58b50d
push eax
push ebx
call fcn.005afab0
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], 0
test eax, eax
je 0x58b525
push eax
push ebx
call fcn.005afab0
add esp, 8
or dword [ebp + 4], 0x800000
mov dword [ebp + 0x10], 0
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x58b9ec
movzx eax, word [ebp + 0x20]
test ax, ax
js 0x58b9e5
mov edx, dword [ebp + 0x2c]
movsx esi, ax
test byte [edx + 0x1c], 0x60
je 0x58b9bd
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
je 0x58b9bd
movzx eax, word [edx + 0x22]
cmp ax, 0x40
jl 0x58b999
or ecx, 0xffffffff
or edx, 0xffffffff
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
jmp 0x58b9ec
test dword [ebp + 0x28], 0x2000
mov edi, esi
jne 0x58b4da
mov eax, dword [esp + 0x70]
or ecx, 0xffffffff
mov word [eax + 0x20], cx
jmp 0x58b4de
mov ebp, dword [esp + 0x6c]
lea eax, [ebx + ebx*4]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov eax, dword [esi + eax*4 + 8]
test dl, 1
jne 0x58b5e7
test byte [eax + 4], 0x10
je 0x58b5e7
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x64]
call fcn.005abd70
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x48
ret
test dword [eax + 4], 0x8000
je 0x58b606
test edx, 0x4000
je 0x58b5fe
cmp ebp, dword [esp + 0x48]
je 0x58b606
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x58b5ce
mov cl, byte [eax]
cmp cl, 0xb0
jne 0x58b610
mov cl, byte [eax + 2]
cmp cl, 0xb1
jne 0x58b61a
mov eax, dword [eax + 0x14]
jmp 0x58b625
cmp cl, 0x8a
jne 0x58b648
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x58b648
push str.row_value_misused
push dword [esp + 0x60]
call fcn.005abd70
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x5c]
push eax
push ebp
push ebx
push esi
push edi
call fcn.00598130
add esp, 0x14
cmp byte [edi + 0xdc], 2
jb 0x58ba00
mov eax, dword [edi + 0x118]
test eax, eax
je 0x58ba00
nop dword [eax]
cmp dword [eax], ebp
je 0x58b690
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x58b680
jmp 0x58ba00
mov dword [eax], 0
jmp 0x58ba00
test edx, edx
jne 0x58b7b2
mov edx, dword [esp + 0x70]
test byte [edx + 4], 0x80
je 0x58b73a
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xb1], 0
jne 0x58b70b
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x48]
test dword [eax + 0x18], 0x10000
je 0x58b700
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x58b6e6
mov eax, ecx
and eax, 0x40000000
or eax, 0
jne 0x58b70b
and ecx, 0x20000000
or ecx, 0
je 0x58b6fa
mov eax, 1
test eax, eax
jmp 0x58b709
xor eax, eax
test eax, eax
jmp 0x58b709
and ecx, 0x40000000
or ecx, 0
je 0x58b73a
push dword [esp + 0x1c]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00553fa0
mov eax, dword [esp + 0x7c]
add esp, 0xc
xorps xmm0, xmm0
pop edi
pop esi
mov byte [eax], 0x75
pop ebp
movq qword [eax + 0x2c], xmm0
mov eax, 1
pop ebx
add esp, 0x48
ret
mov esi, dword [edx + 4]
test esi, 0x4000800
jne 0x58b7a8
mov edi, dword [edx + 8]
push str.true
push edi
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x58b778
mov ecx, dword [esp + 0x70]
mov eax, 0x10000000
pop edi
or eax, esi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
mov byte [ecx], 0xaa
pop ebx
add esp, 0x48
ret
push str.false
push edi
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x58b7b2
mov ecx, dword [esp + 0x70]
mov eax, 0x20000000
pop edi
or eax, esi
pop esi
pop ebp
mov dword [ecx + 4], eax
mov eax, 1
mov byte [ecx], 0xaa
pop ebx
add esp, 0x48
ret
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
jmp 0x58b7be
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x58b8d6
lea eax, [edi - 1]
cmp dword [ebx], eax
jne 0x58b8c9
mov eax, dword [edx + 4]
test eax, 0x800000
je 0x58b7e9
and eax, 0xff7fffff
mov dword [edx + 4], eax
jmp 0x58b825
mov eax, dword [edx + 0xc]
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x58b802
push eax
push esi
call fcn.005afab0
mov edx, dword [esp + 0x78]
add esp, 8
mov eax, dword [edx + 0x10]
mov dword [edx + 0xc], 0
test eax, eax
je 0x58b81e
push eax
push esi
call fcn.005afab0
mov edx, dword [esp + 0x78]
add esp, 8
mov dword [edx + 0x10], 0
mov eax, dword [esp + 0x5c]
movzx edi, word [edx + 0x20]
push 0
push 0x34
push dword [eax]
call fcn.005a9cf0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x58b8b2
push 0x34
push 0
push esi
call fcn.00621d30
mov byte [esi], 0xa7
or eax, 0xffffffff
mov word [esi + 0x22], ax
add esp, 0xc
mov dword [esi + 0x18], 1
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], di
mov eax, dword [ebp + 0x10]
or dword [esi + 4], 0x200000
mov dword [esi + 0x2c], eax
mov eax, dword [ebx]
lea edx, [eax + 1]
cmp dword [ebx + 4], edx
jge 0x58b894
mov eax, dword [esp + 0x5c]
push esi
push ebx
push dword [eax]
call fcn.005b0940
add esp, 0xc
mov ebx, eax
jmp 0x58b8b2
movups xmm0, xmmword [0x68af20]
lea eax, [eax + eax*4]
mov dword [ebx], edx
lea ecx, [ebx + eax*4]
mov eax, dword [0x68af30]
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], esi
mov ebp, dword [esp + 0x70]
mov byte [ebp], 0xac
mov dword [ebp + 8], str.coalesce
mov dword [ebp + 0x14], ebx
jmp 0x58b9fc
push ebx
push dword [esp + 0x30]
call fcn.00579c60
add esp, 8
mov edx, dword [esp + 0x60]
test edi, edi
mov ecx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, ecx
mov ecx, dword [esp + 0x64]
test edx, edx
je 0x58b90b
push dword [esp + 0x1c]
push ecx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x70]
call fcn.005abd70
add esp, 0x18
jmp 0x58b958
test ecx, ecx
je 0x58b928
push dword [esp + 0x1c]
push ecx
push eax
push str._s:__s._s
push dword [esp + 0x6c]
call fcn.005abd70
add esp, 0x14
jmp 0x58b958
test edi, edi
jne 0x58b942
mov ecx, dword [esp + 0x68]
test byte [ecx + 4], 0x80
je 0x58b942
push dword [esp + 0x1c]
push eax
push str._s:___s____should_this_be_a_string_literal_in_single_quotes_
jmp 0x58b94c
push dword [esp + 0x1c]
push eax
push str._s:__s
push dword [esp + 0x68]
call fcn.005abd70
add esp, 0x10
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x70]
mov eax, ebp
mov edx, dword [ecx]
test byte [eax + 4], 3
jne 0x58b971
mov ecx, dword [eax + 0x24]
test ecx, ecx
jg 0x58b97a
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x58b964
jmp 0x58b97d
mov dword [edx + 0x44], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], 0x79
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x48]
inc dword [eax + 0x14]
jmp 0x58b4ef
xor ecx, ecx
cwde
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
jmp 0x58b9ec
cmp esi, 0x40
mov eax, 0x3f
cmovge esi, eax
xor ecx, ecx
xor edx, edx
bts ecx, esi
cmp esi, 0x20
cmovae edx, ecx
xor ecx, edx
cmp esi, 0x40
cmovae edx, ecx
or dword [ebx + 0x38], ecx
or dword [ebx + 0x3c], edx
jmp 0x58b9ec
or dword [ebx + 0x28], 0x4000
mov eax, dword [esp + 0x40]
mov byte [ebp], al
cmp edi, 1
jne 0x58b5da
mov edi, dword [esp + 0x5c]
mov ecx, dword [edi]
cmp dword [ecx + 0x16c], 0
je 0x58bad0
mov al, byte [ebp]
cmp al, 0xa7
je 0x58ba1e
cmp al, 0x4d
jne 0x58bad0
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x3c]
mov ebx, dword [eax + 4]
test esi, esi
je 0x58bad0
mov eax, dword [ecx + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], esi
je 0x58ba52
nop dword [eax]
inc edx
lea eax, [eax + 0x10]
mov ecx, edx
cmp dword [eax], esi
jne 0x58ba40
test ecx, ecx
js 0x58bad0
cmp byte [ebp], 0x4d
jne 0x58ba60
mov esi, dword [edi + 0x84]
jmp 0x58ba89
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x58bad0
mov edi, dword [ebp + 0x1c]
lea ecx, [ebx + 0x34]
nop
cmp edi, dword [ecx]
je 0x58ba7e
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x58ba70
jmp 0x58bad0
mov edi, dword [esp + 0x5c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x58bad0
movsx ecx, word [ebp + 0x20]
test ecx, ecx
js 0x58ba9f
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x58baba
movzx eax, word [esi + 0x20]
test ax, ax
js 0x58bab5
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x58baba
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push edi
call fcn.005a0630
add esp, 0x10
cmp eax, 2
jne 0x58bad0
mov byte [ebp], 0x79
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
inc dword [eax + 0x10]
cmp eax, ecx
je 0x58baea
nop
mov eax, dword [eax + 0xc]
inc dword [eax + 0x10]
cmp eax, ecx
jne 0x58bae0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret