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

Disassembly:
mov ecx, dword [0x67bf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51d127
add esp, 0xffffff80
mov eax, dword [edx + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x53a1e0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov dword [eax + 4], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5318c0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5856fc]
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
lea ebx, [0x55298e]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 5
lea ebx, [esp + 0x68]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sym.flag.UnquoteUsage
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 4]
test eax, eax
je 0x51cb9b
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp]
nop
nop
test esi, esi
je 0x51ca31
cmp esi, ebp
je 0x51ca4b
jmp 0x51d10e
mov esi, dword [0x67c100]
test esi, esi
je 0x51ca48
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov esi, dword [ebp]
mov dword [edi + 4], esi
mov dword [ebp], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea edx, [edi + 1]
mov ecx, dword [ebp + 4]
cmp esi, edx
jae 0x51caa5
mov dword [esp + 0x3c], edi
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x531c00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x3c]
mov byte [ecx + edi], 0x20
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
mov edx, dword [0x67c100]
test edx, edx
je 0x51cac6
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [ebp + 4]
mov dword [edi + 4], edx
mov dword [ebp + 4], ecx
mov ecx, dword [ebp]
nop
nop
test ecx, ecx
je 0x51cadb
cmp ecx, ebp
je 0x51caf5
jmp 0x51d0f6
mov ecx, dword [0x67c100]
test ecx, ecx
je 0x51caf2
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov ecx, dword [ebp]
mov dword [edi + 4], ecx
mov dword [ebp], ebp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea esi, [edx + eax]
mov edi, dword [ebp + 4]
cmp ecx, esi
jae 0x51cb3f
mov dword [esp + 0x3c], edx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea ecx, [0x531c00]
mov dword [esp + 0x10], ecx
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x5c], edi
add edx, edi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x67c100]
test eax, eax
jne 0x51cb7f
mov eax, dword [esp + 0x5c]
jmp 0x51cb90
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
cmp dword [eax + 8], 4
jg 0x51cc50
mov ebx, dword [eax]
nop
test ebx, ebx
je 0x51cbb9
cmp ebx, eax
je 0x51cbd1
jmp 0x51d0de
mov ebx, dword [0x67c100]
test ebx, ebx
je 0x51cbcf
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], eax
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
lea esi, [ebp + 1]
mov edi, dword [eax + 4]
cmp ebx, esi
jae 0x51cc23
mov dword [esp + 0x3c], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x531c00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x3c]
mov byte [edi + ebp], 9
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov ebx, dword [0x67c100]
test ebx, ebx
je 0x51cc48
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [eax + 4], edi
jmp 0x51ccfd
mov ebx, dword [eax]
nop
nop
test ebx, ebx
je 0x51cc61
cmp ebx, eax
je 0x51cc79
jmp 0x51d0c6
mov ebx, dword [0x67c100]
test ebx, ebx
je 0x51cc77
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], eax
mov ebx, dword [eax + 8]
lea ebp, [ebx + 6]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 4]
cmp esi, ebp
jae 0x51cccb
mov dword [esp + 0x3c], ebx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 6
lea eax, [0x531c00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov dword [edi + ebx], 0x2020200a
mov word [edi + ebx + 4], 0x920
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov ebx, dword [0x67c100]
test ebx, ebx
je 0x51ccfa
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [eax + 4], edi
nop
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x584374]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x552b5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
mov dword [esp + 0x18], 0xffffffff
call sym.strings.Replace
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
nop
nop
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x51cd53
cmp ecx, eax
je 0x51cd6b
jmp 0x51d0ae
mov ecx, dword [0x67c100]
test ecx, ecx
je 0x51cd69
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [eax], eax
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax + 8]
lea esi, [edx + ebp]
mov edi, dword [eax + 4]
cmp ecx, esi
jae 0x51cdbd
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea eax, [0x531c00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x5c], edi
lea eax, [edi + ebp]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call sym.runtime.memmove
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x67c100]
test eax, eax
jne 0x51cdfe
mov eax, dword [esp + 0x5c]
jmp 0x51ce0f
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x84]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.flag.isZeroValue
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x51cee1
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
inc ebp
mov esi, dword [eax]
cmp ebx, ebp
jae 0x51ceb7
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5362e0]
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 ebx, dword [esp + 0x60]
mov dword [ebx + 8], eax
mov eax, dword [0x67c100]
test eax, eax
je 0x51cea7
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebp, edx
mov esi, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ebp
lea eax, [esi + ebp*8 - 8]
mov dword [eax], edx
mov eax, dword [0x67c100]
lea edx, [esi + ebp*8 - 4]
test eax, eax
je 0x51ceda
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
jmp 0x51cfea
movzx eax, byte [esp + 0xc]
test al, al
jne 0x51cfea
lea eax, [0x585a1c]
mov ecx, dword [esp + 0x84]
cmp dword [ecx + 0x10], eax
jne 0x51cf76
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5318c0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5856fc]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea edx, [0x5544bc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xd
lea edx, [esp + 0x68]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
jmp 0x51cfea
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5318c0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5856fc]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea edx, [0x5544c9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xd
lea edx, [esp + 0x68]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x51cffa
mov eax, dword [eax + 0x2c]
jmp 0x51d006
mov eax, dword [0x656bd0]
lea ecx, [0x585628]
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 4]
mov ebp, ebx
neg ebx
mov edx, dword [edx + 8]
cmp edx, ebx
ja 0x51d0a0
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], ebp
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5318c0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x585110]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Fprint
sub esp, 0xffffff80
ret
test ebp, ebp
je 0x51d0a9
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x5318c0]
mov dword [esp], eax
lea eax, [0x585108]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5318c0]
mov dword [esp], eax
lea eax, [0x585108]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5318c0]
mov dword [esp], eax
lea eax, [0x585108]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5318c0]
mov dword [esp], eax
lea eax, [0x585108]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x5318c0]
mov dword [esp], eax
lea eax, [0x585108]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack
jmp sym.flag._FlagSet_.PrintDefaults.func1