Function at 0x4d73b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
mov ecx, dword [0xc0f6c8]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jge 0x4d796f
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
shl eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [0xc0f6cc]
mov esi, dword [eax + ecx + 0xc]
cmp dword [esi], 2
jne 0x4d7949
cmp dword [esi + 0x68], 2
je 0x4d7949
fld dword [edi + 0x64]
fcomp dword [esi + 0x64]
fnstsw ax
test ah, 0x44
jp 0x4d7949
fld dword [edi + 0x58]
fcomp dword [esi + 0x58]
fnstsw ax
test ah, 0x44
jp 0x4d7949
fld dword [edi + 0x5c]
fcomp dword [esi + 0x5c]
fnstsw ax
test ah, 0x44
jp 0x4d7949
fld dword [edi + 0x60]
fcomp dword [esi + 0x60]
fnstsw ax
test ah, 0x44
jp 0x4d7949
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d7455
mov ebp, dword [edi + 0x74]
dec ebp
imul ebp, dword [edi + 0x70]
jmp 0x4d7457
xor ebp, ebp
push ebp
push edi
call fcn.004d71c0
add esp, 8
test eax, eax
jne 0x4d76b5
mov edx, dword [edi + 0x70]
mov dword [esp + 0x10], 1
dec edx
cmp edx, 1
jle 0x4d76b5
inc ebp
mov dword [esp + 0x28], ebp
lea eax, [ebp + ebp*4]
lea ecx, [ebp + eax*2]
lea edx, [edi + ecx*4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d74ac
mov ebx, dword [esi + 0x74]
dec ebx
imul ebx, dword [esi + 0x70]
jmp 0x4d74ae
xor ebx, ebx
push ebx
push esi
mov dword [esp + 0x1c], ebx
call fcn.004d71c0
add esp, 8
test eax, eax
jne 0x4d7586
mov eax, dword [esi + 0x70]
mov ecx, 1
dec eax
cmp eax, ecx
jle 0x4d7586
lea edx, [ebx + ebx*4]
lea eax, [ebx + edx*2]
lea edx, [esi + eax*4 + 0xb4]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
fld dword [eax + 0x80]
fsub dword [edx - 8]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d756e
lea eax, [ebp + ebp*4 + 0xf]
lea edx, [ebp + eax*2 + 3]
lea eax, [ecx + ebx + 3]
fld dword [edi + edx*4]
lea ebx, [eax + eax*4]
lea eax, [eax + ebx*2]
fsub dword [esi + eax*4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d756a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
fld dword [edx + 0x88]
fsub dword [eax]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d756a
mov edx, dword [edi + 0x78]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x78]
mov dword [esp + 0x20], 1
mov edx, dword [edx + ebx*4]
mov dword [eax + ecx*4], edx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc ecx
add eax, 0x2c
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x70]
dec eax
cmp ecx, eax
jl 0x4d74e6
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 2
mov dword [esp + 0x3c], eax
jl 0x4d749a
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d75ae
mov eax, dword [esi + 0x70]
dec eax
jmp 0x4d75b0
xor eax, eax
push eax
push esi
mov dword [esp + 0x1c], eax
call fcn.004d72c0
add esp, 8
test eax, eax
jne 0x4d767e
mov ecx, dword [esi + 0x74]
mov edx, 1
dec ecx
cmp ecx, edx
jle 0x4d767e
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x14]
imul eax, edx
add ecx, eax
lea eax, [ecx + ecx*4]
lea eax, [ecx + eax*2]
lea ebx, [esi + eax*4]
mov eax, dword [esp + 0x1c]
fld dword [eax + 0x80]
fsub dword [ebx + 0x80]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7671
lea eax, [ebp + ebp*4 + 0xf]
lea eax, [ebp + eax*2 + 3]
lea ebp, [ecx + ecx*4 + 0xf]
fld dword [edi + eax*4]
lea ecx, [ecx + ebp*2 + 3]
mov ebp, dword [esp + 0x28]
fsub dword [esi + ecx*4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7671
mov eax, dword [esp + 0x1c]
fld dword [eax + 0x88]
fsub dword [ebx + 0x88]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d7671
mov ecx, dword [edi + 0x78]
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x20], 1
mov ecx, dword [ecx + ebx*4]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0x74]
inc edx
dec eax
cmp edx, eax
jl 0x4d75d7
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 2
mov dword [esp + 0x3c], eax
jl 0x4d75a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add ecx, 0x2c
inc eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x70]
inc ebp
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebp
jl 0x4d7492
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x4d7443
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d76dd
mov eax, dword [edi + 0x70]
dec eax
jmp 0x4d76df
xor eax, eax
push eax
push edi
mov dword [esp + 0x30], eax
call fcn.004d72c0
add esp, 8
test eax, eax
jne 0x4d791a
mov edx, dword [edi + 0x74]
mov dword [esp + 0x10], 1
dec edx
cmp edx, 1
jle 0x4d791a
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d7724
mov ebx, dword [esi + 0x74]
dec ebx
imul ebx, dword [esi + 0x70]
jmp 0x4d7726
xor ebx, ebx
push ebx
push esi
call fcn.004d71c0
add esp, 8
test eax, eax
jne 0x4d77e6
mov eax, dword [esi + 0x70]
mov ebp, 1
dec eax
cmp eax, ebp
jle 0x4d77e6
lea ecx, [ebx + ebx*4 + 0x14]
lea edx, [ebx + ecx*2 + 4]
lea edx, [esi + edx*4]
mov eax, dword [edi + 0x70]
mov ecx, dword [esp + 0x28]
imul eax, dword [esp + 0x10]
add ecx, eax
lea eax, [ecx + ecx*4]
lea eax, [ecx + eax*2]
fld dword [edi + eax*4 + 0x80]
fsub dword [edx - 4]
lea ebx, [edi + eax*4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d77d6
lea eax, [ecx + ecx*4 + 0xf]
lea ecx, [ecx + eax*2 + 3]
fld dword [edi + ecx*4]
fsub dword [edx]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d77d6
fld dword [ebx + 0x88]
fsub dword [edx + 4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d77d6
mov eax, dword [edi + 0x7c]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x20], 1
mov eax, dword [eax + ebx*4]
mov dword [ecx + ebp*4], eax
mov ecx, dword [esi + 0x70]
inc ebp
add edx, 0x2c
dec ecx
cmp ebp, ecx
jl 0x4d7754
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 2
mov dword [esp + 0x3c], eax
jl 0x4d7712
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d780e
mov eax, dword [esi + 0x70]
dec eax
jmp 0x4d7810
xor eax, eax
push eax
push esi
mov dword [esp + 0x1c], eax
call fcn.004d72c0
add esp, 8
test eax, eax
jne 0x4d78f3
mov edx, dword [esi + 0x74]
mov ebx, 1
dec edx
cmp edx, ebx
jle 0x4d78f3
mov eax, dword [edi + 0x70]
mov ecx, dword [esp + 0x28]
imul eax, dword [esp + 0x10]
add ecx, eax
lea edx, [ecx + ecx*4]
lea eax, [ecx + edx*2]
mov edx, dword [esi + 0x70]
imul edx, ebx
fld dword [edi + eax*4 + 0x80]
lea ebp, [edi + eax*4]
mov eax, dword [esp + 0x14]
add edx, eax
lea eax, [edx + edx*4]
lea eax, [edx + eax*2]
fsub dword [esi + eax*4 + 0x80]
lea eax, [esi + eax*4]
mov dword [esp + 0x24], eax
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d78e6
lea eax, [ecx + ecx*4 + 0xf]
lea ecx, [ecx + eax*2 + 3]
lea eax, [edx + edx*4 + 0xf]
fld dword [edi + ecx*4]
lea edx, [edx + eax*2 + 3]
fsub dword [esi + edx*4]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d78e6
mov eax, dword [esp + 0x24]
fld dword [ebp + 0x88]
fsub dword [eax + 0x88]
fabs
fcomp qword [0x54ec08]
fnstsw ax
and eax, 0x4100
je 0x4d78e6
mov ecx, dword [edi + 0x7c]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x20], 1
mov ecx, dword [ecx + eax*4]
mov dword [edx + ebx*4], ecx
mov edx, dword [esi + 0x74]
inc ebx
dec edx
cmp ebx, edx
jl 0x4d7837
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, 2
mov dword [esp + 0x3c], eax
jl 0x4d7800
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x74]
inc eax
dec ecx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4d770a
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x4d76cf
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d7949
mov edx, dword [esp + 0x38]
push esi
push edx
mov dword [esi + 0x68], 2
call fcn.004d73b0
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edx, dword [0xc0f6c8]
inc ecx
add eax, 0x10
cmp ecx, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jl 0x4d73d8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret