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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aec54
sub esp, 0x70
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edi
cmp edi, 0
jne 0x4aec4d
cmp edx, 0
jne 0x4aec4d
mov ebx, dword [esp + 0x68]
cmp ebx, 0
jne 0x4aec4d
mov eax, 1
cmp al, 0
je 0x4ae9e3
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
add esp, 0x70
ret
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
call fcn.004a72f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ecx, 0
jg 0x4aea87
jl 0x4aea35
cmp edx, 0
ja 0x4aea87
mov ebx, dword [0x61a1b0]
mov dword [esp + 0x98], ebx
mov ebx, dword [0x61a1b4]
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x61a1b8]
mov dword [esp + 0xa0], ebx
mov ebx, dword [0x61a1bc]
mov dword [esp + 0xa4], ebx
mov ebx, dword [0x6c8510]
mov dword [esp + 0xa8], ebx
mov ebx, dword [0x6c8514]
mov dword [esp + 0xac], ebx
add esp, 0x70
ret
mov dword [esp + 0x28], edx
mov dword [esp], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x94]
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0044b5b0
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, 0
jg 0x4aeae5
jl 0x4aeaca
cmp edx, 0x77359400
jae 0x4aeae5
cmp ebx, 0
jg 0x4aec41
jl 0x4aeae1
cmp ebp, 0x77359400
jae 0x4aec41
mov edx, ebp
mov ecx, ebx
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], edx
mov dword [esp], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.0044b5b0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, ebx
adc edx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.0044b5b0
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, 0x3b9aca00
xor ebx, ebx
mov ebp, edx
or ebp, ebx
jne 0x4aec2c
mul esi
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub eax, ebx
sbb edx, ecx
mov ecx, eax
mov ebx, dword [esp + 0x58]
add ecx, ebx
cmp ecx, 0x3b9aca00
jl 0x4aec11
mov eax, dword [esp + 0x50]
add eax, 1
adc edi, 0
mov dword [esp + 0x50], eax
sub ecx, 0x3b9aca00
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
add esp, 0x70
ret
cmp ecx, 0
jge 0x4aebd9
mov eax, dword [esp + 0x50]
sub eax, 1
sbb edi, 0
mov dword [esp + 0x50], eax
add ecx, 0x3b9aca00
jmp 0x4aebd9
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x4aeba5
mov edx, 0x77359400
xor ecx, ecx
jmp 0x4aeae5
xor eax, eax
jmp 0x4ae9a7
call fcn.00450fb0
jmp fcn.004ae910