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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x488141
sub esp, 0x68
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x488119
mov ecx, dword [eax]
test ecx, ecx
je 0x488112
mov edx, dword [ecx + 0x10c]
test edx, edx
setne dl
test dl, dl
jne 0x4880d0
mov edx, dword [ecx + 0x108]
mov ebx, dword [ecx + 0x104]
cmp edx, 3
jne 0x487cfa
movzx edx, word [ebx]
cmp dx, 0x554e
jne 0x487cfa
movzx edx, byte [ebx + 2]
cmp dl, 0x4c
je 0x4880a8
mov dword [esp], ecx
call dbg.internal/poll.(*FD).GetFileType
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test edx, edx
jne 0x487fc8
mov dword [esp + 0x18], ecx
lea edx, [ecx - 2]
cmp edx, 1
ja 0x487dc0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x104]
mov eax, dword [eax + 0x108]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.os.basename
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea edx, [0x5ff6e0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [0x752a30]
test ecx, ecx
jne 0x487da6
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x2c], ecx
lea ecx, [0x712c80]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov dword [esp + 0x60], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x60]
jmp 0x487d7d
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0044bd03
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
test byte [edx], al
mov dword [esp], edx
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
call dbg.internal/poll.(*FD).GetFileInformationByHandle
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x487ed3
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x5edca0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [eax + 4], 0x1a
mov ecx, dword [0x752a30]
test ecx, ecx
jne 0x487eb8
lea ecx, [0x617e53]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x108]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x752a30]
lea ebx, [eax + 8]
test ecx, ecx
jne 0x487ea6
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x752a30]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x487e90
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x70fdf0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x487e6e
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x487e53
mov dword [esp], eax
lea ecx, [0x617e53]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x487e2e
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x104]
mov eax, dword [eax + 0x108]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.os.basename
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea edx, [0x5ff6e0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [0x752a30]
test ecx, ecx
jne 0x487fab
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x48], ecx
lea ecx, [0x712c80]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov dword [esp + 0x60], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x60]
jmp 0x487f2e
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
lea eax, [0x5edca0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [eax + 4], 0xb
mov ecx, dword [0x752a30]
test ecx, ecx
jne 0x48808d
lea ecx, [0x612cc1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x108]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x752a30]
lea ebx, [eax + 8]
test ecx, ecx
jne 0x48807b
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x752a30]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x488065
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x70fdf0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x488043
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x488028
mov dword [esp], eax
lea ecx, [0x612cc1]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x488003
lea eax, [0x712c80]
mov dword [esp + 0x70], eax
lea eax, [0x73e1e0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov eax, dword [ecx + 0x10c]
mov ecx, dword [eax + 0x254]
mov eax, dword [eax + 0x250]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.os.Stat
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
xor edx, edx
jmp 0x487cca
mov eax, dword [0x73ff44]
mov ecx, dword [0x73ff40]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
call dbg.runtime.morestack_noctxt
jmp dbg.os.(*File).Stat