Function at 0x4a9d1a
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4e794c
call fcn.004baf44
sub esp, 0x42c
push ebx
push esi
push edi
push 1
pop ebx
lea eax, [ebp - 0x438]
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x10], ebx
push 0x51f864
push eax
call fcn.004bafeb
add esp, 0xc
call fcn.004a57ea
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [eax]
lea ecx, [ebp - 0x438]
push ebx
push ecx
mov ecx, eax
call dword [edx + 4]
mov esi, eax
test esi, esi
je 0x4a9f2a
mov eax, dword [esi]
push 0x514fd8
mov ecx, esi
call dword [eax + 0x44]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
lea eax, [ebp + 0xb]
push eax
push 0x50f460
lea ecx, [ebp - 0x38]
call fcn.00403ed8
lea eax, [ebp - 0x38]
push 0xf
push eax
mov byte [ebp - 4], bl
call fcn.004b3a98
mov ecx, eax
call fcn.004b3d15
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004bbc00
add esp, 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403d38
mov eax, dword [esi]
or dword [ebp - 4], 0xffffffff
and byte [ebp - 0x1d], 0
push 0x10
lea ecx, [ebp - 0x2c]
push 0x512a28
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
push 0x514fcc
mov ecx, esi
call dword [eax + 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push 0x514fbc
mov ecx, esi
call dword [eax + 0x44]
mov ebx, eax
call fcn.004a57ea
mov ecx, eax
call fcn.004a9f3e
push ebx
mov ecx, eax
call fcn.004aba55
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push 0x50f92c
mov ecx, esi
call dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x54]
cmp eax, dword [edi + 0x58]
je 0x4a9e80
lea eax, [ebp - 0x2c]
push 0x51f860
push eax
call fcn.004bc8b0
pop ecx
test eax, eax
pop ecx
jne 0x4a9e50
lea eax, [ebp - 0x2c]
push 0x51f85c
push eax
call fcn.004bc8b0
pop ecx
test eax, eax
pop ecx
je 0x4a9e80
lea ebx, [edi + 0x30]
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.00440aef
cmp eax, dword [ebx]
je 0x4a9e78
mov edx, dword [eax + 0x2c]
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x58]
cmp eax, ecx
je 0x4a9e78
cmp dword [eax], edx
je 0x4a9e80
add eax, 4
jmp 0x4a9e6b
push 3
pop eax
jmp 0x4a9f2d
push 0x51f854
push dword [ebp + 0x10]
call fcn.004bbe50
pop ecx
test eax, eax
pop ecx
jne 0x4a9e9e
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x5087b0]
jge 0x4a9f0b
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004aa3ec
test al, al
je 0x4a9f0b
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call fcn.004a57ea
mov ecx, eax
call fcn.004a611c
call fcn.004a57ea
mov ecx, eax
call fcn.004a5792
push dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp + 0x10], eax
call fcn.004aa6a8
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004aaa3a
push 0x64
push ebx
push ebx
push dword [ebp - 0x14]
call fcn.004a57ea
mov ecx, eax
call fcn.004a614e
jmp 0x4a9f23
push 5
mov dword [ebp - 0x10], 2
push dword [ebp - 0x14]
call fcn.004a57ea
mov ecx, eax
call fcn.004a611c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc