Function at 0x5ad760
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 0x5adaa9
sub esp, 0x58
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5ada57
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
test ebx, ebx
je 0x5ad9f5
cmp dword [ebx + 8], 0x778cdb8
jne 0x5ad801
lea ebp, [0x5f1960]
cmp ebx, ebp
jne 0x5ad801
mov ebx, dword [edx]
mov edx, dword [edx + 4]
cmp eax, 1
jne 0x5ad7c1
mov eax, edx
mov ecx, ebx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
jmp 0x5ad7d4
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
cmp ecx, ebp
jne 0x5ada92
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00564600
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [0x66ee38]
mov ebp, 1
jmp 0x5ad839
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], ebx
lea eax, [0x5ff820]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00409e50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5ad9ed
mov ebx, eax
xor edx, edx
xor ebp, ebp
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], eax
xchg ebp, eax
mov byte [esp + 0x1f], al
xchg ebp, eax
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.005a2aa0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [0x610600]
mov dword [esp], edx
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x30], ecx
mov edx, dword [0x7f8db0]
test edx, edx
jne 0x5ad8ab
mov edx, dword [esp + 0x38]
mov dword [eax + 0x34], edx
jmp 0x5ad8b7
lea edi, [eax + 0x34]
mov eax, dword [esp + 0x38]
call fcn.00464380
lea eax, [0x605160]
mov dword [esp], eax
lea eax, [0x7ce580]
mov dword [esp + 4], eax
call fcn.00409940
mov eax, dword [esp + 8]
lea ecx, [0x66e90c]
mov edx, dword [esp + 0x40]
mov dword [edx + 0x40], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5ad8ef
mov dword [edx + 0x44], eax
jmp 0x5ad8f7
lea edi, [edx + 0x44]
call fcn.00464380
mov ecx, dword [0x7f8db0]
mov eax, dword [0x7ce150]
test ecx, ecx
jne 0x5ad90c
mov dword [edx + 0x64], eax
jmp 0x5ad914
lea edi, [edx + 0x64]
call fcn.00464380
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x68], ecx
mov ecx, dword [0x7f8db0]
test ecx, ecx
jne 0x5ad931
mov eax, dword [esp + 0x44]
mov dword [edx + 0x6c], eax
mov dword [edx + 0x60], edx
jmp 0x5ad947
lea edi, [edx + 0x6c]
mov eax, dword [esp + 0x44]
call fcn.00464380
lea edi, [edx + 0x60]
mov eax, edx
call fcn.00464380
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5ad9d9
mov ecx, dword [esp + 0x28]
lea ebx, [0x66ee38]
cmp ecx, ebx
jne 0x5ad967
mov ecx, dword [esp + 0x38]
jmp 0x5ad96c
mov ecx, 0
je 0x5ad974
mov ecx, dword [esp + 0x4c]
jmp 0x5ad9c9
mov dword [esp + 0x3c], ecx
mov eax, dword [0x7d29b0]
mov dword [esp], ecx
lea edx, [0x66edd8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00564990
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5ad9c5
movzx edx, byte [esp + 0x1f]
test dl, dl
je 0x5ad9c5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00564ba0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x58
ret
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edx
lea eax, [0x629783]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004dec80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x58
ret
lea eax, [0x5f96c0]
mov dword [esp], eax
call fcn.0040c1e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x621c40]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
lea ecx, [0x66e664]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x58
ret
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x5f12a0]
mov dword [esp + 8], eax
call fcn.004097e0
nop
call fcn.00462f70
jmp fcn.005ad760