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

Disassembly:
mov ecx, dword [0x5c5164]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49a188
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, [0x4dd720]
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, [0x4d80c0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5149a0]
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
lea ebx, [0x4ed64f]
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 0x499bfb
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp]
nop
nop
test esi, esi
je 0x499a91
cmp esi, ebp
je 0x499aab
jmp 0x49a16f
mov esi, dword [0x5c5260]
test esi, esi
je 0x499aa8
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 0x499b05
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, [0x4d8400]
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 [0x5c5260]
test edx, edx
je 0x499b26
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 0x499b3b
cmp ecx, ebp
je 0x499b55
jmp 0x49a157
mov ecx, dword [0x5c5260]
test ecx, ecx
je 0x499b52
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 0x499b9f
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, [0x4d8400]
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 [0x5c5260]
test eax, eax
jne 0x499bdf
mov eax, dword [esp + 0x5c]
jmp 0x499bf0
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 0x499cb0
mov ebx, dword [eax]
nop
test ebx, ebx
je 0x499c19
cmp ebx, eax
je 0x499c31
jmp 0x49a13f
mov ebx, dword [0x5c5260]
test ebx, ebx
je 0x499c2f
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 0x499c83
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, [0x4d8400]
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 [0x5c5260]
test ebx, ebx
je 0x499ca8
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 0x499d5d
mov ebx, dword [eax]
nop
nop
test ebx, ebx
je 0x499cc1
cmp ebx, eax
je 0x499cd9
jmp 0x49a127
mov ebx, dword [0x5c5260]
test ebx, ebx
je 0x499cd7
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 0x499d2b
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, [0x4d8400]
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 [0x5c5260]
test ebx, ebx
je 0x499d5a
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, [0x513b14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4ed781]
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 0x499db3
cmp ecx, eax
je 0x499dcb
jmp 0x49a10f
mov ecx, dword [0x5c5260]
test ecx, ecx
je 0x499dc9
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 0x499e1d
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, [0x4d8400]
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, [ebp + edi]
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 [0x5c5260]
test eax, eax
jne 0x499e5f
mov eax, dword [esp + 0x5c]
jmp 0x499e70
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 0x499f42
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 0x499f18
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, [0x4dac00]
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 [0x5c5260]
test eax, eax
je 0x499f08
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 [0x5c5260]
lea edx, [esi + ebp*8 - 4]
test eax, eax
je 0x499f3b
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edx], ecx
jmp 0x49a04b
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49a04b
lea eax, [0x514c78]
mov ecx, dword [esp + 0x84]
cmp dword [ecx + 0x10], eax
jne 0x499fd7
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, [0x4d80c0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5149a0]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea edx, [0x4ee987]
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 0x49a04b
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, [0x4d80c0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5149a0]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea edx, [0x4ee994]
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 0x49a05b
mov eax, dword [eax + 0x2c]
jmp 0x49a067
mov eax, dword [0x59f9d4]
lea ecx, [0x51498c]
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 4]
mov ebp, ebx
neg ebx
mov edx, dword [edx + 8]
cmp edx, ebx
ja 0x49a101
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, [0x4d80c0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x5145b0]
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 0x49a10a
call sym.runtime.panicunsafestringlen
call sym.runtime.panicunsafestringnilptr
lea eax, [0x4d80c0]
mov dword [esp], eax
lea eax, [0x5145a8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4d80c0]
mov dword [esp], eax
lea eax, [0x5145a8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4d80c0]
mov dword [esp], eax
lea eax, [0x5145a8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4d80c0]
mov dword [esp], eax
lea eax, [0x5145a8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
lea eax, [0x4d80c0]
mov dword [esp], eax
lea eax, [0x5145a8]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack
jmp sym.flag._FlagSet_.PrintDefaults.func1