Function at 0x4b0118
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4b0121
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004012e0
xor eax, eax
push ebp
push 0x4b050a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00401268
xor ecx, ecx
mov dl, 1
mov eax, dword [0x403250]
call fcn.0040702c
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00401adc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov edx, 0x4b0520
call fcn.004012c8
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00401adc
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov edx, 0x4b068c
call fcn.004012c8
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x535d48]
mov eax, dword [eax]
mov ecx, 0x4b0754
mov edx, dword [ebp - 0x14]
call fcn.00491bc8
xor eax, eax
push ebp
push 0x4b04db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x53c3f0]
call fcn.00401168
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4b04be
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b0774
push dword [ebp - 4]
push 0x4b078c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004012d0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x20]
call fcn.0040734c
jmp 0x4b02f5
push 0x4b0798
mov edx, 0x4b07a8
mov eax, dword [ebp - 0x20]
call fcn.004072bc
lea edx, [ebp - 0x34]
call fcn.00406f24
push dword [ebp - 0x34]
push 0x4b07bc
lea eax, [ebp - 8]
mov edx, 3
call fcn.004012d0
mov edx, 0x4b07c8
mov eax, dword [ebp - 0x20]
call fcn.004072bc
lea edx, [ebp - 0x38]
call fcn.00406f24
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
mov edx, 0x4b07d8
mov eax, dword [ebp - 0x20]
call fcn.004072bc
lea edx, [ebp - 0x3c]
call fcn.00406f24
mov eax, dword [ebp - 0x3c]
push eax
mov edx, 0x4b07e8
mov eax, dword [ebp - 0x20]
call fcn.004072bc
lea edx, [ebp - 0x40]
call fcn.00406f24
mov edx, dword [ebp - 0x40]
mov eax, edi
pop ecx
call fcn.004b3d08
mov edx, 0x4b0800
mov eax, dword [ebp - 0x20]
call fcn.004072bc
call fcn.00406f10
mov ebx, eax
dec ebx
jne 0x4b02ba
lea eax, [ebp - 0xc]
mov edx, 0x4b0818
call fcn.00401280
jmp 0x4b02c7
lea eax, [ebp - 0xc]
mov edx, 0x4b0828
call fcn.00401280
push dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push 0x4b083c
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.004012d0
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00407338
mov eax, dword [ebp - 0x20]
call fcn.00407324
test al, al
je 0x4b020f
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x535d48]
mov eax, dword [eax]
mov ecx, 0x4b0754
mov edx, dword [ebp - 0x18]
call fcn.00491bc8
mov eax, dword [ebp - 0x20]
call fcn.004071b0
test eax, eax
jle 0x4b0431
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4b0848
call fcn.004012c8
push 0x4b0854
push dword [ebp - 0x10]
push 0x4b086c
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004012d0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b03b6
push 0x4b0890
mov edx, 0x4b089c
mov eax, dword [ebp - 0x20]
call fcn.004072bc
lea edx, [ebp - 0x4c]
call fcn.00406f24
push dword [ebp - 0x4c]
push 0x4b08b0
lea eax, [ebp - 8]
mov edx, 3
call fcn.004012d0
lea eax, [ebp - 0x50]
mov ecx, 0x4b083c
mov edx, dword [ebp - 8]
call fcn.004012c8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x20]
call fcn.00407338
mov eax, dword [ebp - 0x20]
call fcn.00407324
test al, al
je 0x4b0364
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x58]
call fcn.004012b8
dec eax
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
mov edx, 1
pop ecx
call fcn.004012f8
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x24]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov edx, 0x4b08c0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b049e
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
call fcn.004012b8
dec eax
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
mov edx, 1
pop ecx
call fcn.004012f8
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x24]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov edx, 0x4b08e8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b04c5
mov eax, dword [ebp - 0x24]
call fcn.00401178
ret