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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x518ae2
sub esp, 0x64
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
xor ecx, ecx
jmp 0x51863a
inc ecx
mov ebx, esi
cmp ebx, ecx
jle 0x518a42
lea edx, [eax + ecx*8]
mov esi, dword [ebp + 0x2c]
mov edi, dword [edx]
mov edx, dword [edx + 4]
test esi, esi
je 0x51866d
lea eax, [esi - 0x31]
cmp eax, 1
ja 0x518662
mov dword [ebp + 0x30], esi
mov eax, dword [esp + 0x6c]
jmp 0x51866d
mov dword [ebp + 0x30], 0
mov eax, dword [esp + 0x6c]
test edi, edi
je 0x518a5b
mov dword [esp + 0x38], ecx
mov esi, dword [edi + 8]
cmp esi, 0x480f57fe
ja 0x518726
cmp esi, 0x778cdb8
je 0x5186f5
cmp esi, 0x94dcbf1
je 0x5186c1
cmp esi, 0x480f57fe
jne 0x518ad7
mov esi, ebx
lea ebx, [0x5ed5a0]
cmp edi, ebx
jne 0x518ad7
mov edi, dword [ebp + 0x24]
xor edi, dword [edx]
mov dword [ebp + 0x24], edi
jmp 0x518637
lea eax, [0x5fd5e0]
cmp edi, eax
jne 0x518ad7
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [ebp + 0x2c], edi
mov edi, 1
mov edi, 1
xchg edi, eax
mov byte [esp + 0x2b], al
xchg edi, eax
mov edi, 1
jmp 0x51890e
lea eax, [0x5ed6a0]
cmp edi, eax
jne 0x518a5b
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp + 0x2c], 9
mov eax, edi
mov edi, 1
xchg edi, eax
mov byte [esp + 0x2b], al
xchg edi, eax
mov edi, 1
jmp 0x51890e
cmp esi, 0xd7e7f8c7
je 0x51880f
cmp esi, 0xe451450f
jne 0x5187d4
mov esi, ebx
lea ebx, [0x5ed5e0]
cmp edi, ebx
jne 0x518a5b
movzx edx, byte [edx]
test dl, dl
jne 0x518760
lea ebx, [0x5ed5a0]
jmp 0x518637
mov edi, dword [ebp + 0x38]
cmp dword [ebp + 0x3c], edi
jne 0x518791
mov byte [esp + 0x29], dl
mov dword [esp], ebp
mov dword [esp + 4], edi
call sym.go_printer._printer_.writeWhitespace
mov ecx, dword [esp + 0x38]
movzx edx, byte [esp + 0x29]
lea ebx, [0x5ed5e0]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
xor edi, edi
mov ebx, dword [ebp + 0x3c]
lea eax, [edi + 1]
cmp ebx, eax
jb 0x518ace
mov dword [ebp + 0x38], eax
cmp edi, eax
jae 0x518ac5
mov ebx, dword [ebp + 0x34]
mov byte [ebx + edi], dl
cmp dl, 0xa
je 0x5187ba
cmp dl, 0xc
jne 0x5187be
mov byte [ebp + 0x29], 0
mov dword [ebp + 0x2c], 0
mov eax, dword [esp + 0x6c]
lea ebx, [0x5ed5a0]
jmp 0x518637
cmp esi, 0xf2318445
jne 0x518a5b
lea eax, [0x60a200]
cmp edi, eax
jne 0x518a5b
mov edi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ebp + 0x2c], 4
mov eax, edi
mov edi, 1
xchg edi, eax
mov byte [esp + 0x2b], al
xchg edi, eax
xor edi, edi
jmp 0x51890e
lea esi, [0x609e00]
cmp edi, esi
jne 0x518a5b
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
mov dword [esp], eax
call sym.go_token.Token.String
mov eax, dword [esp + 8]
test eax, eax
jbe 0x518a52
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp + 0x2c]
movzx edx, byte [ebx]
cmp ecx, 0xd
jg 0x518871
cmp ecx, 5
jne 0x518857
cmp dl, 0x2e
sete cl
jmp 0x5188ae
cmp ecx, 0xc
jne 0x518864
cmp dl, 0x2b
sete cl
jmp 0x5188ae
cmp ecx, 0xd
jne 0x5188c9
cmp dl, 0x2d
sete cl
jmp 0x5188ae
cmp ecx, 0xf
jne 0x51887e
cmp dl, 0x2a
sete cl
jmp 0x5188ae
cmp ecx, 0x11
jne 0x518897
cmp dl, 0x26
jne 0x51888f
mov ecx, 1
jmp 0x5188ae
cmp dl, 0x5e
sete cl
jmp 0x5188ae
cmp ecx, 0x28
jne 0x5188c9
cmp dl, 0x2d
jne 0x5188a8
mov ecx, 1
jmp 0x5188ae
cmp dl, 0x3c
sete cl
test cl, cl
je 0x5188c9
cmp dword [ebp + 0x3c], 1
jb 0x518a46
mov dword [ebp + 0x38], 1
mov ecx, dword [ebp + 0x34]
mov byte [ecx], 0x20
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3d
jg 0x5188e9
lea edx, [ecx - 0x25]
cmp edx, 1
jbe 0x5188f8
lea edx, [ecx - 0x36]
cmp edx, 2
jbe 0x5188f8
cmp ecx, 0x3d
je 0x5188f8
jmp 0x5188ff
cmp ecx, 0x41
je 0x5188f8
cmp ecx, 0x45
je 0x5188f8
cmp ecx, 0x50
jne 0x5188ff
mov edx, 1
jmp 0x518901
xor edx, edx
mov dword [ebp + 0x2c], ecx
xor edi, edi
mov byte [esp + 0x2b], dl
mov edx, eax
mov eax, ebx
xchg edi, eax
mov byte [esp + 0x2a], al
xchg edi, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x50], eax
lea esi, [ebp + 0x58]
lea edi, [esp + 0x3c]
call fcn.004704ae
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.004704ae
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
call sym.go_printer._printer_.flush
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax + 0x29]
test cl, cl
je 0x51895f
movzx eax, byte [esp + 0x2b]
jmp 0x5189b5
mov ecx, dword [esp + 0x48]
sub ecx, dword [eax + 0x64]
cmp ecx, 2
jle 0x518970
mov ecx, 2
movzx edx, byte [esp + 0x1c]
test dl, dl
je 0x518983
cmp ecx, 2
jne 0x518983
mov ecx, 1
test ecx, ecx
jle 0x5189b0
movzx edx, byte [esp + 0x1d]
test dl, dl
je 0x518997
mov edx, 0xc
jmp 0x51899c
mov edx, 0xa
mov dword [esp], eax
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
call sym.go_printer._printer_.writeByte
xor eax, eax
jmp 0x5189b5
movzx eax, byte [esp + 0x2b]
mov byte [esp + 0x2b], al
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x94]
test edx, edx
je 0x5189ed
mov ebx, dword [ecx + 0x78]
mov dword [edx], ebx
mov edx, dword [0x7b12d0]
test edx, edx
je 0x5189e3
mov edx, dword [ecx + 0x94]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [ecx + 0x94], 0
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.004704ae
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x2a]
mov byte [esp + 0x20], al
call sym.go_printer._printer_.writeString
movzx eax, byte [esp + 0x2b]
mov ecx, dword [esp + 0x68]
mov byte [ecx + 0x29], al
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
lea ebx, [0x5ed5a0]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
jmp 0x518637
add esp, 0x64
ret
mov ecx, 1
xor edx, edx
call sym.runtime.panicSliceAcap
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov eax, dword [0x79177c]
lea ecx, [0x66e0d4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x62ba74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x24
lea eax, [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
lea eax, [0x5ed6a0]
mov dword [esp], eax
lea eax, [0x66db00]
mov dword [esp + 4], eax
call sym.runtime.gopanic
mov ecx, eax
mov eax, edi
call sym.runtime.panicIndex
mov ecx, eax
mov edx, ebx
call sym.runtime.panicSliceAcap
lea eax, [0x5ed6a0]
jmp 0x518a5b
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.print