Function at 0x4ae210
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ae7fa
sub esp, 0x68
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x4ae238
mov ecx, dword [eax + 0x14]
jmp 0x4ae23f
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x4c], ecx
lea edx, [eax + 0x18]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
call fcn.0047c730
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jbe 0x4ae7ef
mov edx, dword [esp + 0x20]
movzx ebx, byte [edx + 1]
mov ebp, dword [esp + 0x28]
cmp bl, 0x2d
je 0x4ae2a1
cmp bl, 0x2b
jne 0x4ae2a6
dec ebp
inc edx
dec ecx
jmp 0x4ae2a9
mov byte [edx], 0x2b
mov ebx, dword [esp + 0x6c]
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ae2d1
test ecx, ecx
jbe 0x4ae7e6
cmp byte [edx], 0x2b
jne 0x4ae2d1
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ae2d1
mov byte [edx], 0x20
cmp ecx, 1
jbe 0x4ae7dc
movzx esi, byte [edx + 1]
xchg esi, eax
cmp al, 0x49
xchg esi, eax
je 0x4ae389
xchg esi, eax
cmp al, 0x4e
xchg esi, eax
je 0x4ae389
movzx esi, byte [ebx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ae3d6
mov esi, dword [esp + 0x7c]
cmp esi, 0x62
je 0x4ae3d6
cmp esi, 0x67
jg 0x4ae320
cmp esi, 0x47
je 0x4ae32a
cmp esi, 0x67
je 0x4ae32a
jmp 0x4ae33a
cmp esi, 0x76
je 0x4ae32a
cmp esi, 0x78
jne 0x4ae33a
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x4ae33c
mov eax, 6
jmp 0x4ae33c
xor eax, eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2f], 0
mov word [esp + 0x33], 0
mov edi, 1
xor edi, edi
xchg edi, eax
mov byte [esp + 0x35], al
xchg edi, eax
xor edi, edi
xchg edi, eax
mov byte [esp + 0x37], al
xchg edi, eax
xor edi, edi
mov dword [esp + 0x38], edi
mov edi, 6
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x2f]
mov dword [esp + 0x5c], edi
mov edi, 1
jmp 0x4ae4ef
movzx eax, byte [ebx + 0xa]
mov byte [esp + 0x36], al
mov byte [ebx + 0xa], 0
cmp byte [edx + 1], 0x4e
jne 0x4ae3b2
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ae3b2
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ae3b2
dec ebp
inc edx
dec ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.004acc20
movzx eax, byte [esp + 0x36]
mov ecx, dword [esp + 0x6c]
mov byte [ecx + 0xa], al
add esp, 0x68
ret
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ae3f1
test ecx, ecx
jbe 0x4ae4dd
cmp byte [edx], 0x2b
je 0x4ae4aa
movzx esi, byte [ebx + 0xa]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ae492
movzx esi, byte [ebx + 6]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ae492
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ae492
cmp dword [ebx + 0x10], ecx
jle 0x4ae492
test ecx, ecx
jbe 0x4ae4d4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], edx
mov eax, dword [ebx]
movzx ecx, byte [edx]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.004ae9b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [esp], eax
mov edx, dword [esp + 0x40]
sub ecx, edx
mov dword [esp + 4], ecx
call fcn.004acae0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov edx, dword [esp + 0x60]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004ae810
add esp, 0x68
ret
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.004acc20
add esp, 0x68
ret
mov dword [esp], ebx
lea eax, [ebp - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp + 4], eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004acc20
add esp, 0x68
ret
xor eax, eax
mov ecx, eax
call fcn.00474b20
xor eax, eax
mov ecx, eax
call fcn.00474b20
inc edi
mov byte [esp + 0x35], bl
mov ebx, dword [esp + 0x6c]
cmp ecx, edi
jle 0x4ae6bc
mov dword [esp + 0x48], edi
mov dword [esp + 0x58], eax
movzx ebx, byte [edx + edi]
cmp bl, 0x45
ja 0x4ae52c
cmp bl, 0x2e
jne 0x4ae522
movzx ebx, byte [esp + 0x35]
mov ebx, 1
mov byte [esp + 0x37], bl
movzx ebx, byte [esp + 0x35]
jmp 0x4ae4e6
cmp bl, 0x45
je 0x4ae53e
jmp 0x4ae5fb
cmp bl, 0x50
je 0x4ae616
cmp bl, 0x65
jne 0x4ae5f6
cmp esi, 0x78
je 0x4ae5fb
cmp esi, 0x58
je 0x4ae5fb
sub ebp, edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
sub ecx, edi
mov ebx, dword [esp + 0x38]
lea esi, [ebx + ecx]
add ebp, edx
mov edx, dword [esp + 0x3c]
cmp edx, esi
jae 0x4ae5b8
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x4c3c20]
mov dword [esp + 0x10], eax
call fcn.00470510
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x5c]
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004753d0
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
mov ecx, edi
movzx ebx, byte [esp + 0x35]
mov eax, dword [esp + 0x58]
jmp 0x4ae4e6
cmp bl, 0x70
je 0x4ae616
cmp bl, 0x30
setne bl
movzx ebp, byte [esp + 0x35]
or ebx, ebp
test bl, bl
je 0x4ae60d
dec eax
mov ebp, dword [esp + 0x44]
jmp 0x4ae4e6
sub ebp, edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
sub ecx, edi
mov ebx, dword [esp + 0x38]
lea esi, [ebx + ecx]
add ebp, edx
mov edx, dword [esp + 0x3c]
cmp edx, esi
jae 0x4ae67e
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0x4c3c20]
mov dword [esp + 0x10], eax
call fcn.00470510
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x5c]
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004753d0
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x48]
mov ecx, edi
movzx ebx, byte [esp + 0x35]
mov eax, dword [esp + 0x58]
jmp 0x4ae4e6
movzx esi, byte [esp + 0x37]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4ae71f
cmp ecx, 2
jne 0x4ae6d3
cmp byte [edx + 1], 0x30
jne 0x4ae6d3
dec eax
inc ecx
cmp ebp, ecx
jae 0x4ae712
mov dword [esp + 0x50], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4c3c20]
mov dword [esp + 0x10], eax
call fcn.00470510
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x6c]
mov byte [ecx + edx - 1], 0x2e
jmp 0x4ae71f
mov byte [ecx + edx - 1], 0x30
dec eax
test eax, eax
jle 0x4ae764
inc ecx
cmp ebp, ecx
jae 0x4ae719
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4c3c20]
mov dword [esp + 0x10], eax
call fcn.00470510
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x6c]
jmp 0x4ae719
mov eax, dword [esp + 0x38]
lea esi, [eax + ecx]
cmp ebp, esi
jae 0x4ae7a5
mov dword [esp + 0x40], ecx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x4c3c20]
mov dword [esp + 0x10], ecx
call fcn.00470510
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], ebp
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004753d0
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
jmp 0x4ae3d6
mov eax, 1
call fcn.00474b20
xor eax, eax
mov ecx, eax
call fcn.00474b20
mov eax, 1
call fcn.00474b20
nop
call fcn.004736a0
jmp fcn.004ae210