Function at 0x4d5124
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d5797
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x80]
mov eax, ebx
call fcn.004c00b4
test al, al
jne 0x4d5162
mov eax, ebx
call fcn.004c04c0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x84]
mov eax, ebx
call fcn.004c00b4
test al, al
jne 0x4d517d
mov eax, ebx
call fcn.004c04c0
xor edx, edx
push ebp
push 0x4d5775
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x214]
mov eax, ebx
call fcn.00478af0
mov eax, dword [ebx + 0x260]
mov edx, 0x4d57ac
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004c3c08
mov eax, ebx
call fcn.00478ae4
mov edx, 0x4d57d4
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0x10]
wait
mov eax, ebx
call fcn.00478af0
mov eax, dword [ebx + 0x260]
mov edx, 0x4d57e0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004c3c08
mov eax, ebx
call fcn.00478ae4
mov eax, ebx
call fcn.0047b0c4
jmp 0x4d564e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00478af0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.004aab5c
mov edx, 0x4d5808
mov ecx, dword [eax]
call dword [ecx + 0x2c]
fld qword [ebp - 0x10]
fsub dword [0x4d5838]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5844
call fcn.004af9cc
call fcn.004b370c
mov edx, 0x4d5854
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5860
call fcn.004af9cc
pop edx
call fcn.004b3978
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.004af1c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00478ae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
cmp byte [eax + 0xa1], 0
je 0x4d5647
call fcn.0047b594
fld qword [ebp - 0x10]
fsub dword [0x4d5838]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d57d4
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0xa0]
mov edx, 0x4d5854
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5854
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x4d5870
mov eax, ebx
call fcn.00479c9c
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5870
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x4d587c
mov eax, ebx
call fcn.00479c9c
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d587c
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x4d588c
mov eax, ebx
call fcn.00479c9c
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d588c
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x4d589c
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d589c
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov edx, 0x4d58b0
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d58b0
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d58c4
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d58c4
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d58d8
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d58d8
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d58ec
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d58ec
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5900
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5900
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5914
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5914
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5928
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5928
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d593c
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d593c
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5950
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5950
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5960
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5960
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5970
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5970
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov edx, 0x4d5980
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, 0x4d5980
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, dword [eax]
call dword [edx + 0x24c]
mov eax, ebx
call fcn.0047b3dc
cmp byte [ebx + 0xa1], 0
je 0x4d51ff
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa0]
mov eax, ebx
call fcn.004b5624
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x78]
mov eax, ebx
call fcn.004b6340
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x80]
mov eax, ebx
call fcn.004b6850
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x58]
mov edx, 0x4d5990
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004b6354
mov eax, ebx
call fcn.004b5770
mov eax, ebx
call fcn.004b5624
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x16]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x12]
call fcn.0040aca4
cmp word [ebp - 0x16], 1
jne 0x4d5700
cmp word [ebp - 0x14], 1
jne 0x4d5700
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x58]
mov edx, 0x4d59f0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004b6354
mov eax, ebx
call fcn.004b5770
mov eax, ebx
call fcn.004b5624
jmp 0x4d5731
cmp word [ebp - 0x16], 1
jne 0x4d5731
mov eax, dword [ebx + 0x58]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x58]
mov edx, 0x4d5a50
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004b6354
mov eax, ebx
call fcn.004b5770
mov eax, ebx
call fcn.004b5624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d577c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x80]
mov eax, ebx
call fcn.004c00b4
test al, al
je 0x4d5759
mov eax, ebx
call fcn.004bfd08
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x84]
mov eax, ebx
call fcn.004c00b4
test al, al
je 0x4d5774
mov eax, ebx
call fcn.004bfd08
ret