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

Disassembly:
mov ecx, dword [0x7762b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50537c
sub esp, 0x48
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x50504a
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x78]
cmp dword [esp + 0x5c], ecx
je 0x505013
mov ecx, 1
jmp 0x505050
mov ecx, dword [eax + 0x70]
cmp dword [esp + 0x54], ecx
je 0x505023
mov ecx, 1
jmp 0x505050
mov edx, dword [eax + 0x6c]
mov ebx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x4c]
jmp 0x505050
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test cl, cl
je 0x505378
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5ecd6e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x505136
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x505132
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x5fe0b5]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x98], eax
mov eax, dword [0x776370]
test eax, eax
je 0x50512c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x9c]
mov dword [edi + 4], eax
mov dword [edx + 0x9c], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
inc edx
mov ebx, dword [eax + 0x10]
cmp ecx, edx
jae 0x50519b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c2c00]
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 + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x776370]
test eax, eax
je 0x505194
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 0x14], edx
mov byte [edx + ebx - 1], 0xff
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b80]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c2dc0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x5efe83]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x18]
lea ebp, [edx + ebx]
mov esi, dword [eax + 0x10]
mov edi, dword [esp + 0x14]
cmp ecx, ebp
jae 0x505293
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x5c2c00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
lea eax, [esi + edx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x18], edx
mov ebx, dword [0x776370]
test ebx, ebx
jne 0x5052d4
mov ebx, dword [esp + 0x28]
jmp 0x5052e5
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x28]
mov dword [edi], ebx
mov ebp, dword [ecx + 0x10]
mov dword [edi + 4], ebp
mov dword [ecx + 0x10], ebx
inc eax
cmp edx, eax
jae 0x505344
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5c2c00]
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 + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x776370]
test eax, eax
je 0x505339
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], ecx
mov eax, edx
mov ebp, ecx
mov ecx, ebx
mov ebx, ebp
mov dword [ecx + 0x14], eax
mov byte [eax + ebx - 1], 0xff
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [ecx + 0x70], eax
mov eax, dword [0x776370]
test eax, eax
je 0x50536e
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ecx + 0x6c]
mov dword [edi + 4], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x78], eax
add esp, 0x48
ret
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.writeLineDirective