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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4bc262
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x4bba38
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.openDir
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x8d0720]
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 0x4bba27
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 0x4bbaa8
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
test ecx, ecx
jg 0x4bba4c
test edx, edx
mov edx, 0xffffffff
jmp 0x4bba50
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 0x4bbbe3
mov dword [esp + 0x84], edi
lea eax, [0x6990a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x6bed61]
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 [0x8d0720]
test edx, edx
je 0x4bbaf9
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 [0x8d0720]
test ecx, ecx
jne 0x4bbb19
mov ecx, dword [esp + 0x88]
jmp 0x4bbb27
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, [0x726b64]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
mov edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
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 ebx, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x74]
test edx, edx
je 0x4bc144
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx edx, byte [eax + 0x258]
test dl, dl
jne 0x4bc140
mov dword [esp + 0x24], edi
test bl, bl
je 0x4bbc3f
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 0x4bc004
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 0x4bbc6c
cmp byte [ecx], 0x2e
je 0x4bbc78
cmp eax, 2
jne 0x4bbca7
cmp word [ecx], 0x2e2e
jne 0x4bbca7
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x4bbba8
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x4bbd76
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x4bbcd1
mov esi, dword [esp + 0x78]
jmp 0x4bbd16
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, [0x681d20]
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 [0x8d0720]
lea edi, [esi + ebx*8 - 8]
test eax, eax
je 0x4bbd41
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 + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x80]
mov dword [esp + 0x78], esi
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x7c]
jmp 0x4bbfc6
nop
lea eax, [0x6affa0]
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 + 0xc]
mov ebx, dword [ecx + 8]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
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 0x4bbdd7
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x8d0720]
test edx, edx
jne 0x4bbdee
mov edx, dword [esp + 0x68]
jmp 0x4bbdfe
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 [0x8d0720]
test ebp, ebp
je 0x4bbe35
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 0x4bbefc
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x4bbe66
mov edi, dword [esp + 0x80]
jmp 0x4bbeb8
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, [0x6964c0]
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, [0x728098]
mov dword [ebx], ecx
mov ebx, dword [0x8d0720]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x4bbee9
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 + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
jmp 0x4bbfa6
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x4bbf0f
mov edi, dword [esp + 0x7c]
jmp 0x4bbf5e
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, [0x69e340]
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, [0x728534]
mov dword [ebx], ecx
mov ebx, dword [0x8d0720]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x4bbf8f
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 esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
jmp 0x4bbba8
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ebp
lea eax, [0x726f74]
cmp ecx, eax
jne 0x4bc04a
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x724b08]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4bc04a
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x4bc146
lea eax, [0x6990a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x6c03b8]
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 [0x8d0720]
test edx, edx
je 0x4bc094
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 [0x8d0720]
test ecx, ecx
jne 0x4bc0b1
mov ecx, dword [esp + 0x70]
jmp 0x4bc0bc
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 + 0x34]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc0], ecx
lea ecx, [0x726b64]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
test ecx, ecx
jmp 0x4bc146
test ecx, ecx
jg 0x4bc156
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x4bc16b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
add edx, ebx
test edx, edx
je 0x4bc1de
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 eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x90
ret
mov eax, dword [0x8a1c60]
mov ecx, dword [0x8a1c64]
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