Function at 0x4398a5
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push edi
lea eax, [ebp - 0x404]
push dword [0x5218ec]
mov edi, ecx
push 0x5108a8
push eax
call fcn.004bafeb
push dword [edi + 4]
call fcn.00404bcb
add esp, 0x10
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x404]
push 0
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x439a65
mov eax, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
jle 0x439967
call fcn.00439fab
mov ebx, eax
test ebx, ebx
je 0x4399e6
push 0
push esi
push dword [edi + 4]
mov ecx, ebx
call fcn.00456ca3
test al, al
jne 0x43992f
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax]
jmp 0x439951
push dword [edi + 4]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0040c615
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [eax]
add ebx, 8
push ebx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
mov eax, dword [esi]
inc dword [ebp - 4]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [ebp - 4], eax
jl 0x439905
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [0x5218ec]
lea eax, [ebp - 0x404]
push 0x510868
push eax
call fcn.004bafeb
push dword [edi + 4]
call fcn.00404bcb
add esp, 0x10
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x404]
push 0
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x439a65
mov eax, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
jle 0x439a25
call fcn.00439fab
mov ebx, eax
test ebx, ebx
je 0x4399e6
push 1
push esi
push dword [edi + 4]
mov ecx, ebx
call fcn.00456ca3
test al, al
jne 0x4399ed
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax]
jmp 0x439a0f
xor bl, bl
jmp 0x439ac3
push dword [edi + 4]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0040c615
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [eax]
add ebx, 8
push ebx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
mov eax, dword [esi]
inc dword [ebp - 4]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [ebp - 4], eax
jl 0x4399c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea eax, [ebp - 0x404]
push 0x510850
push eax
call fcn.004bafeb
push dword [edi + 4]
call fcn.00404bcb
add esp, 0xc
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
lea ecx, [ebp - 0x404]
push 0
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
jne 0x439a69
xor al, al
jmp 0x439acc
mov eax, dword [esi]
and dword [ebp - 4], 0
mov ecx, esi
call dword [eax + 0x68]
test eax, eax
jle 0x439ac1
push esi
push dword [edi + 4]
call fcn.004798e4
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x439aab
push dword [edi + 4]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.0040c615
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [eax]
add ebx, 8
push ebx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [esi]
inc dword [ebp - 4]
mov ecx, esi
call dword [eax + 0x6c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [ebp - 4], eax
jl 0x439a78
mov bl, 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret