Function at 0x49990c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x499915
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404990
xor eax, eax
push ebp
push 0x499cd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x499cf0
call fcn.00404ae4
test eax, eax
je 0x499978
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 8]
call fcn.0045e93c
mov edx, 0x499d00
call fcn.0045deb4
mov edx, dword [ebp - 4]
mov eax, 0x49a2d0
call fcn.00404ae4
test eax, eax
je 0x499c85
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x49a2e4
call fcn.00404ae4
add eax, 4
push eax
mov eax, dword [ebp - 4]
call fcn.004047a0
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00404a00
mov edx, dword [ebp - 0x10]
mov eax, 0x49a2f4
call fcn.00404ae4
push eax
mov eax, dword [ebp - 0x10]
call fcn.004047a0
mov ecx, eax
lea eax, [ebp - 0x10]
pop edx
call fcn.00404a40
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x49a300
call fcn.00404ae4
add eax, 4
push eax
mov eax, dword [ebp - 4]
call fcn.004047a0
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00404a00
mov edx, dword [ebp - 0x14]
mov eax, 0x49a2f4
call fcn.00404ae4
push eax
mov eax, dword [ebp - 0x14]
call fcn.004047a0
mov ecx, eax
lea eax, [ebp - 0x14]
pop edx
call fcn.00404a40
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x49a310
call fcn.00404ae4
add eax, 7
push eax
mov eax, dword [ebp - 4]
call fcn.004047a0
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00404a00
mov edx, dword [ebp - 0x1c]
mov eax, 0x49a2f4
call fcn.00404ae4
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004047a0
mov ecx, eax
lea eax, [ebp - 0x1c]
pop edx
call fcn.00404a40
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404578
mov edx, dword [ebp - 0x18]
mov eax, 0x49a320
call fcn.00404ae4
push eax
mov eax, dword [ebp - 0x18]
call fcn.004047a0
mov ecx, eax
lea eax, [ebp - 0x18]
pop edx
call fcn.00404a40
lea edx, [ebp - 0x24]
mov eax, 0x49a32c
call fcn.00408aec
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x49a340
call fcn.004047ec
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + edi*4 + 0x40]
call fcn.00477d0c
mov eax, dword [esi + edi*4 + 0x40]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0046e31c
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [esi + edi*4 + 0x40]
call fcn.00477d18
mov eax, dword [ebp - 0xc]
call fcn.0040a760
fadd dword [0x49a368]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x28]
call fcn.0040a5e0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.00404578
push 0x49a374
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00408aec
push dword [ebp - 0x30]
push 0x49a398
lea edx, [ebp - 0x34]
mov eax, 0x49a32c
call fcn.00408aec
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404860
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048be68
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048bf40
mov edx, dword [eax]
call dword [edx + 0x44]
push dword [ebp - 0xc]
push 0x49a3b0
lea eax, [ebp - 0x4c]
mov edx, dword [esi + edi*4 + 0xc3540]
call fcn.00404d68
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00406610
push dword [ebp - 0x48]
push 0x49a3c0
push dword [ebp - 0x18]
push 0x49a3d0
push 0x49a3fc
push dword [ebp - 0x14]
push 0x49a418
push dword [ebp - 0x10]
push 0x49a424
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.00404860
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004066bc
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x49a42c
call fcn.00404df4
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00404768
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048be68
mov eax, dword [esi + edi*4 + 0x40]
call fcn.0048bf40
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 8]
call fcn.0045e93c
push eax
push 0x49a50c
push dword [ebp - 0xc]
push 0x49a528
push dword [ebp - 0x18]
push 0x49a540
push 0x49a564
push dword [ebp - 0x14]
push 0x49a594
push dword [ebp - 0x10]
push 0x49a5a4
push 0x49a5b0
push 0x49a5d4
push 0x49a5e0
push 0x49a5d4
lea eax, [ebp - 0x50]
mov edx, 0xe
call fcn.00404860
mov edx, dword [ebp - 0x50]
pop eax
call fcn.0045deb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499cdc
lea eax, [ebp - 0x50]
call fcn.004044e0
lea eax, [ebp - 0x4c]
call fcn.00404bec
lea eax, [ebp - 0x48]
call fcn.004044e0
lea eax, [ebp - 0x44]
call fcn.004044e0
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404c04
lea eax, [ebp - 0x38]
mov edx, 0xc
call fcn.00404504
lea eax, [ebp - 4]
call fcn.004044e0
ret