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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517769
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5750c8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x5750c8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
movzx edx, byte [0x5b3088]
mov esi, ecx
cmp byte [esi + 0x7d], 0
mov dword [esp + 0x1c], edx
jne 0x4acdbd
movzx eax, byte [esi + 0x7c]
inc eax
cmp edx, eax
jl 0x4acdbd
mov ecx, 0x1e
mov byte [esi + 0x5f], 0xff
mov word [esi + 0x7e], cx
mov byte [esi + 0x7d], 1
cmp byte [esi + 0x84], 0
fld dword [ebp + 8]
fstp dword [esp + 0x48]
je 0x4acfd7
fld dword [0x57c3ac]
mov eax, dword [0x5b30bc]
inc dword [0x5b2b80]
fstp dword [esp + 0x24]
fld dword [0x57c3b0]
mov ecx, dword [0x5b2b74]
fstp dword [esp + 0x28]
mov dword [esp + 0x34], ecx
fld dword [eax + 0x158]
fmul qword [0x555180]
fmul dword [eax + 0x158]
mov eax, dword [0x5b2b78]
fstp dword [esp + 0x38]
test eax, eax
jle 0x4acfb1
mov edi, dword [0x576b54]
mov ebx, dword [0x576b50]
mov dword [esp + 0x3c], eax
cmp byte [ecx + 0x30], 0
je 0x4acf99
cmp ecx, esi
je 0x4acf99
fld dword [ecx + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x18]
fld dword [ecx + 0xc]
fsub dword [esi + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fst dword [esp + 0x40]
fld dword [esp + 0x14]
fst dword [esp + 0x44]
fld st(1)
fmulp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x38]
fld dword [esp + 0x14]
fld st(1)
fmulp st(2)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4acf97
fld1
fstp dword [esp + 0x18]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4acead
push ecx
fstp dword [esp]
call fcn.00416580
fstp dword [esp + 0x1c]
add esp, 4
jmp 0x4acf28
mov edx, dword [0x576b5c]
fstp st(0)
mov eax, dword [0x576b58]
push edi
push ebx
push edx
push eax
call fcn.00513700
add eax, dword [0x576b60]
mov ecx, 0xff3a
adc edx, dword [0x576b64]
mov ebx, eax
mov edi, edx
mov eax, edi
mul ecx
movzx eax, dx
shr eax, 4
lea edx, [eax + 0x400]
and edx, 0xfff
mov dword [0x576b50], ebx
mov dword [0x576b54], edi
fld dword [edx*4 + 0x547b98]
fstp dword [esp + 0x14]
fld dword [eax*4 + 0x547b98]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x14]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
fld dword [0x555178]
lea ecx, [esp + 0x18]
fstp dword [esp + 0x20]
lea eax, [esp + 0x64]
fld dword [esp + 0x38]
lea edx, [esp + 0x40]
fsub dword [esp + 0x18]
fstp dword [esp + 0x14]
call fcn.00412340
mov edx, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x4c]
call fcn.00403c20
mov edx, eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x54]
call fcn.00403c20
mov edx, eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x5c]
call fcn.00403c20
fld dword [esp + 0x24]
fsub dword [eax]
mov ecx, dword [esp + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub dword [eax + 4]
fstp dword [esp + 0x28]
jmp 0x4acf99
fstp st(0)
add ecx, 0x94
dec dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
jne 0x4ace2d
mov edx, dword [esp + 0x1c]
fld dword [esi + 8]
fadd dword [esp + 0x24]
fstp dword [esi + 8]
fld dword [esi + 0xc]
fadd dword [esp + 0x28]
fstp dword [esi + 0xc]
fld dword [esi + 0x90]
fmul dword [0x576798]
fmul dword [ebp + 8]
fstp dword [ebp + 8]
fldz
fcom dword [esi + 0x80]
fnstsw ax
test ah, 5
jp 0x4ad185
cmp byte [0x5b3072], 0
jne 0x4ad1a8
fld dword [esi + 0x80]
fstp dword [esp + 0x20]
fld dword [esi + 0x80]
fsub dword [ebp + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x80]
fxch st(1)
fstp dword [esi + 0x10]
fld dword [esp + 0x20]
fld qword [0x5550f8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x4ad155
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ad159
cmp byte [esi + 0x84], 0
je 0x4ad159
cmp byte [esi + 0x8c], 0
je 0x4ad159
cmp byte [esi + 0x85], 0
je 0x4ad0bc
mov edi, dword [esi + 0x88]
call fcn.004ffb60
lea ecx, [edi - 3]
call fcn.004fe220
test al, al
jne 0x4ad159
cmp byte [esi + 0x85], al
je 0x4ad0bc
mov eax, dword [esi + 0x88]
add eax, 0xfffffffe
cmp eax, 1
jg 0x4ad09e
mov eax, 1
jmp 0x4ad0a8
cmp eax, 8
jl 0x4ad0a8
mov eax, 8
push eax
push 0x54d174
lea edx, [esp + 0x74]
call fcn.004198f0
add esp, 8
jmp 0x4ad0ee
mov edx, dword [str.New_best_score]
mov eax, dword [0x54d184]
mov ecx, dword [0x54d188]
mov dword [esp + 0x6c], edx
mov dx, word [0x54d18c]
mov dword [esp + 0x70], eax
mov al, byte [0x54d18e]
mov dword [esp + 0x74], ecx
mov word [esp + 0x78], dx
mov byte [esp + 0x7a], al
mov dword [esp + 0x2c], vtable.Mortar::Delegate1_bool__class_Mortar::MortarSound__::Global.0
mov dword [esp + 0x30], 0x494d00
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0xe8], 0
call fcn.0040e4d0
fld1
mov edi, dword [0x5b3200]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [esp + 0x98]
fld dword [0x554c40]
fstp dword [esp]
call fcn.00494e50
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0x2c], vtable.Mortar::Delegate1_bool__class_Mortar::MortarSound__::BaseDelegate.0
jmp 0x4ad159
fstp st(1)
fstp st(0)
fldz
fcomp dword [esi + 0x80]
fnstsw ax
test ah, 1
jne 0x4ad1aa
cmp byte [esi + 0x58], 0
lea ecx, [esi + 0x38]
je 0x4ad173
mov ecx, dword [ecx]
test ecx, ecx
je 0x4ad17f
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push esi
call eax
mov byte [esi + 0x30], 0
jmp 0x4ad1aa
cmp byte [esi + 0x7d], 0
fstp st(0)
je 0x4ad1aa
movzx ecx, byte [esi + 0x7c]
cmp edx, ecx
jg 0x4ad1aa
mov edx, 0x1e
mov byte [esi + 0x5f], 0xff
mov word [esi + 0x7e], dx
mov byte [esi + 0x7d], 0
jmp 0x4ad1aa
fstp st(0)
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret 4