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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51c27f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00493700
test al, al
je 0x4d8d89
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
lea edi, [esi + 0x10]
add esi, 0x48
mov ecx, ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x50], esi
call fcn.0047e010
fstp qword [esp + 0xc]
mov ecx, esi
call fcn.0047e010
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4d8dce
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0047e030
fstp qword [esp + 0xc]
mov ecx, esi
call fcn.0047e030
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4d8e02
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [esi]
fsub qword [edi]
mov al, byte [ebp + 0x18]
test al, al
fstp qword [esp + 0x44]
fld qword [esi + 0x10]
fsub qword [edi + 0x10]
fstp qword [esp + 0x2c]
fld qword [esi + 8]
fsub qword [edi + 8]
fstp qword [esp + 0x3c]
fld qword [esi + 0x18]
fsub qword [edi + 0x18]
fstp qword [esp + 0x34]
je 0x4d8e93
fld qword [esp + 0x44]
fchs
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x4d8e46
fstp st(0)
fld qword [esp + 0x2c]
fchs
fst qword [esp + 0x44]
fchs
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4d8e5f
fstp qword [esp + 0x2c]
jmp 0x4d8e61
fstp st(0)
fld qword [esp + 0x3c]
fchs
fcom qword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x4d8e78
fstp st(0)
fld qword [esp + 0x34]
fchs
fst qword [esp + 0x3c]
fchs
fcom qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x4d8e91
fstp qword [esp + 0x34]
jmp 0x4d8e93
fstp st(0)
push ebx
lea ecx, [esp + 0x58]
call fcn.0047dc60
fld qword [esp + 0x54]
fsub qword [esp + 0x44]
xor esi, esi
mov dword [esp + 0x18], 0x525944
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
fstp qword [esp + 0x54]
fld qword [esp + 0x64]
fsub qword [esp + 0x2c]
mov dword [esp + 0x28], esi
fstp qword [esp + 0x64]
fld qword [esp + 0x5c]
fsub qword [esp + 0x3c]
fstp qword [esp + 0x5c]
fld qword [esp + 0x6c]
fsub qword [esp + 0x34]
fstp qword [esp + 0x6c]
mov edi, dword [ebp + 0xc]
mov byte [esp + 0xc0], 1
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4d8f05
mov dword [esp + 0x28], eax
cmp eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jle 0x4d8fba
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
call fcn.0048e7a0
test eax, eax
jne 0x4d8fae
mov ecx, dword [edi + 4]
mov edx, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
mov cl, byte [edx + 0x141]
test cl, cl
jne 0x4d8fae
mov ecx, edx
call fcn.0048e7e0
push eax
lea ecx, [esp + 0x9c]
call fcn.0047dc60
lea eax, [esp + 0x98]
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0xc8], 2
call fcn.0047db70
add esp, 8
test al, al
je 0x4d8f9a
lea ecx, [esp + 0x98]
call fcn.0047e1c0
fadd qword [esp + 0xc]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x98]
push edx
push eax
lea ecx, [esp + 0x20]
fstp qword [esp + 0x14]
call fcn.0044eae0
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 1
call fcn.00507a00
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x4d8f15
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00491d90
fmul qword [0x522ec0]
lea ecx, [esp + 0x54]
fadd qword [esp + 0xc]
fstp qword [esp + 0xc]
call fcn.0047e1c0
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4d904f
mov ecx, esi
call fcn.00491d90
fmul qword [0x529c50]
lea ecx, [esp + 0x54]
fstp qword [esp + 0xc]
call fcn.0047e1c0
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4d904f
mov ecx, dword [ebp + 0x14]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.0044eae0
mov dword [esp + 0x18], 0x525944
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xc0], 3
test esi, esi
je 0x4d90bb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d90b2
lea edi, [eax]
push 0
mov ecx, esi
call fcn.0044ecf0
add esi, 0x20
dec edi
jne 0x4d903e
jmp 0x4d90ae
fld qword [esi + 0x40]
fmul qword [0x529c48]
lea ecx, [esp + 0x54]
fstp qword [esp + 0xc]
call fcn.0047e1c0
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4d90ee
mov ecx, dword [ebp + 0x14]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.0044eae0
mov dword [esp + 0x18], 0x525944
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xc0], 4
test esi, esi
je 0x4d90bb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d90b2
lea edi, [eax]
push 0
mov ecx, esi
call fcn.0044ecf0
add esi, 0x20
dec edi
jne 0x4d909f
mov esi, dword [esp + 0x1c]
push esi
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], 0x520384
mov dword [esp + 0xc0], 0xffffffff
call fcn.00507a00
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x18]
push esi
push ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.0047de80
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call fcn.004d8290
mov eax, dword [esi + 8]
add esp, 0x20
test eax, eax
jne 0x4d91ab
mov dword [esp + 0x18], 0x525944
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xc0], 5
test esi, esi
je 0x4d9178
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4d916f
push 0
mov ecx, esi
call fcn.0044ecf0
add esi, 0x20
dec edi
jne 0x4d915c
mov esi, dword [esp + 0x1c]
push esi
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], 0x520384
mov dword [esp + 0xc0], 0xffffffff
call fcn.00507a00
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push ebx
fld qword [esp + 0x48]
fadd qword [eax]
lea ecx, [esp + 0x7c]
fstp qword [eax]
mov eax, dword [esi + 4]
fld qword [esp + 0x30]
fadd qword [eax + 0x10]
fstp qword [eax + 0x10]
mov eax, dword [esi + 4]
fld qword [esp + 0x40]
fadd qword [eax + 8]
fstp qword [eax + 8]
mov eax, dword [esi + 4]
fld qword [esp + 0x38]
fadd qword [eax + 0x18]
fstp qword [eax + 0x18]
call fcn.0047dc60
fld qword [esp + 0x78]
fsub qword [0x522c70]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0xc4], 6
fstp qword [esp + 0x7c]
fld qword [esp + 0x84]
fsub qword [0x522c70]
fstp qword [esp + 0x84]
fld qword [esp + 0x8c]
fadd qword [0x522c70]
fstp qword [esp + 0x8c]
fld qword [esp + 0x94]
fadd qword [0x522c70]
fstp qword [esp + 0x94]
call fcn.0047dd40
mov eax, dword [esi + 8]
mov edi, 1
cmp eax, edi
jle 0x4d929a
mov ebx, 0x20
mov edx, dword [esi + 4]
mov eax, ebx
fld qword [esp + 0x44]
fadd qword [eax + edx]
add eax, edx
lea ecx, [esp + 0x54]
push eax
fstp qword [eax]
fld qword [esp + 0x30]
fadd qword [eax + 0x10]
fstp qword [eax + 0x10]
fld qword [esp + 0x40]
fadd qword [eax + 8]
fstp qword [eax + 8]
fld qword [esp + 0x38]
fadd qword [eax + 0x18]
fstp qword [eax + 0x18]
call fcn.0047dd80
mov eax, dword [esi + 8]
inc edi
add ebx, 0x20
cmp edi, eax
jl 0x4d9257
lea ecx, [esp + 0x54]
call fcn.0047e010
mov esi, dword [esp + 0x50]
fstp qword [esp + 0xc]
mov ecx, esi
call fcn.0047e010
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x4d92c1
xor al, al
jmp 0x4d92e6
lea ecx, [esp + 0x54]
call fcn.0047e030
fstp qword [esp + 0xc]
mov ecx, esi
call fcn.0047e030
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
je 0x4d92e4
xor al, al
jmp 0x4d92e6
mov al, 1
test al, al
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 1
sete bl
call fcn.00507a00
mov dword [esp + 0x18], 0x525944
mov esi, dword [esp + 0x1c]
mov byte [esp + 0xc0], 7
test esi, esi
je 0x4d9338
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d932f
lea edi, [eax]
mov ecx, esi
call fcn.00507a00
add esi, 0x20
dec edi
jne 0x4d931e
mov esi, dword [esp + 0x1c]
push esi
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], 0x520384
mov dword [esp + 0xc0], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0xb8]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret