Function at 0x4d5dc8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x4d5dd0
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d6a09
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x4d5da4]
call fcn.00405798
add esp, 4
call fcn.0040acec
fstp qword [ebp - 0x30]
wait
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x26c]
mov eax, ebx
call fcn.00478af0
mov eax, dword [ebx + 0x38]
call fcn.0041db5c
push 0
push 0
mov eax, dword [ebx + 0x38]
mov cl, 3
mov edx, 0x4d6a20
call fcn.0046d27c
push 0xf
push 0
mov eax, dword [ebx + 0x38]
mov cl, 1
mov edx, 0x4d6a2c
call fcn.0046d27c
push 0x14
push 0
mov eax, dword [ebx + 0x38]
mov cl, 1
mov edx, 0x4d6a3c
call fcn.0046d27c
push 0xa
push 0
mov eax, dword [ebx + 0x38]
mov cl, 1
mov edx, 0x4d6a48
call fcn.0046d27c
push 0
push 0
mov eax, dword [ebx + 0x38]
mov cl, 7
mov edx, 0x4d6a58
call fcn.0046d27c
push 0
push 0
mov eax, dword [ebx + 0x38]
mov cl, 7
mov edx, 0x4d6a64
call fcn.0046d27c
mov eax, ebx
call fcn.00485bd4
mov eax, ebx
call fcn.00478ae4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x80]
mov eax, ebx
call fcn.004c00b4
test al, al
jne 0x4d5ec2
mov eax, ebx
call fcn.004c04c0
xor edx, edx
push ebp
push 0x4d699b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x214]
mov eax, edi
call fcn.00478af0
mov eax, dword [edi + 0x260]
mov edx, 0x4d6a70
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x4d6aa4
mov eax, edi
call fcn.004c40f0
mov edx, esi
call fcn.00477dcc
mov eax, edi
call fcn.004c3c08
mov eax, edi
call fcn.00478ae4
cmp byte [edi + 0xa1], 0
jne 0x4d5f43
mov edx, 0x4d6ab4
mov eax, edi
call fcn.00479c9c
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x4d6ac4
mov eax, edi
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0x30]
wait
mov eax, edi
call fcn.00478af0
mov eax, dword [edi + 0x260]
mov edx, 0x4d6ad0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x4d6aa4
mov eax, edi
call fcn.004c40f0
mov edx, esi
call fcn.00477dcc
mov eax, edi
call fcn.004c3c08
mov eax, edi
call fcn.00478ae4
mov eax, edi
call fcn.0047b0c4
jmp 0x4d62d1
mov eax, dword [ebp - 0x20]
call fcn.004055e4
test eax, eax
jl 0x4d5fc2
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
mov edx, 0x4d6a20
mov eax, edi
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
cmp eax, dword [edx + ecx*4]
je 0x4d5fc2
inc dword [ebp - 8]
dec dword [ebp - 0x34]
jne 0x4d5f9e
mov eax, dword [ebp - 0x20]
call fcn.004055e4
cmp eax, dword [ebp - 8]
jge 0x4d6012
mov eax, dword [ebp - 0x20]
call fcn.004055e4
add eax, 2
push eax
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x4d5da4]
call fcn.00405798
add esp, 4
mov edx, 0x4d6a20
mov eax, edi
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
mov ebx, eax
mov eax, dword [ebp - 0x20]
call fcn.004055e4
mov edx, dword [ebp - 0x20]
mov dword [edx + eax*4], ebx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x270]
mov eax, esi
call fcn.00478af0
mov eax, dword [esi + 0x260]
mov edx, 0x4d6b64
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d6b98
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
push eax
mov edx, 0x4d6ba8
mov eax, esi
call fcn.004c40f0
pop edx
call fcn.00477dcc
mov eax, esi
call fcn.004c3c08
mov eax, esi
call fcn.00478ae4
mov eax, esi
call fcn.0047b0c4
jmp 0x4d62bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d6a20
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x10], eax
mov edx, 0x4d6bb8
mov eax, esi
call fcn.00479c9c
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov al, byte [0x4d6bc0]
push eax
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x10]
mov cl, 0xfc
call fcn.00414f5c
push esi
push edi
lea esi, [ebp - 0x78]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x1c]
call fcn.004151b0
push esi
push edi
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x48]
mov edx, 1
call fcn.00416460
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6bcc
mov ebx, dword [eax]
call dword [ebx + 0x244]
test al, al
jne 0x4d620a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0047b594
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6a20
call fcn.00479c9c
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6a2c
call fcn.00479c9c
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x4d6a3c
mov eax, esi
call fcn.00479c9c
lea edx, [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6a3c
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x4d6a48
mov eax, esi
call fcn.00479c9c
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6a48
call fcn.00479c9c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov edx, 0x4d6a64
mov eax, esi
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 + 0x26c]
mov edx, 0x4d6a64
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
jmp 0x4d6218
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0047b450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6a58
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fmul dword [0x4d6bd8]
fstp xword [ebp - 0x9c]
wait
mov edx, 0x4d6be4
mov eax, esi
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0xa4]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x214]
mov edx, 0x4d6a58
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x4c]
fild qword [ebp - 0xa4]
fmulp st(1)
fld xword [ebp - 0x9c]
faddp st(1)
fdiv dword [0x4d6bd8]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, 0x4d6a58
call fcn.00479c9c
mov edx, dword [eax]
call dword [edx + 0x9c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov edx, dword [eax]
call dword [edx + 0x24c]
mov eax, esi
call fcn.0047b3dc
cmp byte [esi + 0xa1], 0
je 0x4d6077
mov eax, edi
call fcn.0047b3dc
cmp byte [edi + 0xa1], 0
je 0x4d5f87
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
call fcn.00478ae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
call fcn.00478ae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
call fcn.00478c30
test al, al
je 0x4d6972
mov eax, dword [ebp - 0x20]
call fcn.004055e4
test eax, eax
jl 0x4d6972
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x38]
call fcn.0047b0c4
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x110]
mov eax, ebx
call fcn.004c01f4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x78]
mov eax, ebx
call fcn.004bfc60
mov eax, ebx
call fcn.004c00b4
test al, al
jne 0x4d6375
mov eax, ebx
call fcn.004c04c0
xor eax, eax
push ebp
push 0x4d6452
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x10c]
mov eax, ebx
call fcn.00478af0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x78]
mov eax, ebx
call fcn.004ab9bc
mov edx, 0x4d6bf0
mov eax, ebx
call fcn.004c2390
mov eax, dword [ebx + 0x26c]
call fcn.0041db5c
push 1
mov eax, dword [ebx + 0x26c]
mov ecx, 0x4d6c0c
mov dl, 3
call fcn.00476514
push 2
mov eax, dword [ebx + 0x26c]
mov ecx, 0x4d6c1c
mov dl, 3
call fcn.00476514
mov edx, 0x4d6c0c
mov eax, ebx
call fcn.004c2e64
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + ecx*4]
call fcn.00477dcc
mov eax, ebx
call fcn.004c2de4
mov eax, ebx
call fcn.004c22b8
mov edx, 0x4d6c1c
mov eax, ebx
call fcn.004c2e64
call fcn.00477e28
mov dword [ebp - 0x14], eax
mov eax, ebx
call fcn.00478af0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6459
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x110]
mov eax, ebx
call fcn.004c00b4
test al, al
je 0x4d644a
mov eax, ebx
call fcn.004bfd08
mov eax, ebx
call fcn.004c01f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d69a2
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x80]
mov eax, ebx
call fcn.004c00b4
test al, al
je 0x4d699a
mov eax, ebx
call fcn.004bfd08
ret