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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x482681
sub esp, 0x68
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x482659
mov ecx, dword [eax]
test ecx, ecx
je 0x482652
mov edx, dword [ecx + 0x10c]
test edx, edx
setne dl
test dl, dl
jne 0x482610
mov edx, dword [ecx + 0x108]
mov ebx, dword [ecx + 0x104]
cmp edx, 3
jne 0x48223a
movzx edx, word [ebx]
cmp dx, 0x554e
jne 0x48223a
movzx edx, byte [ebx + 2]
cmp dl, 0x4c
je 0x4825e8
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 0x482508
mov dword [esp + 0x18], ecx
lea edx, [ecx - 2]
cmp edx, 1
ja 0x482300
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, [0x6319a0]
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 [0x79b700]
test ecx, ecx
jne 0x4822e6
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x2c], ecx
lea ecx, [0x75b3e0]
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 0x4822bd
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0044c043
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 0x482413
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
lea eax, [0x61ea60]
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 [0x79b700]
test ecx, ecx
jne 0x4823f8
lea ecx, [0x64cef6]
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 [0x79b700]
lea ebx, [eax + 8]
test ecx, ecx
jne 0x4823e6
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x79b700]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x4823d0
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x758110]
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 0x4823ae
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x482393
mov dword [esp], eax
lea ecx, [0x64cef6]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x48236e
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, [0x6319a0]
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 [0x79b700]
test ecx, ecx
jne 0x4824eb
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, [0x75b3e0]
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 0x48246e
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
lea eax, [0x61ea60]
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 [0x79b700]
test ecx, ecx
jne 0x4825cd
lea ecx, [0x6471dc]
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 [0x79b700]
lea ebx, [eax + 8]
test ecx, ecx
jne 0x4825bb
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x79b700]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x4825a5
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x758110]
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 0x482583
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x482568
mov dword [esp], eax
lea ecx, [0x6471dc]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x482543
lea eax, [0x75b3e0]
mov dword [esp + 0x70], eax
lea eax, [0x786800]
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 0x48220a
mov eax, dword [0x788c44]
mov ecx, dword [0x788c40]
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