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

Disassembly:
sub esp, 0x124
mov eax, dword [0x6397d4]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x330]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
push eax
call fcn.00402a90
mov ecx, eax
call fcn.00425220
mov ebx, eax
test ebx, ebx
je 0x4ae7ae
push ebp
push edi
push 0xff
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call sub.MSVCR80.dll_memset
movzx ecx, word [ebx + 0x3d]
movzx edx, word [ebx + 0x3b]
add esp, 0xc
push 0x1e1e1e
push 0
push 0xffffff
mov dword [esp + 0x20], ecx
push 0x562815
mov ecx, esi
mov dword [esp + 0x28], edx
call fcn.004321d0
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebx + 0x1e]
push eax
lea ecx, [esp + 0x34]
push 0x564718
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0xffffff
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00432170
mov ecx, dword [esi + 0x330]
mov eax, dword [ecx]
mov edx, dword [eax + 0x7c]
call edx
mov ecx, dword [0x63aec0]
movzx eax, ax
push eax
call fcn.0044e9f0
mov edi, eax
test edi, edi
je 0x4ae56a
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
movzx eax, al
cmp eax, 0xc
jge 0x4ae4b4
mov ebp, dword [ebx + eax*4 + 0x7f]
test ebp, ebp
mov dword [esp + 0x10], ebp
jle 0x4ae4ae
mov eax, dword [edi]
mov edx, dword [eax + 0xa8]
mov ecx, edi
call edx
cmp al, 0xc
mov ecx, edi
jae 0x4ae453
mov eax, dword [edi]
mov edx, dword [eax + 0xa0]
call edx
test eax, eax
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x4ae3dd
fadd dword [0x562930]
fmul qword [0x563b10]
fidiv dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp qword [0x567bf8]
fnstsw ax
test ah, 0x41
jne 0x4ae419
mov eax, dword [edi]
mov edx, dword [eax + 0xa0]
mov ecx, edi
call edx
add ebp, 0xffffffff
cmp eax, ebp
je 0x4ae419
fld dword [0x567bf0]
fstp dword [esp + 0x10]
mov eax, dword [edi]
fld dword [esp + 0x10]
mov edx, dword [eax + 0xa8]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call edx
movzx eax, al
push eax
push 0x1d7
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x14
jmp 0x4ae499
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
call eax
push eax
call fcn.00402a90
mov ecx, eax
call fcn.00515240
test eax, eax
jne 0x4ae499
mov edx, dword [edi]
mov eax, dword [edx + 0xa8]
mov ecx, edi
call eax
movzx ecx, al
push ecx
push 0x195
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
push 0
push 0
push 0xe6e826
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00432170
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [edi]
mov eax, dword [edx + 0xa8]
mov ecx, edi
call eax
test al, al
jbe 0x4ae50e
mov edx, dword [edi]
mov eax, dword [edx + 0xa8]
mov ecx, edi
call eax
movzx eax, al
movzx eax, word [ebx + eax*2 + 0xad]
movzx ecx, ax
push ecx
push 0x1d8
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
lea edx, [esp + 0x38]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0xe6e826
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00432170
movzx eax, word [ebx + 0x31]
mov ecx, dword [0x648a5c]
cmp ax, word [ecx + 0x480]
jbe 0x4ae560
movzx edx, ax
push edx
push 0x1cc
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
lea eax, [esp + 0x38]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0xe61414
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00432170
mov dword [esi + 0x1f8], 0xffff6464
jmp 0x4ae56a
mov dword [esi + 0x1f8], 0xffffffff
mov edi, dword [esp + 0x18]
cmp di, 8
jne 0x4ae593
mov edx, dword [0x648a5c]
cmp dword [edx + 0x434], 0
jne 0x4ae5c1
push 0
push 0
push 0xe61414
push 0x677
jmp 0x4ae5af
mov eax, dword [0x648a5c]
cmp dword [eax + 0x434], 1
jne 0x4ae5c1
push 0
push 0
push 0xe61414
push 0x678
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
mov ecx, esi
call fcn.00432170
mov ecx, dword [0x648a5c]
call fcn.004901f0
mov ecx, dword [0x648a5c]
movzx ebx, ax
call fcn.00490220
mov ecx, dword [0x648a5c]
cmp dword [ecx + 0x434], 1
movzx eax, ax
mov dword [esp + 0x10], eax
jne 0x4ae612
cmp di, 8
jne 0x4ae6e9
mov edi, dword [esp + 0x14]
test di, di
je 0x4ae6e9
cmp di, ax
je 0x4ae6bf
jmp 0x4ae62b
cmp di, 1
jne 0x4ae6af
cmp word [esp + 0x14], bx
je 0x4ae6e9
mov edi, dword [esp + 0x14]
movzx eax, di
add eax, 0xffffffff
cmp eax, 5
ja case.default.0x4ae636
jmp dword [eax*4 + 0x4ae7c8]
push 0
push 0
push 0xe61414
push 0x1d1
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
mov ecx, esi
call fcn.00432170
jmp case.default.0x4ae636
push 0
push 0
push 0xe61414
push 0x1d2
jmp 0x4ae64b
push 0
push 0
push 0xe61414
push 0x1d3
jmp 0x4ae64b
push 0
push 0
push 0xe61414
push 0x1d4
jmp 0x4ae64b
push 0
push 0
push 0xe61414
push 0x1d5
jmp 0x4ae64b
push 0
push 0
push 0xe61414
push 0x1d6
jmp 0x4ae64b
mov edi, dword [esp + 0x14]
cmp word [esp + 0x18], 8
jne 0x4ae6e9
mov eax, dword [esp + 0x10]
test di, di
je 0x4ae6e9
cmp bx, ax
je 0x4ae6e9
push 0
push 0
push 0xe61414
push 0x67c
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
mov ecx, esi
call fcn.00432170
mov ecx, dword [esp + 0x138]
test ecx, ecx
je 0x4ae7ac
mov eax, 0x10624dd3
mul ecx
shr edx, 6
lea edi, [edx + 1]
push edi
push 0x564720
push 0x649a94
call ebp
add esp, 0xc
fld dword [esi + 0x204]
call fcn.00551860
fld dword [esi + 0x208]
add eax, 0xd
mov dword [esp + 0x1c], eax
call fcn.00551860
add eax, 2
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, 0x649a94
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4ae750
push 0xffb9b9b9
push 0xd2fafafa
lea edx, [esp + 0x24]
push edx
sub eax, ecx
push eax
push 0x649a94
push 0xe
mov ecx, 0x647ca8
call fcn.0041d060
push edi
push 0x246
mov ecx, 0x64aa48
call fcn.004bcff0
push eax
lea eax, [esp + 0x38]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0xffc800
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00432170
pop edi
pop ebp
mov ecx, dword [esp + 0x128]
pop esi
pop ebx
xor ecx, esp
call fcn.0055160d
add esp, 0x124
ret 4