Function at 0x4a6ed0
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 0x4a74f7
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4a70fd
nop
cmp eax, 1
jne 0x4a6f04
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x2e
je 0x4a6f29
jmp 0x4a6f08
mov ecx, dword [esp + 0x6c]
cmp eax, 2
jl 0x4a6f93
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x2e
jne 0x4a6f93
movzx edx, byte [eax + ecx - 2]
cmp dl, 0x5c
je 0x4a6f29
cmp dl, 0x2f
jne 0x4a6f93
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 0x4a6f61
mov ecx, dword [esp + 0x6c]
jmp 0x4a6f6c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x5757b4]
mov dword [eax + 0x10], ecx
lea ecx, [0x57502c]
mov dword [eax + 0x14], ecx
lea ecx, [0x5757a0]
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 0x4a6fdc
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 0x4a6ff0
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 0x4a70d0
mov ecx, dword [esp + 0x14]
lea edx, [0x5757a0]
cmp eax, edx
jne 0x4a7022
mov edx, ecx
jmp 0x4a7029
mov edx, ecx
mov ecx, 0
jne 0x4a70b0
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 0x4a7071
mov eax, 1
jmp 0x4a70a4
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
lea edx, [0x5757b4]
cmp ecx, edx
je 0x4a7086
xor eax, eax
jmp 0x4a70a4
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x57450c]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a70bc
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 0x4a7111
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 0x4a7239
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
jmp 0x4a729c
nop
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4a7176
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 0x4a71b1
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 0x4a73c3
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4a71bb
mov eax, edi
mov ebx, dword [esp + 0x5c]
test edx, edx
je 0x4a73c3
cmp edx, 0x400
jge 0x4a7111
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 0x4a73af
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 0x4a73af
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a7111
jmp 0x4a739f
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 0x4a727e
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 0x4a7308
cmp esi, 0x400
je 0x4a7292
jmp 0x4a7153
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 0x4a72de
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, [0x5744fc]
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 0x4a7380
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a7386
mov ecx, dword [esp + 0xc]
mov edx, eax
test edx, edx
je 0x4a7396
mov edx, dword [esp + 0x2c]
lea esi, [edx + 1]
jmp 0x4a72eb
mov esi, dword [esp + 0x2c]
jmp 0x4a72eb
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 0x4a7414
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 0x4a7428
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 0x4a7466
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a74eb
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 0x4a748c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a74eb
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 0x4a74cf
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a74eb
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