Function at 0x42f040
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x298]
cmp eax, dword [ecx + 8]
jbe 0x42f47a
sub esp, 0x318
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x31c]
cmp dword [eax + 0x18], ecx
je 0x42f463
test byte [ecx], al
lea eax, [ecx + 0x1d8]
mov dword [esp + 0x314], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00401e60
movzx eax, byte [esp + 0xc]
test al, al
je 0x42f3e5
mov eax, dword [esp + 0x31c]
lea ecx, [eax + 0x1c4]
mov dword [esp + 0x30c], ecx
nop
mov dword [esp], ecx
call fcn.00408ef0
mov eax, dword [esp + 0x31c]
mov ecx, dword [eax + 0x1c8]
test ecx, ecx
jne 0x42f12d
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.004090f0
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402020
mov eax, dword [esp + 0x31c]
add eax, 0x1bc
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401f60
add esp, 0x318
ret
mov dword [esp + 0x24], 0
mov ecx, dword [0x58a0a0]
mov edx, dword [eax + 0x1c8]
lea ebx, [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 2
call fcn.0042edd0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42f408
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.004090f0
mov dword [esp + 0x2d], 0
lea edi, [esp + 0x30]
mov ecx, 0xb6
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
and eax, 0xfffffff0
mov dword [esp + 0x310], eax
mov dword [eax], 0x10001
nop
nop
lea ecx, [0x7e82a4]
mov dword [esp], ecx
call fcn.00408ef0
mov eax, dword [esp + 0x24]
mov ecx, dword [0x58a040]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042ebf0
cmp dword [esp + 8], 0xffffffff
je 0x42f385
mov eax, dword [esp + 0x24]
mov ecx, dword [0x58a074]
mov edx, dword [esp + 0x310]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0042ec40
nop
nop
lea eax, [0x7e82a4]
mov dword [esp], eax
call fcn.004090f0
mov eax, dword [esp + 0x310]
mov ecx, dword [eax + 0xc4]
mov edx, dword [esp + 0x31c]
mov ebx, dword [edx]
test ebx, ebx
je 0x42f248
cmp dword [ebx], ecx
jae 0x42f248
cmp dword [ebx + 4], ecx
ja 0x42f26a
mov ebx, dword [edx + 0x2c]
test ebx, ebx
je 0x42f258
cmp dword [ebx], ecx
jae 0x42f258
cmp dword [ebx + 4], ecx
ja 0x42f26a
mov ebx, dword [edx + 0x4c]
test ebx, ebx
je 0x42f268
cmp dword [ebx], ecx
jae 0x42f268
cmp dword [ebx + 4], ecx
ja 0x42f26a
xor ebx, ebx
test ebx, ebx
jne 0x42f272
xor ecx, ecx
jmp 0x42f29d
mov dword [esp + 0x308], ebx
mov dword [esp], ebx
call fcn.004331f0
movzx eax, byte [esp + 4]
mov edx, dword [esp + 0x31c]
mov ebx, dword [esp + 0x308]
mov ecx, eax
mov eax, dword [esp + 0x310]
test cl, cl
je 0x42f31f
mov ecx, dword [eax + 0xb8]
mov edx, dword [eax + 0xc4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.00433260
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
test al, al
je 0x42f31f
mov eax, dword [esp + 0x310]
mov edx, dword [eax + 0xc4]
add edx, 0xfffffffc
mov ebx, edx
lea ebp, [0x4f1e60]
test byte [ebp], al
nop
nop
mov ebp, dword [0x4f1e60]
mov dword [edx], ecx
nop
mov dword [eax + 0xc4], ebx
nop
mov dword [eax + 0xb8], ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [0x58a070]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0042ec40
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402020
mov eax, dword [esp + 0x31c]
add eax, 0x1bc
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401f60
mov eax, dword [esp + 0x24]
mov ecx, dword [0x58a060]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042ebf0
mov eax, dword [esp + 0x24]
mov ecx, dword [0x58a0b8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042ebf0
add esp, 0x318
ret
nop
nop
lea eax, [0x7e82a4]
mov dword [esp], eax
call fcn.004090f0
mov eax, dword [esp + 0x24]
mov ecx, dword [0x58a0b8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042ebf0
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402020
mov eax, dword [esp + 0x31c]
add eax, 0x1bc
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401f60
add esp, 0x318
ret
mov eax, dword [esp + 0x31c]
add eax, 0x1bc
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401f60
add esp, 0x318
ret
call fcn.0045ac70
mov eax, dword [esp]
mov dword [esp + 0x28], eax
call fcn.00433670
lea eax, [0x4f046e]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.00433f50
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00433bf0
call fcn.00433890
call fcn.004336e0
lea eax, [0x4ef3d6]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00432150
lea eax, [0x4e7e50]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00432150
nop
call fcn.00458b70
jmp fcn.0042f040