Function at 0x4189b5
Capabilities:
Reference sql statements

Disassembly:
push 0x38
mov eax, 0x46e81f
call fcn.0045f3c3
mov esi, dword [ebp + 8]
push 0x40bf68
mov ecx, dword [0x481200]
call fcn.0042d4e5
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
lea edi, [esi + 0xcc]
cmp dword [edi], ebx
jne 0x4189eb
mov dword [ebp - 0x24], ebx
jmp 0x4189f3
push 1
call dword [edi + 0x60]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
lea ebx, [esi + 0xbc]
cmp dword [ebx], 0
jne 0x418ab9
cmp dword [esi + 0xb8], 8
jb 0x418a1c
mov eax, dword [esi + 0xa4]
jmp 0x418a22
lea eax, [esi + 0xa4]
cmp dword [edi], 0
jne 0x418a30
mov dword [ebp - 0x28], 0x641
jmp 0x418a3c
push ebx
push eax
call dword [edi + 0x28]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x418ab9
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x418aa2
cmp dword [esi + 0xb8], 8
jb 0x418a63
mov eax, dword [esi + 0xa4]
jmp 0x418a69
lea eax, [esi + 0xa4]
cmp dword [esi + 0xb8], 8
jb 0x418a7a
mov esi, dword [esi + 0xa4]
jmp 0x418a80
add esi, 0xa4
push dword [ebp - 0x28]
push ebx
push eax
push 0x40ac40
push 0x653
push esi
push 0x125a
push dword [ebp + 0xc]
call fcn.00411c9c
add esp, 0x20
jmp 0x418aa4
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], eax
push 0x4737e4
lea eax, [ebp - 0x2c]
push eax
call fcn.004610c9
push dword [ebx]
mov eax, edi
call fcn.004610c9
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x418b11
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x418afe
push dword [ebp - 0x20]
push dword [ebx]
push 0x40a9f8
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x18
jmp 0x418b00
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], eax
push 0x4737e4
lea eax, [ebp - 0x30]
jmp 0x418ab3
lea eax, [ebp - 0x18]
push eax
mov esi, 0x40bfd0
push esi
push dword [ebp - 0x20]
mov eax, edi
call fcn.004610c9
mov ebx, eax
test ebx, ebx
je 0x418b7a
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x418b64
push ebx
lea ecx, [ebp - 0x18]
push ecx
push esi
push dword [ebp - 0x20]
push 0x40aa48
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x20
jmp 0x418b66
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], eax
push 0x4737e4
lea eax, [ebp - 0x34]
jmp 0x418ab3
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, edi
call fcn.004610c9
mov esi, eax
test esi, esi
je 0x418bda
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x418bc4
push esi
push 0x408a30
push 1
push ebx
push 0x40aaa0
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x20
jmp 0x418bc6
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x38], eax
push 0x4737e4
lea eax, [ebp - 0x38]
jmp 0x418ab3
push ebx
push dword [ebp - 0x18]
mov eax, edi
call fcn.004610c9
mov esi, eax
test esi, esi
je 0x418c36
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x418c20
push esi
push ebx
push dword [ebp - 0x18]
push 0x40aaf8
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x418c22
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], eax
push 0x4737e4
lea eax, [ebp - 0x3c]
jmp 0x418ab3
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov eax, edi
call fcn.004610c9
mov esi, eax
test esi, esi
je 0x418c97
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x418c81
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 0x40b8f8
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x418c83
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x40], eax
push 0x4737e4
lea eax, [ebp - 0x40]
jmp 0x418ab3
push 1
push dword [ebp - 0x1c]
mov eax, edi
call fcn.004610c9
mov esi, eax
test esi, esi
je 0x418d0e
push esi
mov ecx, dword [ebp + 0xc]
call fcn.004610c9
push esi
push 0x40c048
mov esi, dword [0x481200]
call fcn.004610c9
pop ecx
pop ecx
push ebx
mov eax, edi
call fcn.004610c9
push dword [ebp - 0x1c]
mov eax, edi
call fcn.004610c9
push dword [ebp - 0x18]
mov eax, edi
call fcn.004610c9
push dword [ebp - 0x20]
mov eax, edi
call fcn.004610c9
mov byte [ebp - 0x11], 1
or dword [ebp - 4], 0xffffffff
push 0x40c108
mov ecx, dword [0x481200]
call fcn.0042d4e5
mov al, byte [ebp - 0x11]
call fcn.0045f477
ret 8
push 0x828
call fcn.004610c9
pop ecx
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x418d43
push 1
push dword [ebp - 0x1c]
push 0x40c0b0
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x18
jmp 0x418d45
xor eax, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], eax
push 0x4737e4
lea eax, [ebp - 0x44]
jmp 0x418ab3