Function at 0x417e76
Capabilities:
Reference sql statements

Disassembly:
push 0x70
mov eax, 0x46d82e
call fcn.0045f439
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 0x417ecc
push eax
call fcn.0043f2cf
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 0x417f15
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 0x417f88
push 0x828
call fcn.0043e537
pop ecx
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
cmp eax, edi
je 0x417f71
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x417f4c
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 0x417f73
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], eax
push 0x4737e4
lea eax, [ebp - 0x68]
push eax
call fcn.00443a0e
push edi
push dword [ebp - 0x38]
mov eax, ebx
call fcn.00413131
mov esi, eax
cmp esi, edi
je 0x417fe1
push 0x828
call fcn.0043e537
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
cmp eax, edi
je 0x417fce
push esi
push edi
push dword [ebp - 0x38]
push 0x40aaf8
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x417fd0
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], eax
push 0x4737e4
lea eax, [ebp - 0x70]
jmp 0x417f82
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
mov eax, ebx
call fcn.00413174
test eax, eax
jne 0x4181da
push 1
push dword [ebp - 0x34]
mov eax, ebx
call fcn.00413190
mov dword [ebp - 0x4c], eax
mov esi, 0x409384
cmp eax, edi
jne 0x418012
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 0x418028
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 0x41803e
mov dword [ebp - 0x54], esi
cmp dword [ebx], edi
jne 0x4180ba
mov dword [ebp - 0x58], edi
mov esi, SysReAllocString
cmp dword [ebx], edi
jne 0x41811e
mov dword [ebp - 0x40], edi
push 0x64
call fcn.0043e537
pop ecx
mov esi, eax
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 7
cmp esi, edi
je 0x41817d
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 0x41817f
push 6
push dword [ebp - 0x34]
call dword [ebx + 0x5c]
mov dword [ebp - 0x58], eax
mov esi, SysReAllocString
cmp eax, esi
jne 0x41804a
push 0x828
call fcn.0043e537
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
cmp eax, edi
je 0x418108
push esi
push 6
push dword [ebp - 0x34]
push 0x40bc38
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x41810a
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x60], eax
push 0x4737e4
lea eax, [ebp - 0x60]
jmp 0x417f82
push 8
push dword [ebp - 0x34]
call dword [ebx + 0x5c]
mov dword [ebp - 0x40], eax
cmp eax, esi
jne 0x418055
push 0x828
call fcn.0043e537
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 6
cmp eax, edi
je 0x418167
push esi
push 8
push dword [ebp - 0x34]
push 0x40bc38
push 0x654
push 0x19dc
push eax
call fcn.00411c0e
add esp, 0x1c
jmp 0x418169
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], eax
push 0x4737e4
lea eax, [ebp - 0x6c]
jmp 0x417f82
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 0x418199
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.00417e76
mov edi, dword [ebp - 0x44]
mov eax, dword [edi + 4]
mov eax, dword [eax]
push esi
push eax
call fcn.00418f92
push dword [ebp - 0x34]
mov eax, ebx
call fcn.00413052
xor edi, edi
jmp 0x417fe1
cmp dword [ebp - 0x38], edi
je 0x4181e9
push dword [ebp - 0x38]
mov eax, ebx
call fcn.00413052
cmp dword [ebp - 0x3c], edi
je 0x4181f8
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.0045f4a4
ret 0x20