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

Disassembly:
mov ecx, dword [0x5ad388]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4af12b
sub esp, 0x60
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x4aeef7
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call sym.path_filepath.readDirNames
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
mov ebp, dword [esp + 8]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x64]
mov dword [esp], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4aeee7
test eax, eax
jne 0x4aeee7
xor eax, eax
jmp 0x4aef49
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jge 0x4af117
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x54], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebx
lea edx, [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov edx, dword [0x58a6a8]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4af05d
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4aef42
mov ecx, dword [esp + 0x1c]
cmp dword [0x58e788], eax
je 0x4af020
mov edx, 1
jmp 0x4af050
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [0x58e78c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x48]
mov edx, eax
mov eax, dword [esp + 0x2c]
test dl, dl
je 0x4aef42
jmp 0x4af0f7
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], eax
call sym.path_filepath.walk
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4aef42
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x4af103
mov eax, dword [esp + 0x30]
cmp dword [0x58e788], eax
je 0x4af0c5
mov ecx, 1
jmp 0x4af0ed
mov ecx, dword [0x58e78c]
mov dword [esp], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x30]
test cl, cl
je 0x4aef42
jmp 0x4af107
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x60
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
add esp, 0x60
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
call sym.runtime.morestack_noctxt
jmp sym.path_filepath.walk