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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4d6d72
sub esp, 0xa0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 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 + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x38], ebp
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0x44], ebx
xor esi, esi
jmp 0x4d695e
mov dword [esp + 0x58], esi
lea ecx, [edi + esi*8 - 8]
mov dword [ecx], edx
lea ecx, [edi + esi*8 - 4]
mov dword [ecx], ebx
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
cmp esi, ebp
jge 0x4d6c22
mov edi, dword [ebx + esi*4]
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00460194
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], 0x3f
movzx ecx, word [ecx + 0xc]
cmp cx, 0xfffe
jne 0x4d69b5
mov dword [esp + 0x88], 0x3f
jmp 0x4d6a8e
cmp cx, 0xffff
jne 0x4d69cb
mov dword [esp + 0x88], 0x43
jmp 0x4d6a8e
test cx, cx
jne 0x4d69e0
mov dword [esp + 0x88], 0x55
jmp 0x4d6a8e
jl 0x4d6bb6
mov eax, dword [edx]
mov edi, dword [eax + 0x20]
movsx edx, cx
cmp edi, edx
jl 0x4d6bb6
lea edx, [ecx - 1]
movsx edx, dx
cmp edi, edx
jbe 0x4d6d68
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0x24]
test edx, 0x20
je 0x4d6a22
mov dword [esp + 0x88], 0x54
jmp 0x4d6a5f
test edx, 0x40
je 0x4d6a4c
test edx, 0x80000000
jne 0x4d6a3f
mov dword [esp + 0x88], 0x52
jmp 0x4d6a5f
mov dword [esp + 0x88], 0x44
jmp 0x4d6a5f
test edx, 0x80
je 0x4d6a5f
mov dword [esp + 0x88], 0x42
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [ecx + 0xc]
mov edi, ebx
mov ebx, dword [esp + 0x20]
add ecx, ebx
mov ebx, dword [esp + 0x24]
adc ebx, 0
add edx, ecx
mov dword [esp + 0x78], edx
adc ebx, eax
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0xa4]
mov ebx, edi
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
inc eax
mov edi, dword [esp + 0x48]
cmp ecx, eax
jae 0x4d6aee
mov dword [esp], edi
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 edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov eax, ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [0x5efab0]
lea eax, [eax + eax*2]
shl eax, 4
lea edi, [eax + edi - 0x30]
test ecx, ecx
je 0x4d6b3b
mov dword [esp + 0x40], edi
lea eax, [0x4f8b20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov eax, esi
lea esi, [esp + 0x70]
call fcn.00460638
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
inc esi
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp ecx, esi
jae 0x4d6938
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4ea180]
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 + 0x5c], eax
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
jmp 0x4d6938
lea eax, [0x50e666]
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 + 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 + 0x4c]
mov dword [esp + 0x38], eax
xor ecx, ecx
jmp 0x4d6c6b
mov edx, dword [esp + 0x34]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jge 0x4d6d1e
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [sym.cmd_internal_objfile._peFile_.symbols.func1]
mov dword [esp + 0x60], edx
lea ebx, [esp + 0x54]
mov dword [esp + 0x64], ebx
lea ebx, [esp + 0x48]
mov dword [esp + 0x68], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call sym.sort.Search
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jle 0x4d6c60
jbe 0x4d6d63
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
lea edx, [edx + eax*8]
cmp ebx, ecx
jae 0x4d6d5c
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x48]
lea ebx, [ebx + ebx*2]
shl ebx, 4
mov ebp, dword [edx + ebx + 8]
mov esi, dword [edx + ebx + 0xc]
sub eax, ebp
mov dword [edx + ebx + 0x10], eax
sbb ecx, esi
mov dword [edx + ebx + 0x14], ecx
jmp 0x4d6c60
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
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
mov eax, ebx
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