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

Disassembly:
mov ecx, dword [0x647d6c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a235e
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4a1f35
nop
cmp eax, 1
jne 0x4a1d34
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x2e
je 0x4a1d59
jmp 0x4a1d38
mov ecx, dword [esp + 0x6c]
cmp eax, 2
jl 0x4a1dc3
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x2e
jne 0x4a1dc3
movzx edx, byte [eax + ecx - 2]
cmp dl, 0x5c
je 0x4a1d59
cmp dl, 0x2f
jne 0x4a1dc3
lea eax, [0x529f60]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x53a4a5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x647e70]
test ecx, ecx
jne 0x4a1d91
mov ecx, dword [esp + 0x6c]
jmp 0x4a1d9c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x569ef8]
mov dword [eax + 0x10], ecx
lea ecx, [0x569844]
mov dword [eax + 0x14], ecx
lea ecx, [0x569ee4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.os.Remove
mov eax, dword [esp + 8]
test eax, eax
je 0x4a1e10
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [0x622eb8]
mov edx, dword [0x622ebc]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x5c], ebx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a1e24
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call sym.os.Lstat
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4a1f08
mov eax, dword [esp + 0x10]
lea edx, [0x569ee4]
cmp eax, edx
jne 0x4a1e5c
mov edx, dword [esp + 0x14]
jmp 0x4a1e61
mov edx, 0
jne 0x4a1ee8
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov ebx, dword [0x622eb8]
mov ebp, dword [0x622ebc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a1ea9
mov eax, 1
jmp 0x4a1edc
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
lea edx, [0x569ef8]
cmp ecx, edx
je 0x4a1ebe
xor eax, eax
jmp 0x4a1edc
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x568db0]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a1ef4
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x4a1f49
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.os.OpenFile
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x4a2079
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
jmp 0x4a20e2
nop
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a1fb2
mov eax, dword [eax]
mov dword [esp], eax
call sym.os._file_.close
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
cmp dword [0x61ec28], edx
jne 0x4a1fe9
mov eax, dword [0x61ec2c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a2222
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a1ff7
mov ebp, eax
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x4a2222
cmp ecx, 0x400
jge 0x4a1f49
mov dword [esp + 0x58], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call sym.os.Remove
mov eax, dword [esp + 8]
test eax, eax
je 0x4a220e
mov eax, dword [0x622eb8]
mov ecx, dword [0x622ebc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a220e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a1f49
jmp 0x4a21fe
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov edx, dword [0x622eb8]
mov ebx, dword [0x622ebc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a20c2
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov dword [esp + 4], 0x400
call sym.os._File_.Readdirnames
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x64], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x24], edi
xor edi, edi
jmp 0x4a2171
mov eax, dword [esp + 0x24]
cmp eax, 0x400
je 0x4a20d6
jmp 0x4a1f8b
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 1]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
cmp edi, ecx
jge 0x4a2136
mov dword [esp + 0x34], edi
lea ecx, [eax + edi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
lea esi, [0x568da0]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.os.removeAll
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4a21e1
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x58]
jmp 0x4a21e7
mov ecx, dword [esp + 0xc]
mov edx, eax
test edx, edx
je 0x4a21f5
mov edx, dword [esp + 0x24]
inc edx
jmp 0x4a2146
mov edx, dword [esp + 0x24]
jmp 0x4a2146
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call sym.os.Remove
mov eax, dword [esp + 8]
test eax, eax
je 0x4a227b
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [0x622eb8]
mov ebx, dword [0x622ebc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a228f
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x622ea8]
mov ecx, dword [0x622eac]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a22cd
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
jmp 0x4a2352
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call sym.os.Stat
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a22f3
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
jmp 0x4a2352
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
or eax, 0x80
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.os.chmod
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a2336
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
jmp 0x4a2352
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call sym.os.Remove
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.os.removeAll