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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x53188a
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call sym.cmd_internal_objfile._Entry_.Symbols
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x5314fb
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call sym.cmd_internal_objfile._Entry_.PCLineTable
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
jne 0x5314d3
mov dword [esp + 0x68], ecx
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x24]
nop
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x5314ab
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0x14]
nop
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [0x6b8564]
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
lea ebx, [0x552020]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
mov ecx, dword [0x6b8568]
lea edx, [0x552060]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x70]
test edx, edx
je 0x531455
mov eax, dword [eax]
test eax, eax
je 0x531455
mov dword [esp + 0x74], ecx
mov dword [esp + 0x44], eax
mov ebp, dword [esp + 0x64]
mov ebx, ebp
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
jmp 0x53153d
lea eax, [0x587863]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb4
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb4
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0xb4
ret
add ebp, 0x30
mov edi, dword [esp + 0x50]
inc edi
mov dword [esp + 0x50], edi
mov edi, ecx
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x50]
cmp ecx, esi
jge 0x53174a
mov dword [esp + 0x7c], ebp
lea edi, [esp + 0x84]
mov esi, ebp
call fcn.00461048
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
cmp ecx, 5
jg 0x5315c2
cmp ecx, 4
jne 0x53158c
cmp dword [esi], 0x74786574
je 0x53166c
jmp 0x531689
cmp ecx, 5
jne 0x531689
cmp dword [esi], 0x7865745f
jne 0x5315a7
cmp byte [esi + 4], 0x74
je 0x53166c
cmp dword [esi], 0x78657465
jne 0x531689
cmp byte [esi + 4], 0x74
je 0x53166c
jmp 0x531689
cmp ecx, 6
jne 0x5315e4
cmp dword [esi], 0x6574655f
jne 0x531689
cmp word [esi + 4], 0x7478
je 0x53166c
jmp 0x531689
cmp ecx, 0xc
je 0x531639
cmp ecx, 0xd
jne 0x531689
mov dword [esp], esi
lea eax, [0x580dbc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x531627
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x7c]
jmp 0x53166c
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x7c]
jmp 0x531689
mov dword [esp], esi
lea eax, [0x5800f6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x531679
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x4c]
jmp 0x531523
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
inc ecx
mov esi, eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
jae 0x5316d4
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x564920]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x44]
mov eax, edi
mov dword [esp + 0x3c], ecx
mov edi, dword [0x6ddfe0]
lea esi, [ecx + ecx*2]
shl esi, 4
lea esi, [esi + ebx - 0x30]
test edi, edi
je 0x53172d
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], esi
lea eax, [0x564920]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edi, esi
lea esi, [esp + 0x84]
call fcn.00461048
mov ecx, eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
jmp 0x531523
lea eax, [0x567120]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x6ddfe0]
mov edx, dword [esp + 0x20]
mov ebx, edx
sar edx, 0x1f
mov ebp, dword [esp + 0x28]
mov esi, ebp
add ebp, ebx
mov edi, dword [esp + 0x30]
adc edx, edi
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x5317a2
mov ecx, edi
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov edx, dword [esp + 0x48]
mov edi, ecx
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
je 0x5317cf
mov ecx, edi
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x68]
mov dword [edi], edx
mov edx, dword [esp + 0x48]
mov edi, ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ebx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1c], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x5317f2
mov ecx, edi
mov ebx, dword [esp + 0x5c]
jmp 0x5317ff
mov ecx, edi
call sym.runtime.gcWriteBarrier1
mov ebx, dword [esp + 0x5c]
mov dword [edi], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], esi
mov dword [eax + 0x28], ebp
mov dword [eax + 0x2c], edx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x34], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x531829
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
jmp 0x53183b
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov edx, dword [esp + 0x70]
mov dword [edi + 4], edx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], edx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x3c], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
jne 0x531858
mov ecx, dword [esp + 0x74]
jmp 0x531863
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 0x40], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0xb4
ret
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._Entry_.Disasm