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

Disassembly:
mov ecx, dword [0x65260c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x503030
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call sym.cmd_internal_objfile.findPlan9Symbol
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x502e45
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
call sym.cmd_internal_objfile.findPlan9Symbol
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x502e21
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x50], ebp
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x3c], esi
xor edi, edi
jmp 0x502e76
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x54
ret
inc edi
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
cmp edi, esi
jge 0x502edb
mov ecx, dword [ebp + edi*4]
mov ebx, dword [ecx + 4]
cmp ebx, 4
jne 0x502e6d
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], ecx
mov eax, dword [ecx]
mov dword [esp], eax
lea eax, [0x53053b]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x502ec5
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x502e6d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x40]
jmp 0x502edd
xor ebp, ebp
test ebp, ebp
je 0x502fe3
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
nop
lea edx, [0x55e868]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.internal_saferio.ReadDataAt
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x502fbb
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x14]
mov edi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov ebx, dword [ebx + 0x20]
mov ecx, ebx
mov ebx, dword [esp + 0x44]
mov edx, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x48]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x20]
add ebp, eax
adc edi, ecx
sub edx, ebp
mov eax, ebx
mov ebx, dword [esp + 0x34]
sbb ebx, edi
sub esi, ebp
mov ebp, dword [esp + 0x30]
sbb ebp, edi
test ebp, ebp
jne 0x503024
cmp esi, eax
ja 0x50301b
test ebx, ebx
jne 0x503010
cmp esi, edx
jb 0x503007
sub eax, edx
sub esi, edx
mov ecx, eax
neg eax
sar eax, 0x1f
and edx, eax
mov eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x54
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov eax, edx
mov ecx, esi
call sym.runtime.panicSliceBU
mov eax, edx
mov ecx, esi
mov esi, ebx
call sym.runtime.panicExtendSliceBU
mov ecx, esi
mov edx, eax
call sym.runtime.panicSliceAcapU
mov ecx, esi
mov edx, eax
mov esi, ebp
call sym.runtime.panicExtendSliceAcapU
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile.loadPlan9Table