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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x639646
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push esi
push edi
call fcn.00401d12
fld dword [ebp + 0x10]
mov ecx, dword [eax + 0x54]
fst dword [esp + 0x30]
fld dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
fadd dword [0x6431f8]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x90]
push edx
fst dword [esp + 0x24]
lea edx, [esp + 0xc4]
fld dword [ebp + 8]
push edx
fld st(0)
xor ebx, ebx
fst dword [esp + 0x8c]
lea edx, [esp + 0x1f]
fld dword [ebp + 0xc]
mov dword [esp + 0xec], ebx
fsub dword [0x6431f8]
push edx
fstp dword [esp + 0x24]
fld st(1)
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x24]
fst dword [esp + 0xcc]
fstp st(0)
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x28]
fstp st(0)
fstp dword [esp + 0xd0]
mov dword [esp + 0xe4], eax
fstp dword [esp + 0xd4]
fldz
fstp dword [esp + 0xd8]
fldz
fstp dword [esp + 0xe8]
fld1
fstp dword [esp + 0xb0]
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp byte [eax], bl
jne 0x4d5378
xor al, al
jmp 0x4d5858
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x90]
fsub dword [esp + 0x30]
fld dword [esp + 0x18]
fsub dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [esp + 0x84]
fstp dword [esp + 0x24]
fld st(1)
fmul dword [esp + 0xa4]
fstp dword [esp + 0x1c]
fmul dword [esp + 0xa4]
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x24]
fmul dword [esp + 0xa4]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fadd dword [esp + 0x30]
fld dword [esp + 0x18]
fadd dword [esp + 0x20]
fld dword [esp + 0x24]
mov dword [esp + 0x24], eax
fadd dword [esp + 0x84]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
fstp dword [ebp + 8]
mov dword [esp + 0x2c], eax
fadd dword [0x643224]
fstp dword [ebp + 0xc]
fstp dword [ebp + 0x10]
call fcn.00403760
cmp byte [eax + 0x384], bl
je 0x4d5457
mov ecx, dword [esp + 0x24]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x4c], esp
mov dword [eax + 8], ecx
call fcn.004d4057
add esp, 0x18
call fcn.00401d7c
mov esi, dword [eax + 0x225c]
call fcn.004061e8
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fmul dword [0x6431f8]
call fcn.006009e4
cdq
push 3
pop ecx
idiv ecx
mov dword [esp + 0x1c], edx
call fcn.00403760
cmp byte [eax + 0x385], bl
je 0x4d549f
push 2
pop eax
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x20]
fmul dword [0x6431ec]
call fcn.006009e4
push 2
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], ebx
neg edx
sbb dl, dl
inc dl
mov byte [esp + 0x17], dl
call fcn.00401d7c
cmp byte [ebp + 0x14], bl
mov eax, dword [eax + 0x2264]
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx*4]
mov edi, dword [eax]
je 0x4d54e1
mov al, byte [esp + 0x17]
jmp 0x4d54ec
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], eax
setne al
cmp byte [ebp + 0x14], bl
je 0x4d5583
cmp al, bl
je 0x4d553e
cmp byte [ebp + 0x18], bl
je 0x4d551e
lea eax, [esp + 0x20]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x3b0
call fcn.00424c69
mov eax, dword [esp + 0x20]
jmp 0x4d5603
lea eax, [esp + 0x30]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x400
call fcn.00424c69
mov eax, dword [esp + 0x30]
jmp 0x4d5603
cmp byte [ebp + 0x18], bl
je 0x4d5563
lea eax, [esp + 0x3c]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x3c4
call fcn.00424c69
mov eax, dword [esp + 0x3c]
jmp 0x4d5603
lea eax, [esp + 0x40]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x414
call fcn.00424c69
mov eax, dword [esp + 0x40]
jmp 0x4d5603
cmp al, bl
je 0x4d55c6
cmp byte [ebp + 0x18], bl
je 0x4d55a9
lea eax, [esp + 0x44]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x388
call fcn.00424c69
mov eax, dword [esp + 0x44]
jmp 0x4d5603
lea eax, [esp + 0x48]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x3d8
call fcn.00424c69
mov eax, dword [esp + 0x48]
jmp 0x4d5603
cmp byte [ebp + 0x18], bl
je 0x4d55e8
lea eax, [esp + 0x4c]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x39c
call fcn.00424c69
mov eax, dword [esp + 0x4c]
jmp 0x4d5603
lea eax, [esp + 0x34]
push eax
call fcn.00403760
mov ecx, eax
add ecx, 0x3ec
call fcn.00424c69
mov eax, dword [esp + 0x34]
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
mov dword [edi + 4], eax
jl 0x4d54c2
cmp byte [ebp + 0x1c], bl
je 0x4d5646
xor edi, edi
call fcn.00401d7c
mov eax, dword [eax + 0x2264]
add eax, edi
mov eax, dword [eax]
mov dl, byte [eax + 5]
movzx ecx, byte [eax + 4]
mov byte [eax + 4], dl
mov dl, byte [eax + 6]
add edi, 4
cmp edi, 0xc
mov byte [eax + 5], dl
mov byte [eax + 6], cl
jl 0x4d561c
fld dword [0x6484ac]
lea ecx, [ebp + 8]
fst dword [esi + 0x30]
push ecx
fst dword [esi + 0x34]
mov ecx, esi
fstp dword [esi + 0x38]
mov eax, dword [esi]
call dword [eax + 8]
call fcn.00405df9
mov ecx, eax
call fcn.0047d341
push eax
lea ecx, [esp + 0xf8]
call fcn.005527f0
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x100]
call fcn.00552aa0
call fcn.00405df9
mov ecx, eax
call fcn.0047c400
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
fld1
fstp dword [esp + 0x64]
lea eax, [esp + 0x24]
fldz
push eax
fstp dword [esp + 0x6c]
lea eax, [esp + 0x3c]
fldz
push eax
lea ecx, [esp + 0x6c]
fstp dword [esp + 0x74]
fldz
fstp dword [esp + 0x78]
fld dword [esp + 0x40]
fadd dword [0x657d40]
fstp dword [esp + 0x40]
fldz
fstp dword [esp + 0x2c]
fld1
fstp dword [esp + 0x30]
fldz
fstp dword [esp + 0x34]
call fcn.0041b253
mov eax, dword [esi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call dword [eax + 0x10]
fldz
mov eax, dword [esi]
push ecx
mov ecx, esi
fstp dword [esp]
call dword [eax + 0x20]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
lea eax, [esp + 0x74]
push eax
mov ecx, esi
mov dword [esp + 0x530], ebx
call fcn.00474798
mov eax, dword [esp + 0x78]
push dword [eax]
call fcn.005686b0
pop ecx
mov edi, eax
call fcn.00405df9
mov ecx, eax
call fcn.0047c400
push edi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
push eax
call fcn.0059a750
cmp eax, ebx
pop ecx
pop ecx
je 0x4d584d
lea ecx, [esp + 0x118]
call fcn.0047bf53
push 5
push 0xa
lea ecx, [esp + 0x120]
mov byte [esp + 0x534], 1
call fcn.0047bf67
call fcn.00403760
cmp byte [eax + 0x386], bl
lea ecx, [esp + 0x118]
je 0x4d57a1
push 2
jmp 0x4d57a3
push 6
push 0xb
call fcn.0047bf67
push ebx
push 8
lea ecx, [esp + 0x120]
call fcn.0047bf67
call fcn.00405df9
mov ecx, eax
call fcn.0047c4be
mov edi, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov byte [esp + 0x530], 2
call fcn.0048097e
mov ecx, edi
call fcn.0047f851
mov ecx, dword [0x960590]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov ecx, edi
call fcn.0047f883
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [0x960590]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.0047fb4e
mov ecx, edi
call fcn.0047f883
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], ebx
call fcn.004b1187
lea ecx, [esp + 0x118]
mov byte [esp + 0x52c], bl
call fcn.0047c035
mov bl, 1
lea ecx, [esp + 0x74]
call fcn.004b1187
mov al, bl
mov ecx, dword [esp + 0x524]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret