Function at 0x6652d0
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 0x6656d5
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
setne cl
xor ecx, 1
mov byte [eax + 0xe0], cl
mov ecx, dword [0x91325c]
mov dword [esp], ecx
call fcn.0049c7f0
cmp dword [esp + 8], 1
jne 0x66532f
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x66532f
mov eax, dword [0x91325c]
mov dword [esp], eax
call fcn.0049c620
add esp, 0x54
ret
mov eax, dword [esp + 0x58]
lea ecx, [eax + 0x30]
mov dword [esp], ecx
call fcn.00475e20
lea eax, [0x6de080]
cmp dword [esp + 4], eax
jne 0x665350
mov ecx, dword [esp + 8]
jmp 0x665352
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x71b644]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 5
call fcn.0040e140
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x66537d
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x6653b6
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6653ae
movzx ecx, byte [eax + 0xf]
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x6653a8
or ecx, 0x80
mov edx, dword [esp + 0x30]
jmp 0x6653bc
xor ecx, ecx
xor eax, eax
xor edx, edx
jmp 0x6653bc
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x665418
test ecx, 0x200
jne 0x6653dc
lea ebx, [0x78cbe4]
jmp 0x6653f8
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00491440
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x54]
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 0x19
sete al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x20]
jmp 0x66541a
xor ebx, ebx
test bl, bl
je 0x66546e
test ecx, ecx
je 0x665432
test ecx, 0x200
jne 0x665432
lea ebx, [0x78cbe4]
jmp 0x66544e
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00491440
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, ecx
mov ecx, dword [ebx + 0x68]
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 1
sete al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x20]
jmp 0x665470
xor ebx, ebx
test bl, bl
je 0x66551c
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.0048fc30
mov eax, dword [esp + 0x18]
test eax, eax
je 0x66569a
test eax, 0x60
jne 0x66551c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.00495890
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x6654ea
mov dword [esp + 0x28], ecx
lea ecx, [0x914208]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x66551c
mov edx, dword [esp + 0x58]
mov dword [edx + 0xd8], eax
mov eax, dword [0x93f150]
test eax, eax
je 0x665512
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [edx + 0xdc]
mov dword [edi + 4], eax
mov dword [edx + 0xdc], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
jne 0x665696
movzx ecx, byte [eax + 0xe1]
test cl, cl
jne 0x665560
mov ecx, dword [eax + 0x7c]
test ecx, ecx
jne 0x66555c
mov ecx, dword [eax + 0x70]
test ecx, ecx
jne 0x66555c
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x66555c
mov ecx, dword [eax + 0x78]
test ecx, ecx
jne 0x66555c
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x665560
add esp, 0x54
ret
movzx ecx, byte [0x93ed28]
test cl, cl
jne 0x665692
mov dword [esp], eax
call fcn.0064b190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x66560d
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
je 0x66559c
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00471aca
lea ecx, [0x6656e0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], 0x2b
lea ecx, [0x72c960]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x91ec28]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], ecx
call fcn.00525ee0
add esp, 0x54
ret
mov eax, dword [esp + 4]
lea ecx, [0x78ad20]
mov edx, dword [esp + 0x58]
mov dword [edx + 0xd8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x66563b
call fcn.00471840
mov dword [edi], eax
mov ecx, dword [edx + 0xdc]
mov dword [edi + 4], ecx
mov dword [edx + 0xdc], eax
mov ecx, dword [edx + 0xbc]
mov edx, dword [edx + 0xc0]
test edx, edx
setne bl
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
je 0x66568e
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x66568e
test edx, edx
sete dl
setg bl
cmp ecx, 0xffffffff
xchg ebp, ebx
sete bl
xchg ebp, ebx
and edx, ebp
or ebx, edx
test bl, bl
je 0x66568b
mov dword [eax + 0x18], 0xffffffff
jmp 0x66568e
mov dword [eax + 0x18], ecx
add esp, 0x54
ret
add esp, 0x54
ret
add esp, 0x54
ret
lea eax, [0x6ed9c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x724606]
mov dword [eax], ecx
mov dword [eax + 8], 0
lea ecx, [0x6e2140]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.006652d0