Function at 0x4d8c58
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x80]
mov eax, esi
call fcn.004c00b4
test al, al
jne 0x4d8c84
mov eax, esi
call fcn.004c04c0
xor eax, eax
push ebp
push 0x4d90c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x214]
mov eax, edi
call fcn.00478af0
mov eax, dword [edi + 0x260]
mov edx, 0x4d90d8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x4d9114
mov eax, edi
call fcn.004c40f0
mov edx, ebx
call fcn.00477dcc
mov eax, edi
call fcn.004c3c08
mov eax, edi
call fcn.00478ae4
mov eax, edi
call fcn.0047b0c4
jmp 0x4d908b
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x270]
mov eax, ebx
call fcn.00478af0
mov eax, dword [ebx + 0x260]
mov edx, 0x4d9124
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d9154
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov edx, 0x4d9164
mov eax, ebx
call fcn.004c40f0
pop edx
call fcn.00477dcc
mov eax, ebx
call fcn.004c3c08
mov eax, ebx
call fcn.00478ae4
cmp byte [ebx + 0xa1], 0
jne 0x4d907d
mov edx, 0x4d9174
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x84]
test al, al
je 0x4d8d74
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x288]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x28c]
mov dword [ebp - 0xc], edx
jmp 0x4d8d89
mov edx, 0x4d9174
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0x10]
wait
mov edx, 0x4d9188
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x288]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x28c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d919c
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d91a8
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fild qword [ebp - 0x48]
faddp st(1)
fstp xword [ebp - 0x54]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d91b8
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x54]
faddp st(1)
fstp xword [ebp - 0x60]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d91cc
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x60]
faddp st(1)
fstp xword [ebp - 0x6c]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d91d8
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x6c]
faddp st(1)
fstp xword [ebp - 0x78]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d91e8
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x78]
faddp st(1)
fstp xword [ebp - 0x84]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d91f8
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x84]
faddp st(1)
fstp xword [ebp - 0x90]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d920c
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x90]
faddp st(1)
fstp xword [ebp - 0x9c]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d921c
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fld xword [ebp - 0x9c]
faddp st(1)
fistp qword [ebp - 0x28]
wait
mov edx, 0x4d919c
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fild qword [ebp - 0x28]
faddp st(1)
fistp qword [ebp - 0x40]
wait
cmp dword [ebp - 0x1c], 0
jle 0x4d8f17
fild dword [ebp - 0x1c]
fild qword [ebp - 0x40]
fdivrp st(1)
fistp qword [ebp - 0x30]
wait
jmp 0x4d8f1f
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov edx, 0x4d9230
mov eax, ebx
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x38]
wait
fild qword [ebp - 0x28]
fild qword [ebp - 0x38]
fcompp
fnstsw ax
sahf
jae 0x4d8f4d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d9244
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0xa0]
mov eax, esi
call fcn.004b5624
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x78]
mov eax, esi
call fcn.004b6340
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x80]
mov eax, esi
call fcn.004b6850
mov eax, dword [esi + 0x58]
mov edx, 0x4d9254
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, 0x4d9304
mov eax, esi
call fcn.004b68a8
call fcn.004b370c
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, 0x4d9318
mov eax, esi
call fcn.004b68a8
call fcn.004b370c
mov edx, 0x4d932c
mov eax, esi
call fcn.004b68a8
mov edx, dword [ebp - 0x1c]
call fcn.004b3978
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov edx, 0x4d9340
mov eax, esi
call fcn.004b68a8
call fcn.004b31f4
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov edx, 0x4d9350
mov eax, esi
call fcn.004b68a8
call fcn.004b31f4
mov edx, 0x4d9364
mov eax, esi
call fcn.004b68a8
mov edx, dword [ebp - 0x20]
call fcn.004b3978
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, 0x4d9378
mov eax, esi
call fcn.004b68a8
call fcn.004b31f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d9154
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov edx, 0x4d9164
mov eax, esi
call fcn.004b68a8
pop edx
call fcn.004b3978
mov eax, esi
call fcn.004b6354
mov eax, esi
call fcn.004b5770
mov eax, esi
call fcn.004b5624
mov eax, ebx
call fcn.00478af0
mov eax, edi
call fcn.0047b3dc
cmp byte [edi + 0xa1], 0
je 0x4d8cdf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d90c8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x80]
mov eax, ebx
call fcn.004c00b4
test al, al
je 0x4d90c0
mov eax, ebx
call fcn.004bfd08
ret