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

Disassembly:
mov ecx, dword [0x674284]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4a924a
sub esp, 0xa0
mov eax, 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0xa4]
test byte [eax], al
lea ecx, [eax + 0x34]
mov dword [esp + 0x8c], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [sym.os._fileStat_.loadFileId.deferwrap1]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x98], eax
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4a9207
movzx edx, byte [eax + 0x50]
mov ebx, dword [eax + 0x3c]
test dl, dl
je 0x4a9017
mov edx, dword [eax + 4]
mov ebp, dword [eax]
lea esi, [esp + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
lea ecx, [0x5757a8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
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.fixLongPath
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.syscall.UTF16FromString
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a9033
mov ecx, dword [esp + 0x18]
xor ebx, ebx
jmp 0x4a9047
mov ebx, dword [esp + 0xc]
test ebx, ebx
jbe 0x4a9234
mov ebx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x4a91e2
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x2200000
mov dword [esp + 0x18], 0
call sym.syscall.CreateFile
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4a91b9
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea edx, [sym.os._fileStat_.loadFileId.deferwrap2]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x84]
mov dword [esp + 0x9c], edx
mov byte [esp + 0x2b], 3
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.004695e3
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 4], ecx
call sym.syscall.GetFileInformationByHandle
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4a9180
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x40], 0
mov ecx, dword [0x674338]
test ecx, ecx
je 0x4a9127
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x4c], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0x9c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0xa0
ret
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0x9c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0xa0
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0xa0
ret
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0xa0
ret
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0xa0
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0xa0
ret
call sym.runtime.morestack_noctxt
jmp sym.os._fileStat_.loadFileId