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

Disassembly:
mov ecx, dword [0x674284]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a75b7
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4a71bd
nop
cmp eax, 1
jne 0x4a6fc4
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x2e
je 0x4a6fe9
jmp 0x4a6fc8
mov ecx, dword [esp + 0x6c]
cmp eax, 2
jl 0x4a7053
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x2e
jne 0x4a7053
movzx edx, byte [eax + ecx - 2]
cmp dl, 0x5c
je 0x4a6fe9
cmp dl, 0x2f
jne 0x4a7053
lea eax, [0x5339e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x544e5b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x674338]
test ecx, ecx
jne 0x4a7021
mov ecx, dword [esp + 0x6c]
jmp 0x4a702c
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x576a64]
mov dword [eax + 0x10], ecx
lea ecx, [0x5762d8]
mov dword [eax + 0x14], ecx
lea ecx, [0x576a50]
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 0x4a709c
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov edx, dword [0x635960]
mov ebx, dword [0x635964]
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 0x4a70b0
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 0x4a7190
mov ecx, dword [esp + 0x14]
lea edx, [0x576a50]
cmp eax, edx
jne 0x4a70e2
mov edx, ecx
jmp 0x4a70e9
mov edx, ecx
mov ecx, 0
jne 0x4a7170
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 [0x635960]
mov ebp, dword [0x635964]
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 0x4a7131
mov eax, 1
jmp 0x4a7164
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
lea edx, [0x576a64]
cmp ecx, edx
je 0x4a7146
xor eax, eax
jmp 0x4a7164
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x5757b8]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a717c
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 0x4a71d1
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 0x4a72f9
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
jmp 0x4a735c
nop
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4a7236
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 [0x630c48], eax
jne 0x4a7271
mov ecx, dword [0x630c4c]
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 0x4a7483
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4a727b
mov eax, edi
mov ebx, dword [esp + 0x5c]
test edx, edx
je 0x4a7483
cmp edx, 0x400
jge 0x4a71d1
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 0x4a746f
mov ecx, dword [esp + 0xc]
mov edx, dword [0x635960]
mov ebx, dword [0x635964]
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 0x4a746f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a71d1
jmp 0x4a745f
mov dword [esp + 0x48], ecx
mov dword [esp + 0x24], eax
mov edx, dword [0x635960]
mov ebx, dword [0x635964]
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 0x4a733e
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 0x4a73c8
cmp esi, 0x400
je 0x4a7352
jmp 0x4a7213
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 0x4a739e
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, [0x5757a8]
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 0x4a7440
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a7446
mov ecx, dword [esp + 0xc]
mov edx, eax
test edx, edx
je 0x4a7456
mov edx, dword [esp + 0x2c]
lea esi, [edx + 1]
jmp 0x4a73ab
mov esi, dword [esp + 0x2c]
jmp 0x4a73ab
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 0x4a74d4
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [0x635960]
mov ebx, dword [0x635964]
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 0x4a74e8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x635950]
mov ecx, dword [0x635954]
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 0x4a7526
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a75ab
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 0x4a754c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a75ab
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 0x4a758f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
jmp 0x4a75ab
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