Function at 0x431f01
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x28], eax
call fcn.00412664
xor ebx, ebx
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0x431f79
mov edx, dword [eax]
push dword [ebp + 0xc]
mov ecx, eax
call dword [edx + 0x20]
test al, al
je 0x431f79
mov ecx, dword [esi + 0x20]
push 3
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
push 0x50fd6c
call fcn.0040445f
pop ecx
pop ecx
mov ecx, dword [esi + 0x20]
push ebx
push 3
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004d2739
pop ecx
cmp eax, ebx
pop ecx
mov dword [esi + 0x24], eax
jne 0x431f82
mov ecx, dword [esi + 0x20]
push 3
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
push 0x50fd54
call fcn.00401466
pop ecx
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, esi
lea edi, [esi + 0xc]
call fcn.00425c83
push eax
mov ecx, edi
call fcn.00434a47
mov eax, dword [edi + 4]
push 0xc
sub eax, dword [edi]
pop ecx
mov dword [ebp + 0xc], ebx
cdq
idiv ecx
test eax, eax
jle 0x43201d
mov dword [ebp - 4], ebx
mov ebx, dword [edi]
mov ecx, esi
call fcn.00425c94
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + ebx]
call fcn.00434a8c
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
push 0xc
and dword [ebp - 0xc], 0
lea ebx, [eax + ecx]
pop ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cdq
idiv ecx
test eax, eax
jle 0x432006
and dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
add ecx, dword [ebx]
call fcn.0048d661
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
push 0xc
inc dword [ebp - 0xc]
lea ebx, [eax + ecx]
pop ecx
add dword [ebp - 8], 0xc
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cdq
idiv ecx
cmp dword [ebp - 0xc], eax
jl 0x431fdd
mov eax, dword [edi + 4]
push 0xc
sub eax, dword [edi]
pop ecx
inc dword [ebp + 0xc]
add dword [ebp - 4], 0xc
cdq
idiv ecx
cmp dword [ebp + 0xc], eax
jl 0x431fa9
push 1
call fcn.00434b85
test eax, eax
pop ecx
mov dword [esi + 0x18], eax
jne 0x43203d
push 0x58
push 0x50fd18
push 0x50fd0c
jmp 0x432144
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
push 0x50fc7c
lea eax, [ebp - 0x40c]
push 0x50fcec
push eax
call fcn.004bafeb
mov eax, dword [esi + 0x18]
push dword [esi + 0x28]
mov edi, dword [eax]
call fcn.00404bcb
add esp, 0x14
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [esi + 0x18]
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [edi + 4]
test al, al
je 0x431f79
push 1
call fcn.00434bad
test eax, eax
pop ecx
mov dword [esi + 0x1c], eax
jne 0x4320a9
push 0x5f
push 0x50fd18
push 0x50fcdc
jmp 0x432144
mov ecx, dword [esi + 0x18]
and dword [ebp + 0xc], 0
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x43215b
mov ecx, dword [esi + 0x18]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
test edi, edi
je 0x43211b
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 2
jne 0x43211b
call fcn.00434e87
mov ebx, eax
test ebx, ebx
je 0x432138
push dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.0048d401
test al, al
jne 0x43212d
push 0x67
push 0x50fd18
push 0x50fcb8
push 0x509ec4
push 0x508530
call fcn.00401466
add esp, 0x14
mov ecx, ebx
call fcn.00434eb9
mov ecx, dword [esi + 0x18]
inc dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jl 0x4320bd
jmp 0x43215b
mov ecx, dword [esi + 0x1c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x43211b
push 0x66
push 0x50fd18
push 0x50fcac
push 0x50a2f0
push 0x508530
call fcn.00401466
add esp, 0x14
jmp 0x431f79
mov ecx, dword [esi + 0x20]
push 0x15
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
mov dword [esi + 8], eax
jne 0x432170
or dword [esi + 8], 0xffffffff
mov al, 1
jmp 0x431f7b