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

Disassembly:
mov ecx, dword [0x72f2ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x568bba
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov eax, dword [0x6efed4]
test byte [eax], al
add eax, 0x14
nop
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.sync_atomic.StoreInt32
nop
lea eax, [0x57c100]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x6efed4]
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 9
lea edx, [0x5a771d]
mov dword [ecx], edx
test byte [eax], al
add eax, 0x10
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.sync_atomic.StorePointer
mov eax, dword [0x72f350]
test eax, eax
je 0x568601
mov edx, dword [0x6bed64]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edx, [0x5bbfac]
mov dword [0x6bed64], edx
mov edx, dword [0x6f0154]
nop
cmp edx, 1
jb 0x568ba4
mov eax, dword [0x6efed0]
lea ecx, [edx - 1]
mov edx, dword [0x6f0150]
mov ebx, dword [0x6f0158]
mov dword [esp], eax
lea eax, [ebx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 8
add eax, edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call sym.flag._FlagSet_.Parse
mov eax, dword [0x6efed0]
mov eax, dword [eax + 0x1c]
cmp eax, 1
je 0x56866d
cmp eax, 3
je 0x56866d
call sym.main.usage
mov eax, dword [0x6efec4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x56871c
mov eax, dword [eax]
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
mov word [esp + 8], 0xd4
mov byte [esp + 0xa], 0
call sym.regexp.compile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x5686fc
mov dword [esp + 0x50], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x5686c2
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
lea eax, [0x5b24e9]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.log.Fatalf
mov ecx, dword [esp + 0x50]
mov eax, dword [0x72f350]
test eax, eax
je 0x568716
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x6efecc]
mov dword [edi + 4], eax
mov dword [0x6efecc], ecx
mov eax, dword [0x6efed0]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jg 0x56872f
xor ecx, ecx
xor eax, eax
jmp 0x568737
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.cmd_internal_objfile.Open
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x568794
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x56876c
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatal
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea edx, [sym.main.main.deferwrap1]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 0x7c], edx
mov byte [esp + 0x27], 1
mov edx, dword [ecx + 8]
nop
test edx, edx
jbe 0x568b9b
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call sym.cmd_internal_objfile._Entry_.Disasm
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xc]
test eax, eax
je 0x56889a
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], eax
mov ebx, dword [0x6efed0]
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
jg 0x56880b
xor ebp, ebp
xor ebx, ebx
jmp 0x568813
mov ebx, dword [ebx + 0x18]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], ebx
mov dword [esp + 4], ebp
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x57c100]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x56885c
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
lea eax, [0x5b103d]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.log.Fatalf
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x6efed0]
mov ebx, dword [edx + 0x1c]
nop
cmp ebx, 1
je 0x568b0f
cmp ebx, 3
jne 0x568b08
mov edx, dword [edx + 0x18]
mov ebx, dword [edx + 0xc]
nop
mov edx, dword [edx + 8]
cmp ebx, 2
jge 0x5688c9
xor eax, eax
jmp 0x5688fc
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], edx
mov dword [esp], edx
lea eax, [0x59e456]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
test al, al
je 0x568918
cmp ebx, 2
jb 0x568b8f
add ebx, 0xfffffffe
mov eax, ebx
neg eax
sar eax, 0x1f
and eax, 2
add edx, eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x40
call sym.strconv.ParseUint
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x5689a3
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x568965
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
lea eax, [0x5b1ea9]
mov dword [esp], eax
mov dword [esp + 4], 0x14
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.log.Fatalf
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [0x6efed0]
cmp dword [ebx + 0x1c], 2
jg 0x5689b5
xor ebp, ebp
xor ebx, ebx
jmp 0x5689be
mov ebx, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x10]
cmp ebp, 2
jge 0x5689c7
xor eax, eax
jmp 0x5689fe
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], ebx
mov dword [esp], ebx
lea eax, [0x59e456]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
test al, al
je 0x568a1a
cmp ebp, 2
jb 0x568b83
add ebp, 0xfffffffe
mov eax, ebp
neg eax
sar eax, 0x1f
and eax, 2
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x40
call sym.strconv.ParseUint
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x568aa5
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x568a67
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
lea eax, [0x5b104f]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.log.Fatalf
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [0x6efecc]
mov ebx, dword [0x6efedc]
mov ebp, dword [0x6efec0]
movzx ebp, byte [ebp]
mov esi, dword [0x6efec8]
movzx esi, byte [esi]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
lea edi, [0x5e5214]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
xchg ebp, eax
mov byte [esp + 0x20], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
call sym.cmd_internal_objfile._Disasm_.Print
jmp 0x568b72
call sym.main.usage
jmp 0x568b72
mov eax, dword [0x6efecc]
mov edx, dword [0x6efedc]
mov ebx, dword [0x6efec0]
movzx ebx, byte [ebx]
mov ebp, dword [0x6efec8]
movzx ebp, byte [ebp]
mov dword [esp], ecx
lea ecx, [0x5e5214]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0x20], bl
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
call sym.cmd_internal_objfile._Disasm_.Print
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
call eax
sub esp, 0xffffff80
ret
mov eax, 2
mov ecx, ebp
call sym.runtime.panicSliceB
mov eax, 2
mov ecx, ebx
call sym.runtime.panicSliceB
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
nop
call sym.runtime.deferreturn
sub esp, 0xffffff80
ret
call sym.runtime.morestack_noctxt
jmp sym.main.main