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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [esp + 0x60], 0
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x5c], eax
lea eax, [esi + edx]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], eax
push edi
cmp esi, 1
jbe 0x4ae453
jmp 0x4ae440
mov ecx, dword [ebx]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp al, 8
je 0x4ae453
dec esi
cmp esi, 1
ja 0x4ae440
mov ecx, dword [ebx]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, dword [ebx]
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov esi, dword [ebx]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
lea ecx, [edi - 1]
push ecx
push esi
call edx
push 0xffffffffffffffff
movsx ecx, al
mov eax, dword [esp + 0x6c]
push ebx
push ecx
sub eax, edi
lea ecx, [esp + 0x1c]
push eax
push edi
call fcn.00476050
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
jae 0x4aef17
jmp 0x4ae4a0
cmp byte [esp + 0x3c], 0
je 0x4ae4d6
mov eax, dword [esp + 0x2c]
xor ebx, ebx
cmp dword [esp + 0x1c], eax
push dword [esp + 0x40]
sbb ecx, ecx
mov dword [esp + 0x68], eax
neg ecx
mov dword [esp + 0x60], ebx
inc ecx
sub eax, ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.00475ef0
xor edi, edi
mov dword [esp + 0x40], edi
jmp 0x4ae4de
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
cmp esi, 0x20
je 0x4ae4f1
cmp esi, 9
je 0x4ae4f1
inc ebx
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x2c]
sub ebx, dword [esp + 0x64]
cmp byte [ebp + 0x14], 0
je 0x4ae7c5
cmp ebx, 6
jl 0x4ae511
cmp ebx, 0x48
jl 0x4ae9ab
test ebx, ebx
jne 0x4ae531
push esi
call dword [0x5ad86c]
add esp, 4
cmp eax, 0x63
je 0x4ae53a
mov esi, dword [esp + 0x48]
cmp esi, 0x2a
je 0x4ae53a
mov edi, dword [esp + 0x40]
cmp esi, 0x21
jne 0x4ae69f
push str.cdec_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push str.dec_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push 0x5b7148
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push str.cdir_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push str.dir_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push 0x5b7180
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push str.cms_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push str.ms_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
push str._ms_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4ae5fc
cmp dword [esp + 0x50], 0x24
je 0x4ae5fc
push 1
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4ae621
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov dword [esp + 0x40], 0xb
mov al, byte [esp + 0x3d]
test al, al
jne 0x4aef00
lea ecx, [ecx]
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x18]
jae 0x4aef00
mov byte [esp + 0x3c], al
test al, al
je 0x4ae669
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
inc esi
mov dword [esp + 0x30], esi
mov edx, dword [eax]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
lea eax, [esi + 1]
push eax
push edx
call ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
call fcn.00475fb0
mov al, byte [esp + 0x3d]
test al, al
je 0x4ae630
jmp 0x4aef00
cmp ebx, 0x48
jl 0x4ae6f4
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push edi
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
cmp byte [esp + 0x3d], 0
mov dword [esp + 0x40], 1
jne 0x4aef00
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
jae 0x4aef00
lea ecx, [esp + 0x10]
call fcn.004761d0
cmp byte [esp + 0x3d], 0
je 0x4ae6d1
jmp 0x4aef00
cmp ebx, 5
jge 0x4ae72c
mov ecx, dword [esp + 0x2c]
add esi, 0xffffffd0
push edi
cmp esi, 9
ja 0x4ae7a3
cmp dword [esp + 0x20], ecx
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov dword [esp + 0x40], 0xd
jmp 0x4aef00
jne 0x4aef00
cmp esi, 0xd
je 0x4ae79e
cmp esi, 0xa
je 0x4ae79e
push 0xe
lea ecx, [esp + 0x14]
call fcn.00476250
mov eax, dword [esp + 0x48]
cmp eax, 0x20
je 0x4aef00
cmp eax, 9
jl 0x4ae762
cmp eax, 0xd
jle 0x4aef00
cmp eax, 0x30
je 0x4aef00
lea ecx, [esp + 0x10]
call fcn.004761d0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov edi, dword [esp + 0x60]
mov dword [esp + 0x40], edi
jmp 0x4aef00
mov ecx, dword [esp + 0x2c]
push edi
cmp dword [esp + 0x20], ecx
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov dword [esp + 0x40], 0
jmp 0x4aef00
cmp esi, 0x26
jne 0x4ae9ab
cmp edi, 1
je 0x4aea7f
mov al, 0x20
lea ebx, [esi - 0x25]
lea esp, [esp]
cmp al, 0x20
je 0x4ae7ec
cmp al, 9
je 0x4ae7ec
cmp al, 0xb
jne 0x4ae83a
cmp ebx, 0x84
jge 0x4ae83a
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
add edi, ebx
mov eax, dword [esi + 0xfa8]
cmp edi, eax
jl 0x4ae810
cmp edi, dword [esi + 0xfac]
jl 0x4ae82c
mov ecx, dword [esp + 0x10]
push edi
call fcn.004727c0
mov eax, dword [esi + 0xfa8]
cmp edi, eax
jl 0x4ae835
cmp edi, dword [esi + 0xfac]
jge 0x4ae835
sub esi, eax
inc ebx
mov al, byte [esi + edi + 4]
jmp 0x4ae7e0
xor al, al
inc ebx
jmp 0x4ae7e0
cmp al, 0x21
jne 0x4ae89f
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
cmp dword [esp + 0x50], 0x21
mov edi, 0xe
mov dword [esp + 0x40], edi
jne 0x4ae9a7
lea ecx, [esp + 0x10]
call fcn.004761d0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov edi, 1
jmp 0x4ae9a3
cmp al, 0xd
je 0x4ae8b0
cmp al, 0xa
je 0x4ae8b0
mov edi, dword [esp + 0x40]
jmp 0x4ae9a7
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xe
call fcn.004761d0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], 0
jmp 0x4ae910
cmp ecx, 0x20
mov edx, dword [esp + 0x2c]
je 0x4ae921
lea eax, [ecx - 9]
cmp eax, 4
ja 0x4ae957
cmp edx, dword [esp + 0x18]
jae 0x4ae957
lea ecx, [esp + 0x10]
call fcn.004761d0
mov ecx, dword [esp + 0x48]
xor eax, eax
cmp byte [esp + 0x3c], al
setne al
dec eax
and eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
cmp ecx, 0x20
je 0x4ae913
cmp ecx, 9
je 0x4ae910
inc eax
mov dword [esp + 0x5c], eax
jmp 0x4ae910
cmp ecx, 0x26
jne 0x4ae98a
cmp dword [esp + 0x1c], edx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
sbb eax, eax
neg eax
inc eax
sub edx, eax
push edx
call fcn.00475ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xe
call fcn.004761d0
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], edx
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
sbb eax, eax
neg eax
inc eax
sub edx, eax
push edx
call fcn.00475ef0
mov dword [esp + 0x40], edi
mov esi, dword [esp + 0x48]
cmp esi, 0x23
jne 0x4aea7f
mov ebx, dword [esp + 0x5c]
cmp ebx, 1
jne 0x4aea83
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push edi
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov cl, byte [esp + 0x3d]
mov edi, 0xb
mov dword [esp + 0x40], edi
test cl, cl
jne 0x4aea5c
lea esp, [esp]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
jae 0x4aea52
mov byte [esp + 0x3c], cl
test cl, cl
je 0x4aea21
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
inc esi
mov dword [esp + 0x30], esi
mov edx, dword [eax]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
lea eax, [esi + 1]
push eax
push edx
call ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
call fcn.00475fb0
mov cl, byte [esp + 0x3d]
test cl, cl
je 0x4ae9f0
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x4aea87
mov esi, dword [esp + 0x48]
cmp esi, 0xd
je 0x4aecd0
cmp esi, 0xa
je 0x4aecd0
test edi, edi
jne 0x4aef00
jmp 0x4aecf6
mov ebx, dword [esp + 0x5c]
mov cl, byte [esp + 0x3d]
cmp edi, 6
jne 0x4aea92
push edi
jmp 0x4aecd1
cmp edi, 2
jne 0x4aeadb
cmp esi, 0x80
jge 0x4aeac7
push esi
call dword [0x5ad880]
add esp, 4
test eax, eax
jne 0x4aecc3
cmp esi, 0x5f
je 0x4aecc3
mov edi, dword [esp + 0x40]
cmp esi, 0x25
mov esi, dword [esp + 0x48]
je 0x4aea72
cmp esi, 0x27
je 0x4aea72
cmp esi, 0x22
je 0x4aea72
cmp esi, 0x2e
je 0x4aea72
jmp 0x4aecb8
cmp edi, 7
jne 0x4aeb8e
cmp esi, 0x80
jge 0x4aeb11
push esi
call dword [0x5ad880]
add esp, 4
test eax, eax
jne 0x4aeb04
cmp esi, 0x5f
je 0x4aeb04
cmp esi, 0x25
jne 0x4aeb11
mov esi, dword [esp + 0x48]
cmp esi, 0x25
jne 0x4aecc7
push 0x64
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
call fcn.00475100
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x78]
push eax
call fcn.00475500
test al, al
je 0x4aeb42
mov eax, 8
mov dword [esp + 0x40], eax
push eax
jmp 0x4aecd1
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x78]
push eax
call fcn.00475500
test al, al
je 0x4aeb63
mov eax, 9
mov dword [esp + 0x40], eax
push eax
jmp 0x4aecd1
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
push eax
call fcn.00475500
test al, al
je 0x4aeb84
mov eax, 0xa
mov dword [esp + 0x40], eax
push eax
jmp 0x4aecd1
mov eax, dword [esp + 0x40]
push eax
jmp 0x4aecd1
cmp edi, 1
je 0x4aea60
cmp edi, 0xb
je 0x4aea60
cmp edi, 3
jne 0x4aec19
mov dword [esp + 0x60], edi
cmp esi, 0x27
jne 0x4aebf7
lea ecx, [esp + 0x10]
cmp dword [esp + 0x50], esi
jne 0x4aebca
call fcn.004761d0
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x4aea72
call fcn.004761d0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
xor eax, eax
mov dword [esp + 0x60], eax
jmp 0x4aecea
test cl, cl
je 0x4aef00
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 5
call fcn.004761d0
push dword [esp + 0x40]
jmp 0x4aecd1
cmp edi, 4
jne 0x4aec69
mov dword [esp + 0x60], edi
test cl, cl
je 0x4aec40
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 5
call fcn.004761d0
push dword [esp + 0x40]
jmp 0x4aecd1
cmp esi, 0x22
jne 0x4aef00
lea ecx, [esp + 0x10]
cmp dword [esp + 0x50], esi
jne 0x4aebca
call fcn.004761d0
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x4aea72
cmp edi, 0xc
jne 0x4aec86
cmp esi, 0x2e
jne 0x4aef00
lea ecx, [esp + 0x10]
call fcn.004761d0
push dword [esp + 0x40]
jmp 0x4aecd1
cmp edi, 0xe
je 0x4aecb8
cmp edi, 0xd
jne 0x4aea72
add esi, 0xffffffd0
cmp esi, 9
ja 0x4aecb8
cmp byte [ebp + 0x14], 0
je 0x4aecaf
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x64]
cmp eax, 4
ja 0x4aecb8
cmp ebx, 5
jle 0x4aef00
push 0
lea ecx, [esp + 0x14]
call fcn.00476250
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
jmp 0x4aea72
push edi
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], ecx
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov esi, dword [esp + 0x48]
mov dword [esp + 0x40], 0
cmp esi, 0x21
jne 0x4aed72
push str._dec_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4aed48
push str._dir_
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4aed48
push 0x5b7190
lea ecx, [esp + 0x14]
call fcn.00474f20
test al, al
jne 0x4aed48
cmp dword [esp + 0x50], 0x24
je 0x4aed48
push 1
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4aef00
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov dword [esp + 0x40], 0xb
jmp 0x4aef00
cmp byte [ebp + 0x14], 0
jne 0x4aedad
lea eax, [esi - 0x30]
cmp eax, 9
ja 0x4aedad
cmp ebx, 1
jne 0x4aedad
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push 0
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov dword [esp + 0x40], 0xd
jmp 0x4aef00
lea eax, [esi - 0x30]
cmp eax, 9
jbe 0x4aeedd
cmp esi, 0x2e
jne 0x4aedce
mov eax, dword [esp + 0x50]
add eax, 0xffffffd0
cmp eax, 9
jbe 0x4aeedd
mov ebx, dword [0x5ad86c]
push esi
call ebx
add esp, 4
cmp eax, 0x62
je 0x4aee01
push dword [esp + 0x48]
call ebx
add esp, 4
cmp eax, 0x6f
je 0x4aee01
push dword [esp + 0x48]
call ebx
add esp, 4
cmp eax, 0x7a
je 0x4aee01
mov ecx, dword [esp + 0x50]
jmp 0x4aee17
mov ecx, dword [esp + 0x50]
cmp ecx, 0x22
je 0x4aeead
cmp ecx, 0x27
je 0x4aeead
mov eax, dword [esp + 0x48]
cmp eax, 0x2e
jne 0x4aee42
push ecx
call dword [0x5ad894]
add esp, 4
test eax, eax
je 0x4aee3e
push 0xc
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4aef00
mov eax, dword [esp + 0x48]
cmp eax, 0x80
jge 0x4aee6b
push eax
call dword [0x5ad880]
add esp, 4
test eax, eax
je 0x4aee67
push 7
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4aef00
mov eax, dword [esp + 0x48]
cmp eax, 0x22
jne 0x4aee80
push 4
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4aef00
cmp eax, 0x27
jne 0x4aee92
push 3
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4aef00
movsx ecx, byte [esp + 0x48]
call fcn.0047c500
test al, al
je 0x4aef00
push 6
lea ecx, [esp + 0x14]
call fcn.00476250
jmp 0x4aef00
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 2
call fcn.004761d0
jmp 0x4aef00
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push 0
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov dword [esp + 0x40], 2
lea ecx, [esp + 0x10]
call fcn.004761d0
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x18]
jb 0x4ae4a0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x1c], ecx
push dword [esp + 0x40]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00475ef0
mov esi, dword [esp + 0x10]
mov edi, dword [esi + 0x1f5c]
test edi, edi
jle 0x4aef68
mov ecx, dword [esi]
lea eax, [esi + 0xfbc]
push eax
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x34]
mov eax, dword [esi + 0x1f5c]
add dword [esi + 0x1f64], eax
mov dword [esi + 0x1f5c], 0
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret