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

Disassembly:
mov ecx, dword [0x647d6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x49e052
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x49d828
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 [0x647e70]
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 0x49d817
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 0x49d898
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
test ecx, ecx
jg 0x49d83c
test edx, edx
mov edx, 0xffffffff
jmp 0x49d840
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 0x49d9d3
mov dword [esp + 0x84], edi
lea eax, [0x529f60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x539f74]
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 [0x647e70]
test edx, edx
je 0x49d8e9
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 [0x647e70]
test ecx, ecx
jne 0x49d909
mov ecx, dword [esp + 0x88]
jmp 0x49d917
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, [0x569ee4]
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 0x49df34
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx edx, byte [eax + 0x258]
test dl, dl
jne 0x49df30
mov dword [esp + 0x24], edi
test bl, bl
je 0x49da2f
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 0x49ddf4
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 0x49da5c
cmp byte [ecx], 0x2e
je 0x49da68
cmp eax, 2
jne 0x49da97
cmp word [ecx], 0x2e2e
jne 0x49da97
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 0x49d998
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x49db66
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x49dac1
mov esi, dword [esp + 0x78]
jmp 0x49db06
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, [0x51e740]
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 [0x647e70]
lea edi, [esi + ebx*8 - 8]
test eax, eax
je 0x49db31
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 0x49ddb6
nop
lea eax, [0x533020]
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 0x49dbc7
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x647e70]
test edx, edx
jne 0x49dbde
mov edx, dword [esp + 0x68]
jmp 0x49dbee
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 [0x647e70]
test ebp, ebp
je 0x49dc25
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 0x49dcec
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x49dc56
mov edi, dword [esp + 0x80]
jmp 0x49dca8
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, [0x526b80]
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, [0x56add4]
mov dword [ebx], ecx
mov ebx, dword [0x647e70]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x49dcd9
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 0x49dd96
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x49dcff
mov edi, dword [esp + 0x7c]
jmp 0x49dd4e
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, [0x52c8c0]
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, [0x56ae14]
mov dword [ebx], ecx
mov ebx, dword [0x647e70]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x49dd7f
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 0x49d998
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ebp
lea eax, [0x569ef8]
cmp ecx, eax
jne 0x49de3a
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x568db4]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x49de3a
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x49df36
lea eax, [0x529f60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x53afdf]
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 [0x647e70]
test edx, edx
je 0x49de84
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 [0x647e70]
test ecx, ecx
jne 0x49dea1
mov ecx, dword [esp + 0x70]
jmp 0x49deac
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, [0x569ee4]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
test ecx, ecx
jmp 0x49df36
test ecx, ecx
jg 0x49df46
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
jmp 0x49df5b
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 0x49dfce
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 [0x61ec28]
mov ecx, dword [0x61ec2c]
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