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

Disassembly:
mov ecx, dword [0x7a1414]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x5b717b
sub esp, 0xe8
mov eax, 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov byte [esp + 0x2b], 0
mov eax, dword [0x7594a4]
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, [0x5c9180]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x7594a4]
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 5
lea edx, [0x5e68fe]
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
call sym.internal_buildcfg.Check
mov eax, dword [0x7596c8]
mov dword [esp + 0x68], eax
mov ecx, dword [0x7596cc]
mov dword [esp + 0x3c], ecx
call sym.cmd_asm_internal_flags.Parse
mov eax, dword [0x7594dc]
movzx eax, byte [eax]
test al, al
je 0x5b675d
mov eax, 1
jmp 0x5b6766
mov eax, dword [0x7594e0]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov byte [esp + 8], al
call sym.cmd_asm_internal_arch.Set
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
test eax, eax
jne 0x5b6801
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c9180]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
lea eax, [0x5f6a74]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.log.Fatalf
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov dword [esp], ecx
call sym.cmd_internal_obj.Linknew
mov eax, dword [esp + 4]
mov ecx, dword [0x7a130c]
mov dword [eax + 8], ecx
movzx ecx, byte [0x7a12e8]
mov byte [eax + 0xc], cl
mov ecx, dword [0x7594e0]
movzx ecx, byte [ecx]
mov byte [eax + 0x19], cl
mov ecx, dword [0x7594e4]
movzx ecx, byte [ecx]
mov byte [eax + 0x1a], cl
mov ecx, dword [0x7594dc]
movzx ecx, byte [ecx]
test cl, cl
je 0x5b684e
mov ecx, 1
jmp 0x5b6857
mov ecx, dword [0x7594e0]
movzx ecx, byte [ecx]
mov byte [eax + 0x18], cl
mov ecx, dword [0x759974]
mov edx, dword [0x759970]
mov dword [eax + 0x24], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
je 0x5b6880
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x20]
mov dword [edi + 4], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [0x75997c]
mov edx, dword [0x759978]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x7a14d8]
test ecx, ecx
je 0x5b68a9
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 4], ecx
mov dword [eax + 0x10], edx
mov byte [eax + 0x96], 1
mov ecx, dword [0x7594f0]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [eax + 0x38], edx
mov edx, dword [0x7a14d8]
test edx, edx
je 0x5b68d8
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [eax + 0x34]
mov dword [edi + 4], edx
mov dword [esp + 0x5c], eax
mov dword [eax + 0x34], ecx
mov ecx, dword [0x7594f4]
mov edx, dword [ecx + 4]
test edx, edx
je 0x5b6a02
mov ecx, dword [ecx]
cmp edx, 3
jne 0x5b691a
cmp word [ecx], 0x6c61
jne 0x5b6904
cmp byte [ecx + 2], 0x6c
je 0x5b6911
cmp word [ecx], 0x6572
jne 0x5b6931
cmp byte [ecx + 2], 0x74
jne 0x5b6931
mov byte [eax + 0x1e], 1
jmp 0x5b6a02
cmp edx, 5
jne 0x5b6931
cmp dword [ecx], 0x65646e69
jne 0x5b6931
cmp byte [ecx + 4], 0x78
je 0x5b6a02
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [0x7594f4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c9180]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0046827a
lea eax, [sym.main.main.Printf.func2]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], 0x1b
lea eax, [0x5f623a]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 1
lea eax, [esp + 0x98]
mov dword [esp + 0xbc], eax
mov eax, dword [0x7594a4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
call sym.log._Logger_.output
mov dword [esp], 2
call sym.os.Exit
mov eax, dword [0x7594ac]
mov dword [esp + 0xd8], eax
lea ecx, [0x5c9200]
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 + 0xd4], eax
lea ecx, [0x5d5200]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 0xc], 0x1000
mov dword [eax + 0x10], 0x1000
mov ecx, dword [0x7a14d8]
test ecx, ecx
jne 0x5b6a76
mov ecx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x5c]
jmp 0x5b6a9b
call sym.runtime.gcWriteBarrier4
mov ecx, dword [esp + 0xd4]
mov dword [edi], ecx
mov ebx, dword [esp + 0xd8]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov ebp, dword [esp + 0x5c]
mov esi, dword [ebp + 0x28]
mov dword [edi + 0xc], esi
mov dword [eax + 8], ecx
lea ecx, [0x63c244]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov dword [ebp + 0x28], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [sym.main.main.deferwrap1]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
mov dword [esp + 0xe0], eax
mov byte [esp + 0x2b], 1
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
mov dword [esp], ebp
call ecx
mov eax, dword [0x7594d4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.cmd_internal_bio.Create
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x5b6b71
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
je 0x5b6b40
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ebx
lea eax, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.log.Fatal
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [sym.main.main.deferwrap2]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
lea eax, [esp + 0x88]
mov dword [esp + 0xe4], eax
mov byte [esp + 0x2b], 3
mov eax, dword [0x7594ec]
movzx eax, byte [eax]
test al, al
jne 0x5b6c1e
call sym.cmd_internal_objabi.HeaderString
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.bufio._Writer_.WriteString
lea eax, [0x63c258]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
lea edx, [0x5e53f9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sym.fmt.Fprintf
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x34], edx
lea ebx, [0x7a14a8]
mov dword [esp], ebx
lea ebx, [0x6015b4]
mov dword [esp + 4], ebx
call sym.sync._Once_.Do
mov eax, dword [0x7594fc]
lea ecx, [0x5ca3a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 3]
test al, al
je 0x5b6db8
lea eax, [0x7a1660]
mov dword [esp], eax
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.internal_buildcfg.expList
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
xor edx, edx
jmp 0x5b6cc0
mov dword [ecx], ebx
mov ebx, dword [esp + 0x44]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
cmp edx, ecx
jge 0x5b6db8
mov dword [esp + 0x44], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
lea ebp, [0x5ee761]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0xd
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call sym.runtime.concatstring2
mov eax, dword [0x7597d8]
mov ecx, dword [0x7597d4]
inc ecx
mov edx, dword [0x7597d0]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp eax, ecx
jae 0x5b6d89
mov dword [esp + 0x40], ebp
mov dword [esp + 0xd0], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x5c9180]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [0x7597d8], eax
mov eax, dword [0x7a14d8]
test eax, eax
je 0x5b6d72
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x7597d0]
mov dword [edi + 4], eax
mov dword [0x7597d0], ecx
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x40]
mov eax, ecx
mov ecx, edx
mov edx, eax
mov dword [0x7597d4], ecx
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
mov eax, dword [0x7a14d8]
lea ecx, [edx + ecx*8 - 8]
test eax, eax
je 0x5b6caf
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
jmp 0x5b6caf
lea eax, [0x5c9580]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x7594a0]
mov ecx, dword [esp + 4]
mov dword [esp + 0xdc], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], eax
xor ebx, ebx
xor ebp, ebp
jmp 0x5b6e03
mov esi, dword [esp + 0x44]
lea ebx, [esi + 1]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x48]
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jge 0x5b6f4c
mov dword [esp + 0x44], ebx
lea eax, [edx + ebx*8]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.cmd_asm_internal_lex.NewLexer
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call sym.cmd_asm_internal_asm.NewParser
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
lea ecx, [0x5cd100]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.main.main.func1]
mov dword [eax], ecx
mov edx, dword [0x7a14d8]
test edx, edx
jne 0x5b6e78
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x5c]
jmp 0x5b6e96
call sym.runtime.gcWriteBarrier3
mov edx, dword [esp + 0xdc]
mov dword [edi], edx
mov dword [edi + 4], eax
mov ebx, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x80]
mov dword [edi + 8], ebp
mov dword [eax + 4], edx
mov dword [ebx + 0x80], eax
mov eax, dword [0x7594ec]
movzx eax, byte [eax]
test al, al
je 0x5b6ed1
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [0x63c258]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call sym.cmd_asm_internal_asm._Parser_.ParseSymABIs
movzx eax, byte [esp + 0xc]
jmp 0x5b6f31
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.cmd_asm_internal_asm._Parser_.Parse
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x7c], ecx
test al, al
je 0x5b6f31
mov byte [esp + 0x2a], al
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call sym.cmd_internal_obj.Flushplist
movzx eax, byte [esp + 0x2a]
test al, al
jne 0x5b6deb
mov ecx, dword [esp + 0xdc]
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
jmp 0x5b6f50
xor eax, eax
xor edx, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b6fad
mov ebx, dword [0x7594ec]
movzx ebx, byte [ebx]
test bl, bl
je 0x5b6f69
xchg ebp, eax
test al, al
xchg ebp, eax
jmp 0x5b6fad
mov dword [esp + 0x38], eax
xchg ebp, eax
mov byte [esp + 0x2a], al
xchg ebp, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.cmd_internal_obj._Link_.NumberSyms
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call sym.cmd_internal_obj.WriteObjFile
movzx eax, byte [esp + 0x2a]
test al, al
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x58]
je 0x5b6fba
movzx ecx, byte [ecx]
test cl, cl
je 0x5b7148
test eax, eax
je 0x5b7072
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c9180]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0046827a
lea eax, [sym.main.main.Printf.func4]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], 0x15
lea eax, [0x5f2d61]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 1
lea eax, [esp + 0x74]
mov dword [esp + 0xbc], eax
mov eax, dword [0x7594a4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
call sym.log._Logger_.output
jmp 0x5b7119
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x5c9180]
mov dword [esp + 0x6c], eax
lea eax, [0x63b9ec]
mov dword [esp + 0x70], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [sym.main.main.Print.func5]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 1
lea eax, [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov eax, dword [0x7594a4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
call sym.log._Logger_.output
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.cmd_internal_bio._Writer_.Close
mov eax, dword [0x7594d4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.os.Remove
mov dword [esp], 1
call sym.os.Exit
mov byte [esp + 0x2b], 1
mov edx, dword [esp + 0xe4]
mov eax, dword [edx]
call eax
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe8
ret
call sym.runtime.morestack_noctxt
jmp sym.main.main