Function at 0x42cc87
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4e063c
call fcn.004baf44
sub esp, 0x440
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov eax, dword [edi + 0x7d4]
mov dword [ebp - 0x1c], eax
push eax
push 0x4eb530
lea eax, [ebp - 0x44c]
push 0x50f6a4
push eax
call fcn.004bafeb
push dword [edi + 0x960]
call fcn.00404bcb
add esp, 0x14
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x44c]
push 1
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x42cdbe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
ja 0x42cd2e
mov eax, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
call dword [eax + 8]
jmp 0x42cdbe
mov eax, dword [esi]
push 0x50f69c
mov ecx, esi
call dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
push 0x50f690
mov ecx, esi
call dword [eax + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ebx, 0x50f688
mov ecx, esi
push ebx
call dword [eax + 0x34]
push 0
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0042d6a3
add esp, 0x10
cmp eax, dword [ebp - 0x20]
je 0x42ce04
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0042d758
cmp eax, dword [ebp - 0x20]
pop ecx
pop ecx
je 0x42cde2
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 2
call dword [eax + 8]
push 0x295f
push 0x50d0b8
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
push 0x4eb530
push 0x50f738
call fcn.00401466
add esp, 0x18
xor al, al
jmp 0x42cfc3
push 0x2964
push 0x50d0b8
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x4eb530
push 0x50f6f4
call fcn.00401394
add esp, 0x18
call fcn.004b2048
push 1
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x1c]
call fcn.0042d6a3
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov ecx, esi
push 1
push 0x50f6ec
call dword [eax + 0x38]
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0x50f690
call dword [eax + 0x38]
push dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x38]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 4
call dword [eax + 8]
jmp 0x42ce7f
mov dword [ebp - 0x14], 0x10e
lea eax, [ebp - 0x21]
mov esi, 0x509608
push eax
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 6
call fcn.00403ed8
lea eax, [ebp - 0x34]
push 0x50f6e4
push eax
mov byte [ebp - 4], 7
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
call fcn.004bcee0
pop ecx
test eax, eax
pop ecx
je 0x42cf66
lea eax, [ebp - 0x23]
lea ecx, [ebp - 0x40]
push eax
push esi
mov byte [ebp - 4], 8
call fcn.00403ed8
lea eax, [ebp - 0x40]
push 0x50f6dc
push eax
mov byte [ebp - 4], 9
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
call fcn.004bcee0
mov ebx, eax
pop ecx
neg ebx
sbb bl, bl
pop ecx
inc bl
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x40]
call fcn.00407799
test bl, bl
jne 0x42cf66
lea eax, [ebp - 0x22]
lea ecx, [ebp - 0x4c]
push eax
push esi
mov byte [ebp - 4], 0xb
call fcn.00403ed8
lea eax, [ebp - 0x4c]
push 0x50f6d4
push eax
mov byte [ebp - 4], 0xc
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
call fcn.004bcee0
mov ebx, eax
pop ecx
neg ebx
sbb bl, bl
pop ecx
inc bl
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00403d38
test bl, bl
je 0x42cf68
mov bl, 1
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
sub eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0
je 0x42cf83
push eax
push dword [ebp - 0x34]
call fcn.0040c5f0
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
test bl, bl
je 0x42cf92
mov dword [ebp - 0x14], 0x1ae
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 8]
cdq
lea ecx, [edi + 8]
push 0
push 1
push edx
push eax
push 0x1d
call dword [esi + 0x104]
push dword [ebp - 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
mov ecx, edi
push dword [ebp - 0x18]
push 6
call fcn.0042ca90
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret