Function at 0x47d818
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4e4e97
call fcn.004baf44
sub esp, 0x828
push ebx
push esi
push edi
mov edi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047b4f3
pop ecx
test eax, eax
pop ecx
jne 0x47d864
push 0x5c3
push 0x518a34
push 0x519044
push 0x50a2f0
push 0x508530
call fcn.00401466
add esp, 0x14
jmp 0x47d950
push dword [ebp + 8]
mov ecx, edi
call fcn.0047b4a9
test eax, eax
jne 0x47d950
mov ecx, dword [edi + 0x44]
push dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ecx]
mov dword [ebp - 0x10], ebx
call dword [eax + 4]
push eax
lea eax, [ebp - 0x834]
push 0x519010
push eax
call fcn.004bafeb
push dword [edi + 0x40]
call fcn.00404bcb
add esp, 0x14
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x834]
push 1
push ecx
mov ecx, eax
call dword [edx + 4]
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x47d8d7
lea ecx, [ebp - 0x14]
call fcn.00496523
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x4c]
mov dword [ebp - 0x10], eax
call fcn.0047e4b6
mov esi, eax
cmp esi, ebx
jne 0x47d8f8
push 0x5d5
push 0x518a34
push 0x511db4
push 0x50a2f0
jmp 0x47d933
push dword [edi + 0x40]
call fcn.00404bcb
pop ecx
mov ecx, eax
add eax, 4
push dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax]
push eax
mov ecx, esi
call fcn.0047ab54
test al, al
jne 0x47d957
push 0x5d6
push 0x518a34
push 0x518fd4
push 0x50a714
push 0x508530
call fcn.00401466
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add esp, 0x14
cmp ecx, ebx
je 0x47d950
mov eax, dword [ecx]
call dword [eax + 8]
xor eax, eax
jmp 0x47da84
mov ecx, dword [edi + 0x44]
mov ebx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 1
mov ecx, esi
call dword [ebx + 0x14]
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 0x14]
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 0x14]
mov eax, dword [esi]
xor ebx, ebx
push ebx
push 4
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi]
push ebx
push 5
mov ecx, esi
call dword [eax + 0x14]
cmp dword [ebp - 0x10], ebx
mov eax, dword [esi]
je 0x47d9a5
mov ecx, esi
call dword [eax + 0x28]
jmp 0x47d9dc
push ebx
push 6
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x47d9dc
push 0x5e6
push 0x518a34
push 0x518fcc
push 0x508548
push 0x508530
call fcn.00401466
add esp, 0x14
mov ecx, esi
call fcn.0047ac63
lea ecx, [ebp - 0x434]
call fcn.0049212e
mov eax, dword [esi]
push 4
mov ecx, esi
mov byte [ebp - 4], 1
call dword [eax + 0xc]
push eax
mov eax, dword [esi]
push 3
mov ecx, esi
call dword [eax + 0xc]
push eax
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0xc]
push eax
lea ecx, [ebp - 0x434]
call fcn.004921b8
test eax, eax
jne 0x47da42
push 0x5ee
push 0x518a34
push 0x518b70
push 0x509ec4
push 0x508530
call fcn.00401466
add esp, 0x14
jmp 0x47da58
mov eax, dword [edi + 0x44]
lea edx, [ebp - 0x434]
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 0x148]
mov edi, dword [edi + 4]
push esi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x14]
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00492189
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
je 0x47da81
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8