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

Disassembly:
mov ecx, dword [0x62d46c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4fa965
sub esp, 0xb0
mov eax, 0
mov dword [esp + 0xac], eax
mov byte [esp + 0x2b], 0
mov edx, dword [0x60e37c]
nop
mov ebx, dword [0x60e378]
mov ebp, dword [0x60e380]
cmp edx, 1
jb 0x4fa94c
mov eax, dword [0x60e094]
lea ecx, [ebp - 1]
dec edx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call sym.flag._FlagSet_.Parse
mov eax, dword [0x60e080]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4fa450
mov edx, dword [eax]
nop
cmp ecx, 2
jge 0x4fa322
xor eax, eax
jmp 0x4fa351
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], edx
mov dword [esp], edx
lea eax, [0x522db5]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
test al, al
je 0x4fa36d
cmp ecx, 2
jb 0x4fa942
add ecx, 0xfffffffe
mov eax, ecx
neg eax
sar eax, 0x1f
and eax, 2
add edx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.encoding_hex.DecodeString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4fa3d6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
je 0x4fa3b2
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.main.die
lea eax, [0x512360]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov edx, dword [0x62d558]
test edx, edx
jne 0x4fa406
mov edx, dword [esp + 0x58]
jmp 0x4fa411
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x58]
mov dword [edi], edx
mov dword [eax], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
lea edx, [0x5538e0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
sar ecx, 0x1f
mov dword [esp + 0xc], ecx
call sym.main.newInStream
mov eax, dword [esp + 0x10]
xor ecx, ecx
jmp 0x4fa797
mov eax, dword [0x60e094]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4fa69b
cmp ecx, 1
jne 0x4fa638
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
nop
nop
mov dword [esp], eax
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 + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x18]
test eax, eax
je 0x4fa4e1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
je 0x4fa4b9
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.main.die
mov ecx, dword [esp + 0x50]
lea eax, [sym.main.main.deferwrap1]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0xa4]
mov dword [esp + 0xac], eax
mov byte [esp + 0x2b], 1
mov dword [esp], ecx
call sym.os._File_.Stat
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4fa51e
xor ecx, ecx
xor eax, eax
jmp 0x4fa536
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
nop
lea edx, [0x517fa0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea ecx, [0x50aac0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046dcb5
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x1000
mov dword [esp + 0x80], 0x1000
lea eax, [0x5536fc]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [0x62d558]
test eax, eax
je 0x4fa5f7
lea eax, [0x517fa0]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x48]
lea esi, [esp + 0x78]
call fcn.0046e162
lea eax, [0x5538f4]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call sym.main.newInStream
mov eax, dword [esp + 0x10]
mov ecx, 1
jmp 0x4fa797
lea eax, [0x50aa40]
mov dword [esp + 0x5c], eax
lea eax, [0x552fe4]
mov dword [esp + 0x60], eax
mov eax, dword [0x60e0a0]
lea ecx, [0x5536dc]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprintln
mov edx, dword [0x6080e4]
mov eax, dword [edx]
call eax
mov dword [esp], 2
call sym.os.Exit
xor eax, eax
xor ecx, ecx
jmp 0x4fa797
mov eax, dword [0x60e098]
mov dword [esp + 0x64], eax
nop
lea ecx, [0x517fa0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
lea ecx, [0x50aac0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0046dcb5
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x1000
mov dword [esp + 0x80], 0x1000
lea eax, [0x5536fc]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [0x62d558]
test eax, eax
je 0x4fa75e
lea eax, [0x517fa0]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x78]
call fcn.0046e162
lea eax, [0x5538f4]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.main.newInStream
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov byte [esp + 0x2a], cl
mov edx, dword [0x60e084]
movzx edx, byte [edx]
test dl, dl
je 0x4fa8be
lea ecx, [0x5536ec]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.main.textToRlp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x4fa827
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
je 0x4fa7f7
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.main.die
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x506e60]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [0x60e09c]
lea ecx, [0x5536dc]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x522f82]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x4fa8b7
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov ecx, dword [0x60e09c]
mov dword [esp], eax
lea eax, [0x5536dc]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.main.rlpToText
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4fa91f
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
je 0x4fa8fb
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.main.die
movzx eax, byte [esp + 0x2a]
test al, 1
je 0x4fa93b
and eax, 0xfffffffe
mov byte [esp + 0x2b], al
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
call eax
add esp, 0xb0
ret
mov eax, 2
call sym.runtime.panicSliceB
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
nop
call sym.runtime.deferreturn
add esp, 0xb0
ret
call sym.runtime.morestack_noctxt
jmp sym.main.main