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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
mov ebx, ecx
push esi
lea ecx, [ebx + 0x1b8]
push edi
lea edx, [ebx + 0x20]
lea eax, [esp + 0xdc]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ecx
call fcn.004037a0
fld dword [eax]
fstp dword [esp + 0xc]
fld dword [eax + 4]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
lea eax, [ebx + 8]
fstp dword [esp + 0x18]
mov dword [esp + 0x44], eax
fld dword [esp + 0xc]
fstp dword [esp + 0x98]
fld dword [esp + 0x1c]
fstp dword [esp + 0xac]
fld dword [esp + 0x18]
fstp dword [esp + 0xc0]
fld1
fstp dword [esp + 0xd4]
fldz
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fst dword [esp + 0xa4]
fst dword [esp + 0xa8]
fst dword [esp + 0xb0]
fst dword [esp + 0xb4]
fst dword [esp + 0xb8]
fst dword [esp + 0xbc]
fst dword [esp + 0xc4]
fld dword [eax]
fstp dword [esp + 0xc]
fld dword [eax + 4]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
fstp dword [esp + 0x18]
fld dword [esp + 0xc]
mov eax, dword [ebx + 0x74]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0xc8]
fld dword [esp + 0x1c]
fadd st(1)
fstp dword [esp + 0xcc]
fadd dword [esp + 0x18]
fstp dword [esp + 0xd0]
test eax, eax
je 0x4ae9a0
mov ecx, 0x10
fstp st(0)
lea esi, [esp + 0x98]
mov edi, 0x578414
rep movsd dword es:[edi], dword [esi]
inc dword [0x578458]
push 1
mov ebx, 0x576b80
call fcn.0041b7e0
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0x33], al
mov eax, esp
mov byte [eax], cl
mov cl, byte [esp + 0x33]
mov dl, ch
mov dword [esp + 0x24], esp
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], cl
call fcn.0041bbf0
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
fldz
mov ebx, esi
fcom dword [ebx + 0x1ec]
fnstsw ax
fld1
test ah, 5
jp 0x4aea11
fstp st(1)
fld dword [ebx + 0x1ec]
fadd qword [0x555190]
fstp dword [esp + 0x18]
fld dword [ebx + 0x1ec]
fstp dword [esp + 0x1c]
fld dword [ebx + 0x1e8]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esp + 0x1c]
fld st(0)
fsubp st(2)
fsubr dword [esp + 0x18]
fdivp st(1)
fldz
fcom st(1)
fnstsw ax
test ah, 1
jne 0x4ae9fc
fstp st(1)
fld st(0)
fstp dword [esp + 0xc]
jmp 0x4aea19
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 1
jne 0x4aea0b
fstp st(0)
fld st(1)
fstp dword [esp + 0xc]
jmp 0x4aea19
fxch st(1)
fstp dword [esp + 0xc]
fldz
fld dword [esp + 0xc]
mov ecx, dword [ebx + 0x1ac]
mov eax, dword [ecx]
fsubr st(2)
mov dword [esp + 0xc], eax
fstp dword [esp + 0x1c]
cmp eax, ecx
je 0x4aef88
mov cl, 0xff
mov word [esp + 0x19], 0xffff
mov byte [esp + 0x18], cl
jmp 0x4aea50
fld1
mov eax, dword [esp + 0xc]
fldz
mov ebx, edx
fld dword [eax + 0xc0]
lea edi, [eax + 8]
fstp dword [esp + 0x38]
mov dword [esp + 0x30], edi
fld dword [edi + 0xb4]
fstp dword [esp + 0x10]
fld dword [ebx + 0x1e8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fsubr dword [esp + 0x38]
fdivp st(1)
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x4aec9d
fstp st(0)
fstp st(1)
fstp dword [esp + 0x2c]
push ecx
fld dword [ebx + 0x1e8]
lea eax, [edi + 0x34]
fstp dword [esp]
call fcn.004f7af0
fstp qword [esp + 0x20]
push ecx
fld dword [esp + 0x30]
lea esi, [edi + 0x1c]
fstp dword [esp]
call fcn.00406d70
cmp byte [edi + 0xc], 0
fmul qword [esp + 0x20]
fld1
mov esi, dword [esp + 0x44]
fsubrp st(1)
fstp dword [esp + 0x38]
jne 0x4aeadd
mov esi, 0x57c388
lea edx, [edi + 0x10]
lea ecx, [esp + 0x38]
lea eax, [esp + 0xf4]
call fcn.004037a0
mov ecx, eax
lea eax, [esp + 0x10c]
mov edx, edi
call fcn.00403dd0
mov ecx, dword [esp + 0x3c]
mov edx, eax
lea eax, [esp + 0x100]
call fcn.004037a0
mov ecx, eax
lea eax, [esp + 0x8c]
mov edx, esi
call fcn.00403dd0
fld dword [esp + 0x2c]
push ecx
lea esi, [edi + 0x110]
fstp dword [esp]
call fcn.00406d70
mov ecx, dword [esp + 0x3c]
fmul dword [ecx]
push ecx
lea eax, [edi + 0x128]
fstp qword [esp + 0x24]
fld dword [ebx + 0x1e8]
fstp dword [esp]
call fcn.004f7af0
fmul qword [esp + 0x20]
lea edx, [edi + 0x104]
lea ecx, [esp + 0x10]
lea eax, [esp + 0xe8]
fstp dword [esp + 0x10]
call fcn.004037a0
fld dword [eax]
sub esp, 8
fstp dword [esp + 0x40]
fld dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [eax + 8]
lea eax, [esp + 0x50]
fstp dword [esp + 0x1c]
fld dword [esp + 0x40]
fstp dword [esp + 0x50]
fld dword [esp + 0x18]
fstp dword [esp + 0x64]
fld dword [esp + 0x1c]
fstp dword [esp + 0x78]
fld1
fstp dword [esp + 0x8c]
fldz
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fstp dword [esp + 0x88]
fld dword [edi + 0xbc]
fstp dword [esp + 4]
fld dword [edi + 0xc0]
fstp dword [esp]
call fcn.00403470
fld dword [ebx + 0x1e8]
push ecx
fstp dword [esp]
lea eax, [edi + 0xc8]
call fcn.004f7af0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4aecb3
fmul qword [0x554c58]
sub esp, 8
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp dword [esp + 0x1c]
mov dx, word [esp + 0x1c]
movzx eax, dx
shr eax, 4
fldcw word [esp + 0x18]
lea ecx, [eax + 0x400]
and ecx, 0xfff
fld dword [ecx*4 + 0x547b98]
fstp dword [esp + 0x1c]
fld dword [eax*4 + 0x547b98]
fstp dword [esp + 0x40]
fld dword [esp + 0x1c]
lea eax, [esp + 0x50]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.00403470
jmp 0x4aecb5
fstp st(1)
fcom st(1)
fnstsw ax
test ah, 1
jne 0x4aea96
fstp st(0)
jmp 0x4aea98
fstp st(0)
fld dword [esp + 0x78]
mov ecx, 0x10
fadd dword [esp + 0x8c]
lea esi, [esp + 0x48]
mov edi, 0x578414
push 1
fstp dword [esp + 0x7c]
mov ebx, 0x576b80
fld dword [esp + 0x94]
fadd dword [esp + 0x80]
fstp dword [esp + 0x80]
fld dword [esp + 0x98]
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
inc dword [0x578458]
call fcn.0041b7e0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea ebx, [edi + 0x8c]
fld dword [edx + 0x1e8]
push ecx
mov eax, ebx
fstp dword [esp]
call fcn.004f7af0
fstp qword [esp + 0x20]
push ecx
fld dword [esp + 0x30]
lea esi, [edi + 0x5c]
fstp dword [esp]
call fcn.00406d70
fmul qword [esp + 0x20]
push ecx
lea esi, [edi + 0x74]
fstp qword [esp + 0x24]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.00406d70
fmul qword [esp + 0x20]
fmul qword [0x554b78]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
je 0x4aee1d
mov eax, dword [esp + 0x34]
fstp st(0)
fld dword [eax + 0x1e8]
push ecx
mov eax, ebx
fstp dword [esp]
call fcn.004f7af0
fstp qword [esp + 0x20]
fld dword [esp + 0x2c]
push ecx
lea esi, [edi + 0x5c]
fstp dword [esp]
call fcn.00406d70
fmul qword [esp + 0x20]
push ecx
lea esi, [edi + 0x74]
fstp qword [esp + 0x24]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.00406d70
fmul qword [esp + 0x20]
fld qword [0x554b78]
fmul st(1), st(0)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x4aee1d
push ecx
fstp st(0)
mov ecx, dword [esp + 0x38]
fld dword [ecx + 0x1e8]
mov eax, ebx
fstp dword [esp]
call fcn.004f7af0
fstp qword [esp + 0x20]
push ecx
fld dword [esp + 0x30]
lea esi, [edi + 0x5c]
fstp dword [esp]
call fcn.00406d70
fmul qword [esp + 0x20]
push ecx
lea esi, [edi + 0x74]
fstp qword [esp + 0x24]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.00406d70
fmul qword [esp + 0x20]
fmul qword [0x554b78]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
cmp dword [edi + 0x39c], 0
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp dword [esp + 0x30]
mov bl, byte [esp + 0x30]
mov byte [esp + 0x1b], bl
fldcw word [esp + 0x10]
jle 0x4aeed7
mov edx, dword [edi + 0xf0]
test edx, edx
je 0x4aee62
mov ecx, dword [edi + 0xf0]
jmp 0x4aee68
mov ecx, dword [0x5b2fd4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
xor eax, eax
cmp dword [edi + 0x39c], eax
jle 0x4aee91
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x174]
mov dword [ecx], edx
inc eax
add ecx, 0x24
cmp eax, dword [edi + 0x39c]
jl 0x4aee83
mov eax, dword [edi + 0x39c]
push 0
push eax
lea ecx, [edi + 0x15c]
push ecx
call fcn.0041cb50
mov edx, dword [edi + 0xf0]
add esp, 0xc
test edx, edx
je 0x4aeec5
mov ecx, dword [edi + 0xf0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
jmp 0x4aef65
mov ecx, dword [0x5b2fd4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
jmp 0x4aef65
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x4aef65
mov ecx, dword [edi + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
fld dword [edi + 0x100]
fstp dword [esp + 0x30]
sub esp, 0x14
fld dword [edi + 0xfc]
mov eax, esp
fstp dword [esp + 0x28]
mov cl, 0xff
fld dword [edi + 0xf8]
fstp dword [esp + 0x54]
fld dword [edi + 0xf4]
mov word [eax], 0xffff
fstp dword [esp + 0x34]
mov byte [eax + 2], cl
fld dword [esp + 0x44]
mov byte [eax + 3], bl
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
fld dword [esp + 0x54]
fstp dword [esp + 8]
fld dword [esp + 0x34]
mov dword [esp + 0x34], esp
fstp dword [esp + 4]
call fcn.0041c0f0
mov ecx, dword [edi + 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 0x14
call eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
cmp eax, dword [edx + 0x1ac]
jne 0x4aea46
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
fstp st(1)
pop esi
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret 4