Function at 0x418b80
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 0x419142
sub esp, 0x4c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x41906b
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x41906b
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x41906b
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418c01
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418c01
mov dword [eax + 8], 0xfffffade
jmp 0x418c01
inc dword [0x14394fc]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.00418a60
movzx eax, byte [esp + 0x10]
test al, al
jne 0x41905a
xor eax, eax
test al, al
jne 0x418bfb
nop
lea eax, [0x143a140]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043f0b0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
call fcn.00418a60
movzx eax, byte [esp + 0x10]
test al, al
je 0x41903a
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0x143a154], al
mov eax, dword [0x144e0bc]
cmp eax, 1
jne 0x419024
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0xb721f4]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043f0b0
movzx eax, byte [0x14457a8]
test al, al
jne 0x418fb3
mov eax, dword [0x1439010]
mov dword [esp + 0x40], eax
mov ecx, dword [0x1439014]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x418d0e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x418d43
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402470
mov eax, dword [esp + 4]
mov ecx, dword [0x143f34c]
cmp eax, ecx
je 0x418cff
jmp 0x41908d
call fcn.0041a2f0
lea eax, [0xd82ef8]
mov dword [esp], eax
call fcn.004566d0
mov eax, dword [0x144da00]
mov dword [0x143a180], eax
mov dword [0x143a184], eax
mov ecx, dword [0x144da08]
cmp eax, ecx
jle 0x418d78
mov dword [0x143a180], ecx
lea eax, [0x1451520]
mov dword [esp], eax
call fcn.00402670
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x143a1b8], eax
mov dword [0x143a1bc], ecx
mov dword [0x143a1a8], 0
mov dword [0x143a1ac], 0
mov eax, dword [esp + 0x14]
mov dword [0x143a150], eax
call fcn.00458fd0
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [0x143a188], ecx
mov dword [0x143a18c], eax
mov dword [0x143a1b0], ecx
mov dword [0x143a1b4], eax
movzx eax, byte [0x14457a8]
test al, al
jne 0x418f64
lea eax, [0xd82fd8]
mov dword [esp], eax
call fcn.004566d0
lea eax, [0xd82efc]
mov dword [esp], eax
call fcn.004566d0
call fcn.0041b1f0
inc dword [0x143a17c]
lea eax, [0x144e400]
mov dword [esp], eax
call fcn.00417280
mov eax, dword [0x144ff8c]
mov ecx, dword [0x144ff88]
mov dword [0x143a1d0], ecx
mov dword [0x143a1d4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418f56
nop
lea eax, [0x144d9fc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402650
mov eax, dword [0x144d9fc]
cmp eax, 1
jne 0x418f4b
mov eax, 1
mov byte [0x144ddb4], al
test al, al
je 0x418f3f
mov eax, 1
mov byte [0x144ddb0], al
nop
mov dword [0x143a118], 0xffffffff
mov dword [0x143a124], 0xffffffff
call fcn.0041c2e0
call fcn.0041f8a0
lea eax, [0x144d9f0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402650
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0x144e430], ecx
mov dword [0x144e434], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x4536f0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.004566d0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418f2e
lea eax, [0x143a140]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f3c0
add esp, 0x4c
ret
nop
lea eax, [0xd82f0c]
mov dword [esp], eax
call fcn.00456670
jmp 0x418f0f
movzx eax, byte [0x144ddb5]
jmp 0x418e8a
cmp eax, 2
sete al
jmp 0x418e77
mov byte [esp], 0
call fcn.0043a380
jmp 0x418e4c
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044aab0
jmp 0x418df3
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x14457dc]
mov ecx, dword [0x14457d8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044aab0
mov eax, dword [0x14457d8]
add eax, 1
mov ecx, dword [0x14457dc]
mov dword [0x14457d8], eax
adc ecx, 0
mov dword [0x14457dc], ecx
jmp 0x418ce7
cmp eax, 2
jne 0x419033
mov eax, 2
jmp 0x418cb1
xor eax, eax
jmp 0x418cb1
nop
lea eax, [0x143a140]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043f3c0
add esp, 0x4c
ret
call fcn.00420ba0
cmp dword [esp], 0xffffffff
setne al
jmp 0x418c34
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x419089
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x419089
mov dword [eax + 8], 0xfffffade
add esp, 0x4c
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.0042f560
lea eax, [0xd474a9]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042fe00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042fc40
lea eax, [0xd45a79]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042fe00
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fb10
lea eax, [0xd48689]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042fe00
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fb10
call fcn.0042f780
call fcn.0042f5d0
lea eax, [0xd512e9]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042e730
nop
call fcn.004567f0
jmp fcn.00418b80