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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x6614f8
sub esp, 0xa4
lea eax, [0x6d4e60]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00405070
mov eax, dword [esp + 0xa8]
test byte [eax], al
mov ecx, dword [0x93f150]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x660f28
call fcn.00471840
mov dword [edi], edx
mov ecx, dword [eax + 0x4c]
mov dword [edi + 4], ecx
mov dword [eax + 0x4c], edx
lea ecx, [0x6e54a0]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
lea ecx, [0x661560]
mov dword [eax], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x660f58
mov ecx, dword [esp + 0xa8]
jmp 0x660f66
call fcn.00471830
mov ecx, dword [esp + 0xa8]
mov dword [edi], ecx
mov dword [esp + 0x40], eax
mov dword [eax + 4], ecx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x30], ebx
lea ebp, [0x6ec600]
mov dword [esp], ebp
call fcn.0040bb90
mov eax, dword [esp + 4]
lea ecx, [0x661510]
mov dword [eax], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x660fa9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
jmp 0x660fbb
call fcn.00471840
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp], eax
call fcn.00442120
mov dword [esp], 0xbebc200
mov dword [esp + 4], 0
call fcn.004adc60
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0xa0], 0
mov ebx, dword [eax]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], edx
lea edx, [esp + 0x94]
mov dword [esp + 0x88], edx
mov dword [esp + 0x7c], ebx
lea edx, [esp + 0x7c]
mov dword [esp], edx
lea edx, [esp + 0x24]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00449a50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x661403
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 4]
movzx edx, byte [esp + 0xa0]
nop
test cl, cl
je 0x6614df
mov byte [esp + 0x23], dl
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x3c], ebx
mov dword [esp], eax
call fcn.0046ecd0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x661129
mov ecx, dword [esp + 0x30]
cmp dword [0x913598], ecx
je 0x6610fe
xor edx, edx
jmp 0x66112f
mov eax, dword [0x91359c]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404430
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x2c]
jmp 0x66112f
mov ecx, dword [esp + 0x30]
xor edx, edx
test dl, dl
je 0x66116f
mov eax, dword [esp + 0xa8]
mov dword [eax + 8], 0
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x661155
mov ecx, dword [eax + 0xc]
call fcn.00471830
mov dword [edi], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
jmp 0x6614d8
cmp eax, 1
jne 0x66139d
test ecx, ecx
je 0x6612ae
lea eax, [0x6ed2a0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x78ab90]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x6f0320]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00409d70
mov eax, dword [esp + 8]
lea ecx, [0x78aba0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x6e47e0]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], eax
call fcn.0044cf30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x6e64e0]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x661280
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
jmp 0x66129b
call fcn.00471850
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x78aa90]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x6614d8
lea eax, [0x6ed2a0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x78ab90]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
lea ecx, [0x6e47e0]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], ecx
call fcn.0044cf30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x6e64e0]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x66136f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
jmp 0x66138a
call fcn.00471850
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x78aa90]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x6614d8
test ecx, ecx
je 0x6614d8
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
lea eax, [0x6f0320]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00409d70
mov eax, dword [esp + 8]
lea ecx, [0x78aba0]
mov edx, dword [esp + 0xa8]
mov dword [edx + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x6613fb
call fcn.00471840
mov dword [edi], eax
mov ecx, dword [edx + 0xc]
mov dword [edi + 4], ecx
mov dword [edx + 0xc], eax
jmp 0x6614d8
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x78abb0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
lea ecx, [0x6e47e0]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], ecx
call fcn.0044cf30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x6e64e0]
mov dword [esp], ecx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x6614ab
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
jmp 0x6614c6
call fcn.00471850
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x78aa90]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov byte [edx + 0x48], 1
add esp, 0xa4
ret
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x789e50]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.00660ed0