Function at 0x417ea9
Capabilities:
Reference sql statements

Disassembly:
push 0x70
mov eax, 0x46dcb8
call fcn.0045f50f
mov esi, ecx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 1
lea ebx, [esi + 0xcc]
push 0x40bab4
push dword [esi + 0xbc]
mov eax, ebx
call fcn.00412fa8
cmp eax, edi
je 0x417eff
push eax
call fcn.0043f32a
pop ecx
mov dword [ebp - 0x5c], eax
push dword [esi + 0xbc]
mov eax, ebx
call fcn.004130fc
mov dword [ebp - 0x3c], eax
push 0x40bad0
lea ecx, [ebp - 0x30]
call fcn.004132cd
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00413b7f
push 0x40bb50
lea ecx, [ebp - 0x30]
call fcn.00413343
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x417f48
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp - 0x3c]
mov eax, ebx
call fcn.00413115
mov esi, eax
cmp esi, edi
je 0x417fbb
push 0x828
call fcn.0043e592
pop ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
cmp eax, edi
je 0x417fa4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x417f7f
lea eax, [ebp - 0x2c]
push esi
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp - 0x3c]
push 0x40aa48
push 0x654
push 0x19dc
push dword [ebp - 0x40]
call fcn.00411c0e
add esp, 0x20
jmp 0x417fa6
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], eax
push 0x473bd4
lea eax, [ebp - 0x68]
push eax
call fcn.00443a5e
push edi
push dword [ebp - 0x38]
mov eax, ebx
call fcn.00413131
mov esi, eax
cmp esi, edi
je 0x418014
push 0x828
call fcn.0043e592
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
cmp eax, edi
je 0x418001
push esi
push edi
push dword [ebp - 0x38]
push 0x40aaf8
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x418003
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], eax
push 0x473bd4
lea eax, [ebp - 0x70]
jmp 0x417fb5
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
mov eax, ebx
call fcn.00413174
test eax, eax
jne 0x41820d
push 1
push dword [ebp - 0x34]
mov eax, ebx
call fcn.00413190
mov dword [ebp - 0x4c], eax
mov esi, 0x409384
cmp eax, edi
jne 0x418045
mov dword [ebp - 0x4c], esi
push 3
push dword [ebp - 0x34]
mov eax, ebx
call fcn.00413190
mov dword [ebp - 0x50], eax
cmp eax, edi
jne 0x41805b
mov dword [ebp - 0x50], esi
push 4
push dword [ebp - 0x34]
mov eax, ebx
call fcn.00413190
mov dword [ebp - 0x54], eax
cmp eax, edi
jne 0x418071
mov dword [ebp - 0x54], esi
cmp dword [ebx], edi
jne 0x4180ed
mov dword [ebp - 0x58], edi
mov esi, SysReAllocString
cmp dword [ebx], edi
jne 0x418151
mov dword [ebp - 0x40], edi
push 0x64
call fcn.0043e592
pop ecx
mov esi, eax
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 7
cmp esi, edi
je 0x4181b0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push dword [ebp - 0x54]
call fcn.004132cd
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push dword [ebp - 0x50]
call fcn.004132cd
mov byte [ebp - 4], 9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push dword [ebp - 0x4c]
call fcn.004132cd
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 7
call fcn.00415238
mov esi, eax
jmp 0x4181b2
push 6
push dword [ebp - 0x34]
call dword [ebx + 0x5c]
mov dword [ebp - 0x58], eax
mov esi, SysReAllocString
cmp eax, esi
jne 0x41807d
push 0x828
call fcn.0043e592
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
cmp eax, edi
je 0x41813b
push esi
push 6
push dword [ebp - 0x34]
push 0x40bc38
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x41813d
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], eax
push 0x473bd4
lea eax, [ebp - 0x60]
jmp 0x417fb5
push 8
push dword [ebp - 0x34]
call dword [ebx + 0x5c]
mov dword [ebp - 0x40], eax
cmp eax, esi
jne 0x418088
push 0x828
call fcn.0043e592
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x41819a
push esi
push 8
push dword [ebp - 0x34]
push 0x40bc38
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x41819c
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], eax
push 0x473bd4
lea eax, [ebp - 0x6c]
jmp 0x417fb5
xor esi, esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x58], eax
setle al
mov byte [esi + 0x60], al
test byte [ebp - 0x40], 0x10
je 0x4181cc
mov byte [esi + 0x61], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push dword [ebp - 0x4c]
call fcn.004132cd
mov byte [ebp - 4], 0xb
push esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.00417ea9
mov edi, dword [ebp - 0x44]
mov eax, dword [edi + 4]
mov eax, dword [eax]
push esi
push eax
call fcn.00418fe3
push dword [ebp - 0x34]
mov eax, ebx
call fcn.00413052
xor edi, edi
jmp 0x418014
cmp dword [ebp - 0x38], edi
je 0x41821c
push dword [ebp - 0x38]
mov eax, ebx
call fcn.00413052
cmp dword [ebp - 0x3c], edi
je 0x41822b
push dword [ebp - 0x3c]
mov eax, ebx
call fcn.00413052
mov byte [ebp - 4], 1
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.00411dad
call fcn.0045f57a
ret 0x20