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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56f5cb
sub esp, 0x70
mov eax, dword [esp + 0x74]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.0046f1e0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
test ecx, ecx
je 0x56f29b
mov ebx, dword [0x7d383c]
cmp dword [0x7d3838], ecx
je 0x56f251
mov ecx, 1
jmp 0x56f26f
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00403d30
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x74]
test cl, cl
je 0x56f29b
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046f2b0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
movzx ecx, byte [eax + 0x30]
test cl, cl
je 0x56f338
mov ecx, dword [0x7d3710]
mov edx, dword [0x7d3714]
mov ebx, dword [eax + 0x34]
mov ebp, dword [eax + 0x38]
test ebx, ebx
je 0x56f30a
mov esi, dword [0x7d383c]
cmp dword [0x7d3838], ebx
je 0x56f2d2
mov ebx, 1
jmp 0x56f300
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00403d30
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x74]
test bl, bl
je 0x56f30a
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046f2b0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046f2b0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
test ecx, ecx
je 0x56f411
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jne 0x56f371
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ecx
mov ebp, dword [esp + 0x78]
xor esi, esi
jmp 0x56f465
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], edx
call fcn.00409a10
mov eax, dword [esp + 4]
lea ecx, [0x5f1160]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00409a10
mov eax, dword [esp + 4]
lea ecx, [0x5f1160]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x62a956]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004dec80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x70
ret
lea eax, [0x5f96c0]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x627433]
mov dword [eax], ecx
lea ecx, [0x66e664]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
mov edi, dword [esp + 0x20]
lea esi, [edi + 1]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x40]
cmp esi, edx
jge 0x56f5a2
lea edi, [ecx + esi*8]
mov edx, dword [edi]
mov edi, dword [edi + 4]
cmp ebx, esi
jbe 0x56f5c1
mov dword [esp + 0x20], esi
lea ecx, [ebp + esi*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.0055ef40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x56f44a
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x58]
xor eax, eax
call fcn.004645ca
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00409a10
mov eax, dword [esp + 4]
lea ecx, [0x5f1160]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jae 0x56f5bc
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409b20
mov eax, dword [esp + 8]
lea ecx, [0x5f1960]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x56f54c
mov ecx, dword [eax + 4]
jmp 0x56f54e
mov ecx, eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
lea eax, [0x62992a]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.004dec80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x70
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
call fcn.00464400
mov eax, esi
mov ecx, ebx
call fcn.00464400
nop
call fcn.00462f70
jmp fcn.0056f200