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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4a91b2
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x4a8988
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.os.openDir
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x80b220]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0xc]
test edx, edx
je 0x4a8977
mov edx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov esi, dword [ecx + 0x13c]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x88]
mov edi, edx
mov dword [ecx + 0x13c], ebx
test ebp, ebp
jne 0x4a89f8
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
test ecx, ecx
jg 0x4a899c
test edx, edx
mov edx, 0xffffffff
jmp 0x4a89a0
test edx, edx
mov edx, ecx
setne bl
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x13c]
mov dword [esp + 0x8c], ebp
test byte [ebp], al
lea esi, [ebp + 4]
mov dword [esp + 0x74], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x38], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x7c], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x78], edi
xor edi, edi
jmp 0x4a8b33
mov dword [esp + 0x84], edi
lea eax, [0x615000]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x63e5e2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x80b220]
test edx, edx
je 0x4a8a49
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x4a8a69
mov ecx, dword [esp + 0x88]
jmp 0x4a8a77
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x68bedc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
mov edx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
mov ebx, 1
mov edi, dword [esp + 0x28]
test edx, edx
je 0x4a9094
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx edx, byte [eax + 0x258]
test dl, dl
jne 0x4a9090
mov dword [esp + 0x24], edi
test bl, bl
je 0x4a8b8f
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call sym.syscall.FindNextFile
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x4a8f54
mov ebp, dword [esp + 0x8c]
lea eax, [ebp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call sym.syscall.UTF16ToString
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, 1
jne 0x4a8bbc
cmp byte [ecx], 0x2e
je 0x4a8bc8
cmp eax, 2
jne 0x4a8bf7
cmp word [ecx], 0x2e2e
jne 0x4a8bf7
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x4a8af8
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x4a8cc6
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x4a8c21
mov esi, dword [esp + 0x78]
jmp 0x4a8c66
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x601a80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
lea edi, [esi + ebx*8 - 4]
mov dword [edi], eax
mov eax, dword [0x80b220]
lea edi, [esi + ebx*8 - 8]
test eax, eax
je 0x4a8c91
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x9c]
mov edi, eax
mov dword [edi], ecx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ebp
mov edi, dword [esp + 0x80]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x7c]
jmp 0x4a8f16
nop
lea eax, [0x62edc0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ebx
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ebx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 4]
test edx, 0x400
je 0x4a8d27
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x80b220]
test edx, edx
jne 0x4a8d3e
mov edx, dword [esp + 0x68]
jmp 0x4a8d4e
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x68]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x254]
mov ebx, dword [ebx + 0x250]
mov dword [eax + 0x40], ebp
mov ebp, dword [0x80b220]
test ebp, ebp
je 0x4a8d85
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ebp, dword [eax + 0x3c]
mov dword [edi + 4], ebp
mov dword [esp + 0x6c], eax
mov dword [eax + 0x3c], ebx
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x9c]
cmp ebx, 1
jne 0x4a8e4c
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x4a8db6
mov edi, dword [esp + 0x80]
jmp 0x4a8e08
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x612640]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x6c]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x68e20c]
mov dword [ebx], ecx
mov ebx, dword [0x80b220]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x4a8e39
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x7c]
jmp 0x4a8ef6
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x4a8e5f
mov edi, dword [esp + 0x7c]
jmp 0x4a8eae
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x61e9e0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov edi, eax
mov esi, ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x8c]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x68e504]
mov dword [ebx], ecx
mov ebx, dword [0x80b220]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x4a8edf
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [ecx], eax
mov eax, esi
mov ecx, ebp
mov ebx, edi
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x28]
dec esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
jmp 0x4a8af8
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ebp
lea eax, [0x68bef0]
cmp ecx, eax
jne 0x4a8f9a
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x68b538]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a8f9a
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x4a9096
lea eax, [0x615000]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x63ffe4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x80b220]
test edx, edx
je 0x4a8fe4
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x80b220]
test ecx, ecx
jne 0x4a9001
mov ecx, dword [esp + 0x70]
jmp 0x4a900c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc0], ecx
lea ecx, [0x68bedc]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
test ecx, ecx
jmp 0x4a9096
test ecx, ecx
jg 0x4a90a6
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
jmp 0x4a90bb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x34]
add edx, ebx
test edx, edx
je 0x4a912e
mov edx, dword [esp + 0x78]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x90
ret
mov eax, dword [0x7dde18]
mov ecx, dword [0x7dde1c]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0x90
ret
call sym.runtime.morestack_noctxt
jmp sym.os._File_.readdir