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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x44]
cmp eax, dword [ecx + 8]
jbe 0x4d7c6d
sub esp, 0xc4
mov eax, dword [esp + 0xc8]
mov eax, dword [eax]
mov dword [esp], eax
call sym.debug_plan9obj._File_.Symbols
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d78f5
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov edx, eax
xor ebx, ebx
jmp 0x4d7949
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
add esp, 0xc4
ret
mov ebp, dword [esp + 0x50]
lea eax, [ebp + 0x14]
mov ebp, dword [esp + 0x3c]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
cmp ebx, ecx
jge 0x4d7a0f
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], eax
lea edi, [esp + 0x80]
mov esi, eax
call fcn.0046067e
mov ecx, dword [0x5ca174]
mov edx, dword [esp + 0x88]
lea ebx, [0x4eaf60]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.mapaccess1_fast32
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4d7933
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
inc ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
cmp eax, ecx
jae 0x4d79fa
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4ea180]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x58], ecx
lea eax, [edx + ecx*8 - 8]
mov dword [eax], ebx
lea eax, [edx + ecx*8 - 4]
mov dword [eax], ebp
jmp 0x4d7933
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
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, [0x531420]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sort.Sort
mov eax, dword [esp + 0x44]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x4d7a63
mov ecx, dword [esp + 0x50]
add ecx, 0x14
mov ebp, dword [esp + 0x30]
inc ebp
mov esi, ecx
mov ecx, ebp
mov ebp, eax
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x28]
cmp ecx, edx
jge 0x4d7c35
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], eax
lea edi, [esp + 0x6c]
mov esi, eax
call fcn.0046067e
mov ecx, dword [0x5ca174]
mov edx, dword [esp + 0x74]
lea ebx, [0x4eaf60]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.mapaccess1_fast32
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
jne 0x4d7ac9
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
jmp 0x4d7a4f
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00460194
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea edx, [sym.cmd_internal_objfile._plan9File_.symbols.func1]
mov dword [esp + 0x60], edx
lea ebx, [esp + 0x54]
mov dword [esp + 0x64], ebx
lea ebx, [esp + 0x6c]
mov dword [esp + 0x68], ebx
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call sym.sort.Search
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x4d7b8c
jbe 0x4d7c67
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
sub ecx, edx
mov dword [esp + 0xa4], ecx
sbb eax, ebx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x4d7ba1
mov ebx, dword [esp + 0x40]
mov edx, ecx
jmp 0x4d7bd3
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4f8b20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x5efab0]
lea ebp, [eax + eax*2]
shl ebp, 4
lea edi, [ebp + ebx - 0x30]
test ecx, ecx
je 0x4d7c24
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x48], edi
lea eax, [0x4f8b20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
lea esi, [esp + 0x94]
call fcn.00460638
jmp 0x4d7a4f
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
add esp, 0xc4
ret
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._plan9File_.symbols