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

Disassembly:
mov ecx, dword [0x6535cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x50191e
sub esp, 0xa0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call sym.cmd_internal_objfile._peFile_.imageBase
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx]
mov ebp, dword [ebx + 0x28]
mov dword [esp + 0x8c], ebp
mov ebx, dword [ebx + 0x2c]
mov dword [esp + 0x38], ebx
xor esi, esi
jmp 0x5014ea
mov dword [esp + 0x80], esi
lea ecx, [edi + esi*8 - 8]
mov dword [ecx], edx
mov dword [ecx + 4], ebp
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
cmp esi, ebx
jge 0x5017ac
mov edi, dword [ebp + esi*4]
mov dword [esp + 0x78], edi
lea edi, [esp + 0x48]
xor eax, eax
call fcn.00463dd4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], 0x3f
movzx ecx, word [ecx + 0xc]
cmp cx, 0xfffe
jne 0x50153c
mov dword [esp + 0x60], 0x3f
jmp 0x501603
cmp cx, 0xffff
jne 0x50154f
mov dword [esp + 0x60], 0x43
jmp 0x501603
test cx, cx
jne 0x501561
mov dword [esp + 0x60], 0x55
jmp 0x501603
jl 0x501740
mov eax, dword [edx]
mov edi, dword [eax + 0x20]
movsx edx, cx
cmp edi, edx
jl 0x501740
lea edx, [ecx - 1]
movsx edx, dx
cmp edi, edx
jbe 0x501914
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0x24]
test edx, 0x20
je 0x5015a0
mov dword [esp + 0x60], 0x54
jmp 0x5015d4
test edx, 0x40
je 0x5015c4
test edx, 0x80000000
jne 0x5015ba
mov dword [esp + 0x60], 0x52
jmp 0x5015d4
mov dword [esp + 0x60], 0x44
jmp 0x5015d4
test edx, 0x80
je 0x5015d4
mov dword [esp + 0x60], 0x42
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + 0xc]
mov edi, ebp
mov ebp, dword [esp + 0x20]
add ecx, ebp
mov ebp, dword [esp + 0x24]
adc ebp, 0
add edx, ecx
mov dword [esp + 0x50], edx
adc ebp, eax
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0xa4]
mov ebp, edi
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
inc eax
mov edi, dword [esp + 0x3c]
cmp ecx, eax
jae 0x501666
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5249a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x34]
mov eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [0x653670]
lea eax, [eax + eax*2]
shl eax, 4
lea edi, [eax + edi - 0x30]
test ecx, ecx
je 0x5016bc
mov dword [esp + 0x88], edi
lea eax, [0x5249a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x88]
mov eax, esi
lea esi, [esp + 0x48]
call fcn.00464278
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
inc esi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
cmp ecx, esi
jae 0x5014c1
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x515560]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
jmp 0x5014c1
lea eax, [0x53a7ed]
mov dword [esp], eax
mov dword [esp + 4], 0x26
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 + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa0
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x55eba4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sort.Sort
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
xor ecx, ecx
jmp 0x5017f7
lea ecx, [eax + 1]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jge 0x5018cc
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [sym.cmd_internal_objfile._peFile_.symbols.func1]
mov dword [esp + 0x90], edx
lea ebx, [esp + 0x7c]
mov dword [esp + 0x94], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ecx
mov dword [esp], eax
lea eax, [esp + 0x90]
mov dword [esp + 4], eax
call sym.sort.Search
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jle 0x5018c3
jbe 0x50190f
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
lea edx, [edx + eax*8]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x50190a
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov ebx, dword [esp + 0x3c]
lea ebp, [eax + eax*2]
shl ebp, 4
mov esi, dword [ebx + ebp + 8]
mov edi, dword [ebx + ebp + 0xc]
sub ecx, esi
mov dword [ebx + ebp + 0x10], ecx
sbb edx, edi
mov dword [ebx + ebp + 0x14], edx
jmp 0x5017f0
mov eax, dword [esp + 0x28]
jmp 0x5017f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 0xa0
ret
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov eax, edx
mov ecx, edi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._peFile_.symbols