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

Disassembly:
mov ecx, dword [0x673268]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a7577
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4a717d
nop
cmp eax, 1
jne 0x4a6f84
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x2e
je 0x4a6fa9
jmp 0x4a6f88
mov ecx, dword [esp + 0x6c]
cmp eax, 2
jl 0x4a7013
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x2e
jne 0x4a7013
movzx edx, byte [eax + ecx - 2]
cmp dl, 0x5c
je 0x4a6fa9
cmp dl, 0x2f
jne 0x4a7013
lea eax, [0x532940]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x543dab]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x673320]
test ecx, ecx
jne 0x4a6fe1
mov ecx, dword [esp + 0x6c]
jmp 0x4a6fec
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x575804]
mov dword [eax + 0x10], ecx
lea ecx, [0x575074]
mov dword [eax + 0x14], ecx
lea ecx, [0x5757f0]
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 0x4a705c
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov edx, dword [0x634940]
mov ebx, dword [0x634944]
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 0x4a7070
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]
test eax, eax
je 0x4a7150
mov ecx, dword [esp + 0x14]
lea edx, [0x5757f0]
cmp eax, edx
jne 0x4a70a2
mov edx, ecx
jmp 0x4a70a9
mov edx, ecx
mov ecx, 0
jne 0x4a7130
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ebx, dword [0x634940]
mov ebp, dword [0x634944]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.os.underlyingErrorIs
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a70f1
mov eax, 1
jmp 0x4a7124
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
lea edx, [0x575804]
cmp ecx, edx
je 0x4a7106
xor eax, eax
jmp 0x4a7124
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x574554]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a713c
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
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 0x4a7191
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
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 0x4a72b9
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
jmp 0x4a731c
nop
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4a71f6
mov eax, dword [ecx]
mov dword [esp], eax
call sym.os._file_.close
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
cmp dword [0x62fc48], eax
jne 0x4a7231
mov ecx, dword [0x62fc4c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a7443
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4a723b
mov eax, edi
mov ebx, dword [esp + 0x5c]
test edx, edx
je 0x4a7443
cmp edx, 0x400
jge 0x4a7191
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ebx
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 0x4a742f
mov ecx, dword [esp + 0xc]
mov edx, dword [0x634940]
mov ebx, dword [0x634944]
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
jne 0x4a742f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a7191
jmp 0x4a741f
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov edx, dword [0x634940]
mov ebx, dword [0x634944]
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 0x4a72fe
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov edx, dword [esp + 0x54]
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], ecx
mov dword [esp], edx
mov dword [esp + 4], 0x400
call sym.os._File_.Readdirnames
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x64], ebx
xor ebp, ebp
xor esi, esi
mov edi, dword [esp + 0x38]
jmp 0x4a7388
cmp esi, 0x400
je 0x4a7312
jmp 0x4a71d3
mov edx, dword [esp + 0x40]
lea ebp, [edx + 1]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov edi, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], edi
cmp ebp, edx
jge 0x4a735e
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], esi
lea eax, [ecx + ebp*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
lea edi, [0x574544]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
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 + 0x38]
test ecx, ecx
je 0x4a7400
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a7406
mov ecx, dword [esp + 0xc]
mov edx, eax
test edx, edx
je 0x4a7416
mov edx, dword [esp + 0x2c]
lea esi, [edx + 1]
jmp 0x4a736b
mov esi, dword [esp + 0x2c]
jmp 0x4a736b
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
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 0x4a7494
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [0x634940]
mov ebx, dword [0x634944]
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 0x4a74a8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x634930]
mov ecx, dword [0x634934]
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
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 0x4a74e6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a756b
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 0x4a750c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a756b
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 0x4a754f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a756b
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