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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x481b01
sub esp, 0x68
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x481ad9
mov ecx, dword [eax]
test ecx, ecx
je 0x481ad2
mov edx, dword [ecx + 0x10c]
test edx, edx
setne dl
test dl, dl
jne 0x481a90
mov edx, dword [ecx + 0x108]
mov ebx, dword [ecx + 0x104]
cmp edx, 3
jne 0x4816ba
movzx edx, word [ebx]
cmp dx, 0x554e
jne 0x4816ba
movzx edx, byte [ebx + 2]
cmp dl, 0x4c
je 0x481a68
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 0x481988
mov dword [esp + 0x18], ecx
lea edx, [ecx - 2]
cmp edx, 1
ja 0x481780
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, [0x5e52e0]
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 [0x728500]
test ecx, ecx
jne 0x481766
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x2c], ecx
lea ecx, [0x6e8a40]
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 0x48173d
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0044bde3
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 0x481893
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x5d4280]
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 [0x728500]
test ecx, ecx
jne 0x481878
lea ecx, [0x5fcc5c]
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 [0x728500]
lea ebx, [eax + 8]
test ecx, ecx
jne 0x481866
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x728500]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x481850
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6e5d70]
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 0x48182e
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x481813
mov dword [esp], eax
lea ecx, [0x5fcc5c]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x4817ee
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, [0x5e52e0]
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 [0x728500]
test ecx, ecx
jne 0x48196b
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, [0x6e8a40]
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 0x4818ee
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
lea eax, [0x5d4280]
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 [0x728500]
test ecx, ecx
jne 0x481a4d
lea ecx, [0x5f7cf8]
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 [0x728500]
lea ebx, [eax + 8]
test ecx, ecx
jne 0x481a3b
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x728500]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x481a25
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x6e5d70]
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 0x481a03
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x4819e8
mov dword [esp], eax
lea ecx, [0x5f7cf8]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x4819c3
lea eax, [0x6e8a40]
mov dword [esp + 0x70], eax
lea eax, [0x713d60]
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 0x48168a
mov eax, dword [0x715a74]
mov ecx, dword [0x715a70]
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