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

Disassembly:
mov ecx, dword [0x56aa44]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x48a7fa
sub esp, 0xdc
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
test ebx, ebx
je 0x489c3b
mov eax, 0xa
jmp 0x489d3a
mov dword [esp + 0x2c], 0
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call sym.internal_syscall_windows.GetVolumeInformationByHandle
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x489d9f
lea eax, [0x4a70a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x56ab20]
mov ebx, dword [esp + 4]
test edx, edx
je 0x489cd3
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [ecx + 0x13c]
mov dword [edi + 4], edx
mov dword [ecx + 0x13c], ebx
lea eax, [0x542850]
mov dword [esp], eax
call sym.sync._Pool_.Get
mov eax, dword [esp + 4]
lea ecx, [0x49fac0]
cmp eax, ecx
jne 0x48a7e3
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
test byte [ebx], al
mov ebp, dword [0x56ab20]
mov esi, dword [esp + 8]
test ebp, ebp
je 0x489d24
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], esi
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [esp + 0x2c]
mov dword [ebx + 8], ebp
mov eax, 0xb
mov ebx, dword [edx]
test byte [ebx], al
mov ebp, dword [esp + 0xe4]
test ebp, ebp
jg 0x489d50
mov ecx, 0xffffffff
jmp 0x489d52
mov ecx, ebp
mov ebx, dword [ebx + 0x13c]
mov dword [esp + 0xb0], ebx
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x6c], esi
xor esi, esi
mov dword [esp + 0x68], esi
xor esi, esi
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x60], esi
xor esi, esi
mov dword [esp + 0xd0], esi
xor edi, edi
mov dword [esp + 0xcc], edi
xor esi, esi
mov dword [esp + 0xc8], esi
xor esi, esi
xor edi, edi
jmp 0x489ee9
mov dword [esp + 0xd8], edx
mov dword [esp + 0xd4], ecx
lea eax, [0x4a7520]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x4b0c5d]
mov dword [eax], ecx
mov ecx, dword [esp + 0xe0]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x56ab20]
test edx, edx
je 0x489df7
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x56ab20]
test ecx, ecx
jne 0x489e17
mov ecx, dword [esp + 0xd4]
jmp 0x489e25
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xd4]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea ecx, [0x4d1bcc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0xdc
ret
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xcc], ecx
mov ebp, dword [esp + 0xe4]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x48a22d
mov ebp, dword [ebx + 4]
test ebp, ebp
jne 0x489f6a
mov dword [esp + 0x5c], ecx
mov ebp, dword [edx]
test byte [ebp], al
mov ebx, dword [ebx]
mov ecx, dword [ebx + 4]
test ecx, ecx
jbe 0x48a7da
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebx]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call sym.internal_syscall_windows.GetFileInformationByHandleEx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x489fc1
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xe0]
mov ebx, dword [esp + 0xb0]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov eax, 0xa
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x90], eax
xor eax, eax
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
jmp 0x48a38d
mov edx, dword [esp + 0xe0]
jmp 0x489ea6
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
lea eax, [0x4d1be0]
cmp ecx, eax
jne 0x48a03e
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], edx
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x4d17e0]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x48a01c
mov eax, dword [esp + 0xe4]
test eax, eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x48a22f
lea eax, [0x4d1be0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x34]
cmp esi, 0xb
jne 0x48a082
cmp ecx, eax
je 0x48a04f
xor ecx, ecx
jmp 0x48a084
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x4d0f08]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov ecx, eax
lea eax, [0x4d1be0]
jmp 0x48a084
xor ecx, ecx
test cl, cl
je 0x48a09e
mov eax, dword [esp + 0xe4]
test eax, eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x48a22f
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call sym.os._File_.Stat
mov eax, dword [esp + 4]
test eax, eax
je 0x48a0ca
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
je 0x48a147
lea eax, [0x4a7520]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x4b5a6a]
mov dword [eax], ecx
mov ecx, dword [esp + 0xe0]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x56ab20]
test edx, edx
je 0x48a114
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x56ab20]
test ecx, ecx
jne 0x48a134
mov ecx, dword [esp + 0xd4]
jmp 0x48a142
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xd4]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
jmp 0x48a1a6
lea eax, [0x4a7520]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x4b0c5d]
mov dword [eax], ecx
mov ecx, dword [esp + 0xe0]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x56ab20]
test edx, edx
je 0x48a191
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x4d1be0]
mov dword [eax + 0x10], ecx
lea ecx, [0x4d17e4]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10c], ecx
lea ecx, [0x4d1bcc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0xdc
ret
test ebp, ebp
jg 0x48a237
mov eax, dword [esp + 0x6c]
jmp 0x48a244
mov eax, dword [esp + 0x6c]
lea ecx, [eax + edi]
add ecx, esi
test ecx, ecx
je 0x48a2c1
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], esi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0xdc
ret
mov eax, dword [0x5425d0]
mov ecx, dword [0x5425d4]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0xdc
ret
mov dword [esp + 0x68], eax
sete al
mov byte [esp + 0x2b], al
mov dword [esp + 0x60], esi
mov byte [esp + 0x80], al
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], edi
mov edi, ebp
mov esi, ebx
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0xb0]
mov ecx, edx
mov edx, dword [esp + 0xe0]
test ecx, ecx
je 0x489ea6
movzx edx, byte [esp + 0x2b]
test dl, dl
jne 0x489fb5
mov dword [esp + 0x4c], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 4]
cmp ecx, eax
jae 0x48a7cf
mov edx, dword [edx]
mov eax, dword [edx + ecx]
add eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [edx + ecx]
test eax, eax
jne 0x48a3ce
mov dword [ebx + 4], 0
mov dword [esp + 0x6c], ecx
mov ebx, dword [edx + ecx + 0x3c]
shr ebx, 1
lea ecx, [edx + ecx + 0x68]
test ebx, ebx
jl 0x48a7ca
mov dword [esp + 0xb4], edx
mov dword [esp + 0x48], eax
mov eax, 2
mul ebx
jo 0x48a7c5
mov edx, ecx
neg ecx
cmp eax, ecx
ja 0x48a7c5
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call sym.syscall.UTF16ToString
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, 1
jne 0x48a43e
cmp byte [ecx], 0x2e
jne 0x48a43e
mov edx, dword [esp + 0x48]
test edx, edx
jmp 0x48a450
cmp eax, 2
jne 0x48a487
cmp word [ecx], 0x2e2e
jne 0x48a487
mov edx, dword [esp + 0x48]
test edx, edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0x64]
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
jmp 0x48a345
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xe8]
test edx, edx
jne 0x48a564
mov ebx, dword [esp + 0x44]
inc ebx
mov ebp, dword [esp + 0x64]
cmp ebp, ebx
jb 0x48a4b7
mov esi, dword [esp + 0xc8]
jmp 0x48a502
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4a2260]
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 + 0xe8]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa8]
lea edi, [esi + ebx*8 - 4]
mov dword [edi], eax
mov edi, dword [0x56ab20]
lea eax, [esi + ebx*8 - 8]
test edi, edi
je 0x48a529
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xe8]
mov dword [eax], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xc8], esi
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x60]
jmp 0x48a7a1
nop
lea eax, [0x4ac4c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0xb4]
mov ebx, dword [edx + ecx + 0x38]
mov dword [eax + 8], ebx
mov ebx, dword [edx + ecx + 0xc]
mov ebp, dword [edx + ecx + 8]
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebx
mov ebx, dword [edx + ecx + 0x14]
mov ebp, dword [edx + ecx + 0x10]
mov dword [eax + 0x14], ebp
mov dword [eax + 0x18], ebx
mov ebx, dword [edx + ecx + 0x1c]
mov ebp, dword [edx + ecx + 0x18]
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], ebx
mov ebx, dword [edx + ecx + 0x2c]
mov dword [eax + 0x24], ebx
mov ebx, dword [edx + ecx + 0x28]
mov dword [eax + 0x28], ebx
mov ebx, dword [edx + ecx + 0x40]
mov dword [eax + 0x2c], ebx
mov ebx, dword [edx + ecx + 0x64]
mov dword [eax + 0x48], ebx
mov ecx, dword [edx + ecx + 0x60]
mov dword [eax + 0x4c], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x56ab20]
test ecx, ecx
jne 0x48a5f0
mov edx, dword [esp + 0xa8]
jmp 0x48a5fe
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xa8]
mov dword [edi], edx
mov dword [esp + 0xac], eax
mov dword [eax], edx
mov edx, dword [esp + 0xb0]
mov ebx, dword [edx + 8]
mov dword [eax + 0x44], ebx
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov ebx, dword [esp + 0xe8]
cmp ebx, 1
jne 0x48a6d9
mov ebp, dword [esp + 0x40]
inc ebp
mov esi, dword [esp + 0x60]
cmp esi, ebp
jb 0x48a648
mov ecx, dword [esp + 0xbc]
jmp 0x48a696
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4a6c20]
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 + 0xb0]
mov ebx, dword [esp + 0xe8]
mov esi, ecx
mov ecx, eax
mov eax, dword [esp + 0xac]
lea edi, [ecx + ebp*8 - 8]
lea ebx, [0x4d1cbc]
mov dword [edi], ebx
mov edi, dword [0x56ab20]
lea ebx, [ecx + ebp*8 - 4]
test edi, edi
je 0x48a6c3
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xb0]
mov dword [ebx], eax
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0xb8]
jmp 0x48a781
mov ebp, dword [esp + 0x3c]
inc ebp
mov esi, dword [esp + 0x68]
cmp esi, ebp
jb 0x48a6ef
mov ecx, dword [esp + 0xb8]
jmp 0x48a73d
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4a8aa0]
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 + 0xb0]
mov ebx, dword [esp + 0xe8]
mov esi, ecx
mov ecx, eax
mov eax, dword [esp + 0xac]
lea edi, [ecx + ebp*8 - 8]
lea ebx, [0x4d1cdc]
mov dword [edi], ebx
mov edi, dword [0x56ab20]
lea ebx, [ecx + ebp*8 - 4]
test edi, edi
je 0x48a76a
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xb0]
mov dword [ebx], eax
mov eax, esi
mov ebx, ebp
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x60]
mov edi, ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
dec edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x48]
test edx, edx
mov edx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
jmp 0x48a345
call sym.runtime.panicunsafeslicelen
call sym.runtime.panicunsafeslicelen
mov edx, eax
mov eax, ecx
mov ecx, edx
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4a2d20]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeE
nop
call sym.runtime.morestack_noctxt
jmp sym.os._File_.readdir