Function at 0x49088c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x490894
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x490bb8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004044e0
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00408e64
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408aec
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x490bd0
call fcn.004047ec
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00477d0c
mov eax, dword [esi + ebx*4 + 0x40]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0046e31c
lea edx, [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00477d18
push 0x490c04
lea edx, [ebp - 0x1c]
mov eax, 0x490c28
call fcn.00408aec
push dword [ebp - 0x1c]
push 0x490c34
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00408e64
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408aec
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404860
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048be68
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048bf40
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x490c4c
lea edx, [ebp - 0x2c]
mov eax, 0x490c28
call fcn.00408aec
push dword [ebp - 0x2c]
push 0x490c78
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.00408e64
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408aec
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404860
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048be68
mov eax, dword [ebp - 4]
call fcn.004047a0
test eax, eax
jle 0x490b78
lea eax, [ebp - 8]
call fcn.004044e0
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0048bf40
mov edx, 0x490c98
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00477d0c
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0047a144
jmp 0x490aa9
mov edx, 0x490cc8
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00478d1c
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x38]
mov edx, 0x490c28
call fcn.004048ec
je 0x490aa0
mov edx, 0x490cc8
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00478d1c
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00408e64
mov edx, dword [ebp - 0x40]
pop eax
call fcn.004048ec
je 0x490aa0
push dword [ebp - 8]
mov edx, 0x490cc8
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00478d1c
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x44]
push 0x490cd8
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404860
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.0047a3c0
mov eax, dword [esi + ebx*4 + 0x40]
cmp byte [eax + 0xa1], 0
je 0x490a1e
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00477d18
jmp 0x490b69
lea eax, [ebp - 0x48]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x490cd8
call fcn.00404ae4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404a00
mov edx, dword [ebp - 0x48]
mov eax, dword [0x5672d8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x90]
call fcn.0045e93c
push eax
push 0x490ce4
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.00404d68
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00406610
push dword [ebp - 0x50]
push 0x490cf4
push 0x490d00
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404860
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.0045deb4
mov edx, dword [ebp - 8]
mov eax, 0x490cd8
call fcn.00404ae4
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00404a40
mov eax, dword [ebp - 8]
call fcn.004047a0
dec eax
jg 0x490ac8
mov eax, dword [esi + ebx*4 + 0x61ac0]
call fcn.00403644
mov eax, dword [esi + ebx*4 + 0x40]
call fcn.00403644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490bbf
lea eax, [ebp - 0x54]
call fcn.00404bec
lea eax, [ebp - 0x50]
call fcn.004044e0
lea eax, [ebp - 0x4c]
mov edx, 0x13
call fcn.00404504
ret