Function at 0x487bfc
Capabilities:
Link many functions at runtime
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040401c
mov eax, dword [ebp - 0xc]
call fcn.0040401c
mov eax, dword [ebp + 0x1c]
call fcn.0040401c
mov eax, dword [ebp + 0x18]
call fcn.0040401c
mov eax, dword [ebp + 0x14]
call fcn.0040401c
mov eax, dword [ebp + 0x10]
call fcn.0040401c
mov eax, dword [ebp + 0xc]
call fcn.0040401c
mov eax, dword [ebp + 8]
call fcn.0040401c
xor eax, eax
push ebp
push 0x487fbb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00403bec
cmp byte [0x48b909], 0
jne 0x487c85
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004870a8
cmp byte [0x48b90a], 0
jne 0x487c9b
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.004870a8
cmp byte [0x48b90c], 0
jne 0x487cb1
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004870a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x55fc]
mov edx, 0x487fd4
call fcn.00403f78
jne 0x487e77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00466170
mov eax, dword [ebp - 0x14]
call fcn.0048546c
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 0x14]
call fcn.0048546c
push eax
push 0x487fe0
push dword [ebp - 0xc]
push 0x48801c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403f28
mov edx, dword [ebp - 0x18]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
push ebp
push 0x487d37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00466164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487d9a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x91], 0
jne 0x487dc0
mov edx, 0x488044
mov eax, dword [ebp - 0x14]
call fcn.00466bd4
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x58]
jmp 0x487e77
cmp byte [0x48b90d], 0
jne 0x487dd6
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.004870a8
push 0x488050
mov eax, dword [0x48b904]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov dword [0x48b954], ebx
test ebx, ebx
je 0x487e27
push 1
push 0x488068
call dword [0x48b954]
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.0040402c
push eax
call dword [0x48b954]
push 3
mov eax, dword [ebp - 0xc]
call fcn.0040402c
push eax
call dword [0x48b954]
push 0x48806c
mov eax, dword [0x48b904]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov dword [0x48b950], ebx
test ebx, ebx
je 0x487e49
call dword [0x48b950]
push 0x488080
mov eax, dword [0x48b904]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov dword [0x48b958], ebx
test ebx, ebx
je 0x487e77
push 1
call dword [0x48b958]
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00403da0
push 0x488098
mov eax, dword [0x48b900]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov dword [0x48b948], ebx
test ebx, ebx
je 0x487e99
call dword [0x48b948]
push 0x4880ac
mov eax, dword [0x48b900]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov dword [0x48b944], ebx
test ebx, ebx
je 0x487f52
push 1
mov eax, dword [ebp - 8]
call fcn.0040402c
push eax
call dword [0x48b944]
push 2
mov eax, dword [ebp - 0xc]
call fcn.0040402c
push eax
call dword [0x48b944]
push 3
mov eax, dword [ebp + 0x1c]
call fcn.0040402c
push eax
call dword [0x48b944]
push 4
mov eax, dword [ebp + 0x18]
call fcn.0040402c
push eax
call dword [0x48b944]
push 5
mov eax, dword [ebp + 0x14]
call fcn.0040402c
push eax
call dword [0x48b944]
push 6
mov eax, dword [ebp + 0x10]
call fcn.0040402c
push eax
call dword [0x48b944]
push 7
mov eax, dword [ebp + 0xc]
call fcn.0040402c
push eax
call dword [0x48b944]
push 8
mov eax, dword [ebp + 8]
call fcn.0040402c
push eax
call dword [0x48b944]
push 9
mov eax, dword [ebp - 0x10]
call fcn.0040402c
push eax
call dword [0x48b944]
push 0x4880c0
mov eax, dword [0x48b900]
push eax
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
mov dword [0x48b94c], ebx
test ebx, ebx
je 0x487f86
mov eax, dword [0x48b8fc]
push eax
mov eax, dword [0x48b8f4]
push eax
mov eax, dword [0x48b8f0]
push eax
call dword [0x48b94c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487fc2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403c10
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403c10
lea eax, [ebp + 8]
mov edx, 6
call fcn.00403c10
ret