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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x63782e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x6c3c60
call fcn.004441f0
mov eax, dword [esi]
sub esp, 0xc
lea ecx, [esp + 0x70]
mov dword [esp + 0x40], esp
mov edi, esp
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x60]
call fcn.0041f190
fld dword [eax + 4]
mov ecx, dword [eax]
fstp dword [edi + 4]
mov dword [edi], ecx
xor ebx, ebx
mov ecx, 0x6c3c60
mov dword [edi + 8], ebx
call fcn.00440b50
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x30], ebx
je 0x4d1c93
xor edi, edi
jmp 0x4d1560
xor ebx, ebx
jmp 0x4d1560
mov ecx, dword [esi + 0x1c]
cmp dword [edi + ecx + 0x14], ebx
mov ebp, dword [edi + ecx + 0xc]
mov edx, dword [edi + ecx + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebx
jle 0x4d1c66
jmp 0x4d1590
mov ebp, dword [esp + 0x1c]
jmp 0x4d1590
mov al, byte [ecx + edi + 0x20]
test al, al
jne 0x4d1d02
mov edx, dword [ecx + edi + 0x28]
mov ebx, dword [ecx + edi + 0x24]
sub edx, ebx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4d1cb3
mov edx, dword [ecx + edi + 0x28]
fld dword [0x6532d8]
fsub dword [esi + 0x28]
sub edx, ebx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
test edx, edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jge 0x4d15ef
fadd dword [0x6532d4]
fdivp st(1)
fld dword [esi + 0x2c]
fcomp dword [esi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x4d18b6
fld dword [0x6532d8]
fsub dword [esi + 0x2c]
fld dword [0x6532d8]
fdiv st(2)
fld st(0)
fmul st(2)
call fcn.00611c14
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + edi + 0x24]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
lea ebx, [eax + eax*2]
mov ecx, edx
fmul st(3)
shl ebx, 2
lea eax, [ecx + ebx + 4]
mov eax, dword [eax]
fsubr st(2)
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + ebx + 0x10]
sub ecx, eax
fmul st(1)
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
fstp dword [esp + 0x24]
mov dword [esp + 0x2c], eax
fstp st(0)
fstp st(0)
fstp st(0)
fild dword [esp + 0x14]
fmul dword [esp + 0x24]
call fcn.00611c14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov ebp, eax
add ebp, edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebx]
mov edx, dword [ecx + ebx + 0xc]
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], eax
fmul dword [esp + 0x24]
call fcn.00611c14
mov edx, dword [esp + 0x18]
mov cl, byte [esi + 0x50]
add eax, edx
test cl, cl
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
lea eax, [ebp - 0x1d]
je 0x4d17ef
cmp eax, 0xffffffeb
jl 0x4d17ef
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x40]
mov dword [esp + 0x14], 0
call fcn.0048ea80
mov ecx, dword [eax + 0x14]
test ecx, ecx
jl 0x4d17ef
lea esp, [esp]
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 0x40]
mov ebp, 2
call fcn.0048ea80
cmp dword [eax + 0x18], ebp
jl 0x4d17ca
lea ecx, [ecx]
mov eax, dword [esp + 0x20]
add eax, 0xffffffe3
push eax
xor eax, eax
push eax
lea ecx, [esp + 0x60]
call fcn.0041f190
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
push ebp
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0xf0]
push edx
lea ecx, [ecx + esi + 0x40]
call fcn.0048ea80
mov ecx, eax
call fcn.0049e100
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
fld dword [esp + 0x48]
mov dword [esp + 0x40], edx
fadd dword [esp + 0x40]
sub esp, 8
mov dword [esp + 0x44], ecx
fstp dword [esp + 4]
lea ecx, [esp + 0x54]
fld dword [esp + 0x4c]
fadd dword [esp + 0x44]
fstp dword [esp]
call fcn.00406d90
mov ecx, dword [esi + 0x40]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push ebp
push eax
lea ecx, [edx + esi + 0x40]
call fcn.0048ea80
mov ecx, eax
call fcn.00492500
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x40]
inc ebp
call fcn.0048ea80
cmp ebp, dword [eax + 0x18]
jle 0x4d1710
mov edx, dword [esi + 0x40]
mov ebp, dword [esp + 0x14]
mov eax, dword [edx + 4]
inc ebp
lea ecx, [eax + esi + 0x40]
mov dword [esp + 0x14], ebp
call fcn.0048ea80
cmp ebp, dword [eax + 0x14]
jle 0x4d16f0
mov ebp, dword [esp + 0x2c]
fld dword [esp + 0x24]
fcomp dword [0x654e5c]
fnstsw ax
test ah, 5
jp 0x4d180a
mov dword [esp + 0x28], 0
jmp 0x4d182d
fld dword [esp + 0x24]
fcomp dword [0x6532d8]
fnstsw ax
test ah, 0x41
jne 0x4d1825
mov dword [esp + 0x28], 0x3f800000
jmp 0x4d182d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edi + 0x24]
mov edx, dword [esp + 0x28]
mov eax, ecx
push edx
lea ecx, [ecx + ebx + 0x14]
push ecx
lea edx, [eax + ebx + 8]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.004d1ee0
mov ecx, dword [eax]
add esp, 0x10
push ecx
mov ecx, 0x6c3c60
call fcn.0040da50
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x70]
push edx
lea ecx, [edi + eax]
call fcn.0049aca0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x16c], 0
call fcn.0044fa50
mov ecx, dword [esp + 0x64]
mov edx, dword [eax]
push ebp
push ecx
mov ecx, eax
call dword [edx + 0x30]
lea ecx, [esp + 0x70]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00450980
mov ecx, 0x6c3c60
call fcn.00406f00
jmp 0x4d1b4b
fstp st(0)
push ecx
fld dword [esi + 0x2c]
mov ecx, 0x6c3c60
fdiv dword [esi + 0x28]
fstp dword [esp]
call fcn.00443d70
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + edi + 0x28]
mov edx, dword [eax - 4]
push edx
mov ecx, 0x6c3c60
call fcn.0040da50
mov ecx, 0x6c3c60
call fcn.004441f0
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [edi + eax]
call fcn.0049aca0
mov ebx, eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xb8]
push edx
lea ecx, [edi + eax]
mov dword [esp + 0x170], 1
call fcn.0049aca0
mov ebp, eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
mov byte [esp + 0x16c], 2
call fcn.0044fa50
mov ecx, dword [ebp]
mov ecx, dword [ecx + 4]
add ecx, ebp
mov ebx, eax
call fcn.0044fa50
mov ebp, eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax + edi + 0x28]
mov eax, edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x10], edx
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x10]
fild dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
fmul dword [0x6532dc]
lea eax, [esp + 0x140]
push eax
fiadd dword [ecx - 8]
mov ecx, ebp
fstp dword [esp + 0x14]
call dword [edx + 0x10]
fild dword [eax + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub esp, 0xc
fmul dword [0x6532dc]
mov eax, esp
mov dword [esp + 0x24], esp
fiadd dword [ecx - 0xc]
mov ecx, 0x6c3c60
mov dword [eax + 4], edx
mov dword [eax + 8], 0
fstp dword [eax]
call fcn.00440b50
lea ecx, [esp + 0xb8]
mov byte [esp + 0x16c], 1
call fcn.00450980
lea ecx, [esp + 0xa0]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00450980
fld dword [0x6532d8]
fsub dword [esi + 0x30]
push ecx
mov ecx, 0x6c3c60
fdiv dword [esi + 0x28]
fmul dword [esi + 0x2c]
fadd dword [esi + 0x30]
fstp dword [esp]
call fcn.00440f00
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [edi + eax]
call fcn.0049aca0
mov ebx, eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xd0]
push edx
lea ecx, [edi + eax]
mov dword [esp + 0x170], 3
call fcn.0049aca0
mov ebp, eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
mov byte [esp + 0x16c], 4
call fcn.0044fa50
mov ecx, dword [ebp]
mov ecx, dword [ecx + 4]
add ecx, ebp
mov ebx, eax
call fcn.0044fa50
mov edx, dword [ebx]
mov ebp, eax
lea eax, [esp + 0x120]
push eax
mov ecx, ebx
call dword [edx + 0x10]
fild dword [eax + 0xc]
mov edx, dword [ebp]
lea eax, [esp + 0xf0]
fmul dword [0x6532dc]
push eax
mov ecx, ebp
fstp dword [esp + 0x14]
call dword [edx + 0x10]
fild dword [eax + 8]
sub esp, 0xc
mov eax, esp
mov ecx, 0x6c3c60
fmul dword [0x6532dc]
mov dword [esp + 0x24], esp
fld dword [esp + 0x1c]
mov dword [eax + 8], 0
fchs
fxch st(1)
fchs
fstp dword [eax]
fstp dword [eax + 4]
call fcn.00440b50
lea ecx, [esp + 0xd0]
mov byte [esp + 0x16c], 3
call fcn.00450980
or ebx, 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x16c], ebx
call fcn.00450980
mov eax, dword [esi + 0x1c]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [edi + eax]
call fcn.0049aca0
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov dword [esp + 0x16c], 5
call fcn.0044fa50
xor ecx, ecx
mov ebp, dword [eax]
xor edx, edx
push edx
push ecx
mov ecx, eax
call dword [ebp + 0x30]
lea ecx, [esp + 0x94]
mov dword [esp + 0x16c], ebx
call fcn.00450980
mov ecx, 0x6c3c60
call fcn.00406f00
mov ecx, 0x6c3c60
call fcn.004419c0
mov ecx, 0x6c3c60
call fcn.004412b0
mov al, byte [esi + 0x50]
test al, al
je 0x4d1c32
mov eax, dword [esi + 0x1c]
mov cl, byte [edi + eax + 0x30]
test cl, cl
je 0x4d1c32
mov eax, dword [0x6c3cb4]
mov ecx, dword [eax]
push 5
push 0x13
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x6c3cb4]
mov edx, dword [eax]
push 2
push 0x14
push eax
call dword [edx + 0xc8]
mov ecx, 0x6c3c60
call fcn.004441f0
sub esp, 0xc
mov eax, esp
mov ecx, 0x6c3c60
mov dword [esp + 0x1c], esp
mov dword [eax], 0xc1000000
mov dword [eax + 4], 0xc1200000
mov dword [eax + 8], 0
call fcn.00440b50
fld dword [esi + 0x3c]
fdiv dword [esi + 0x4c]
push ecx
mov ecx, 0x6c3c60
fmul dword [0x663214]
fadd st(0), st(0)
fsin
fadd dword [0x6532d8]
fmul dword [0x6532dc]
fstp dword [esp]
call fcn.00443d70
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [ecx + esi + 0x40]
call fcn.0048ea80
mov ecx, eax
call fcn.004ae400
mov ecx, 0x6c3c60
call fcn.004412b0
mov ecx, 0x6c3c60
call fcn.004419c0
mov eax, dword [0x6c3cb4]
mov edx, dword [eax]
push 5
push 0x13
push eax
call dword [edx + 0xc8]
mov eax, dword [0x6c3cb4]
mov ecx, dword [eax]
push 6
push 0x14
push eax
call dword [ecx + 0xc8]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edi + ecx + 0x18]
mov edx, dword [edi + ecx + 0x1c]
add ebp, eax
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, dword [edi + ecx + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
inc eax
cmp eax, edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], eax
jl 0x4d1583
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov ebx, dword [esp + 0x30]
sub ecx, edx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc ebx
add ecx, edx
add edi, 0x34
cmp ebx, ecx
mov dword [esp + 0x30], ebx
jb 0x4d1556
mov ecx, 0x6c3c60
call fcn.004412b0
mov ecx, dword [esp + 0x164]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0xac]
push edx
add ecx, edi
call fcn.0049aca0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x16c], 6
call fcn.0044fa50
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x30]
lea ecx, [esp + 0xac]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00450980
jmp 0x4d1c36
lea edx, [esp + 0xc4]
push edx
add ecx, edi
call fcn.0049aca0
fld dword [esi + 0x2c]
mov ecx, dword [eax]
fsub dword [esi + 0x28]
mov ecx, dword [ecx + 4]
add ecx, eax
fstp dword [esp + 0x14]
mov dword [esp + 0x16c], 7
mov dword [esp + 0x54], 0
call fcn.0044fa50
fld dword [esp + 0x14]
fcomp dword [0x654e5c]
mov ecx, eax
lea ebx, [esp + 0x54]
fnstsw ax
test ah, 5
jnp 0x4d1d55
lea ebx, [esp + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x110]
push eax
call dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
sub ecx, 7
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul dword [ebx]
fld dword [0x6532d8]
fsub dword [esi + 0x28]
fdivp st(1)
call fcn.00611c14
mov ebx, eax
lea ecx, [esp + 0xc4]
add ebx, 7
mov dword [esp + 0x16c], 0xffffffff
call fcn.00450980
test ebx, ebx
jle 0x4d1c36
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xdc]
push edx
lea ecx, [edi + eax]
call fcn.0049aca0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x16c], 8
call fcn.0044fa50
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0x134]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x24]
push edx
push ebx
push ebp
lea ecx, [esp + 0x160]
call fcn.004062d0
mov ecx, dword [0x6b5a14]
push ecx
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 ecx, 0x6c3c60
mov dword [edx + 0xc], eax
call fcn.00442b40
lea ecx, [esp + 0xdc]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00450980
fld dword [esi + 0x2c]
fdiv dword [esi + 0x28]
mov dword [esp + 0x34], 0x3f800000
fst dword [esp + 0x10]
fcomp dword [0x6532d8]
fnstsw ax
test ah, 5
lea eax, [esp + 0x10]
jnp 0x4d1e60
lea eax, [esp + 0x34]
mov ecx, dword [eax]
push ecx
mov ecx, 0x6c3c60
call fcn.00443d70
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x88]
push edx
lea ecx, [edi + eax]
call fcn.0049aca0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x16c], 9
call fcn.0044fa50
mov edx, dword [eax]
push ebx
push ebp
mov ecx, eax
call dword [edx + 0x30]
lea ecx, [esp + 0x88]
mov dword [esp + 0x16c], 0xffffffff
call fcn.00450980
mov ecx, 0x6c3c60
call fcn.004419c0
lea ecx, [esi + 0x34]
call fcn.00415590
mov ecx, 0x6c3c60
call fcn.00441680
jmp 0x4d1c36