Function at 0x5a7b60
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a7fa8
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5a7b98
xor edx, edx
jmp 0x5a7bab
movzx edx, byte [eax]
test dl, dl
je 0x5a7ba6
mov edx, 0xffffffff
jmp 0x5a7bab
mov edx, 1
test edx, edx
jl 0x5a7bd8
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5a7bc1
xor ebx, ebx
jmp 0x5a7bd4
movzx ebx, byte [edx]
test bl, bl
je 0x5a7bcf
mov ebx, 0xffffffff
jmp 0x5a7bd4
mov ebx, 1
test ebx, ebx
jge 0x5a7c1c
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x720d93]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.004db0a0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x5a7d47
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004db0a0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x5a7d47
lea ecx, [0x6db200]
mov dword [esp], ecx
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov dword [esp + 0x2c], eax
shl eax, 1
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
mov dword [esp + 0x30], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0046c5c0
mov edx, dword [esp + 0x30]
test edx, edx
jbe 0x5a7f9e
mov ebx, dword [esp + 0xc]
mov byte [ebx], 4
mov ecx, dword [esp + 0x2c]
lea ebp, [ecx + 1]
cmp ebp, edx
ja 0x5a7f97
cmp ebp, 1
jb 0x5a7f8b
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x3c]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, ebx
test ecx, ecx
je 0x5a7d23
mov dword [esp + 0x68], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.00471ff0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov eax, ebx
mov ebx, dword [esp + 0x7c]
mov edx, dword [ebx + 4]
mov dword [esp + 0x60], edx
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
jmp 0x5a7da2
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x7227e1]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
cmp ebp, ebx
jge 0x5a7dc0
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x5a7f3e
test ecx, ecx
jge 0x5a7dc6
xor ecx, ecx
mov ebx, dword [esp + 0x2c]
jmp 0x5a7dcd
inc ecx
cmp ecx, ebx
jge 0x5a7de1
jae 0x5a7f1d
movzx ebp, byte [ecx + esi]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5a7dcc
sub edi, ebx
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov ebx, dword [esp + 0x38]
and edi, ebx
lea ebx, [edi + eax]
test ecx, ecx
je 0x5a7e1b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], ebx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00471ff0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x80]
mov esi, dword [ebp + 4]
mov dword [esp + 0x5c], esi
mov ebp, dword [ebp + 8]
mov dword [esp + 0x1c], ebp
mov edx, ecx
xor edi, edi
jmp 0x5a7e3f
inc edi
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
cmp edi, ebp
jge 0x5a7e59
mov eax, dword [esi + edi*4]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
jmp 0x5a7eda
test ecx, ecx
jge 0x5a7e62
xor ecx, ecx
jmp 0x5a7e62
inc ecx
cmp ecx, edx
jge 0x5a7e72
jae 0x5a7ebd
movzx ebp, byte [ecx + ebx]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5a7e61
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x70
ret
mov eax, ecx
mov ecx, edx
call fcn.004718b0
lea ecx, [esi + 1]
shr eax, 8
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
cmp esi, 4
jge 0x5a7e36
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x5a7ef8
cmp edx, ebp
jbe 0x5a7f14
mov byte [ecx + ebx - 1], al
jmp 0x5a7ec6
test al, al
je 0x5a7ec6
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a5b8]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, ebp
mov ecx, edx
call fcn.004718b0
mov eax, ecx
mov ecx, ebx
call fcn.004718b0
lea ecx, [edi + 1]
shr eax, 8
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, edx
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
cmp edi, 4
jge 0x5a7d8b
lea edx, [ecx - 1]
test edx, edx
jl 0x5a7f60
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jbe 0x5a7f82
mov byte [ecx + esi - 1], al
jmp 0x5a7f26
test al, al
jne 0x5a7f6a
mov ebx, dword [esp + 0x2c]
jmp 0x5a7f26
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a5b8]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, edx
mov ecx, ebx
call fcn.004718b0
mov eax, 1
xor ecx, ecx
call fcn.00471910
mov ecx, ebp
call fcn.004718f0
xor eax, eax
mov ecx, eax
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.005a7b60