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

Disassembly:
mov ecx, dword [0x5ef9b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x4d5c52
sub esp, 0xe4
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x4d5719
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x3c], ecx
xor ebx, ebx
jmp 0x4d575f
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xe4
ret
add edx, 0x14
inc ebx
mov ecx, dword [esp + 0x3c]
cmp ebx, ecx
jge 0x4d5813
lea edi, [esp + 0xa0]
mov esi, edx
call fcn.0046067e
movzx ecx, byte [esp + 0xa8]
test cl, 0xe0
jne 0x4d5757
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
inc ebp
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
cmp ecx, ebp
jae 0x4d57f7
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4ea180]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x78], ebp
lea ecx, [esi + ebp*8 - 8]
mov dword [ecx], edi
lea ecx, [esi + ebp*8 - 4]
mov dword [ecx], eax
mov eax, dword [esp + 0xe8]
jmp 0x4d5757
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
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 + 0xe8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x3c], ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4d5873
add edx, 0x14
inc ebx
mov edi, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x3c]
cmp ebx, ecx
jge 0x4d5c1a
mov dword [esp + 0x24], edi
mov dword [esp + 0x60], esi
lea edi, [esp + 0x8c]
mov esi, edx
call fcn.0046067e
movzx ecx, byte [esp + 0x94]
test cl, 0xe0
je 0x4d58a8
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
jmp 0x4d5865
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x28], ebp
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.00460194
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xcc], 0x3f
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea edx, [sym.cmd_internal_objfile._machoFile_.symbols.func1]
mov dword [esp + 0x80], edx
lea ebx, [esp + 0x74]
mov dword [esp + 0x84], ebx
lea ebx, [esp + 0x8c]
mov dword [esp + 0x88], ebx
mov dword [esp], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
call sym.sort.Search
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jle 0x4d59a1
jbe 0x4d5c4c
mov ecx, dword [esp + 0x74]
lea ecx, [ecx + eax*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
sub edx, ebx
mov dword [esp + 0xc4], edx
sbb ecx, ebp
mov dword [esp + 0xc8], ecx
movzx ecx, byte [esp + 0x95]
test cl, cl
jne 0x4d59c4
mov dword [esp + 0xcc], 0x55
mov ebx, dword [esp + 0xe8]
jmp 0x4d5b4a
movzx edx, cl
mov ebx, dword [esp + 0xe8]
mov ebp, dword [ebx]
cmp dword [ebp + 0x34], edx
jl 0x4d5b4a
mov eax, dword [ebp + 0x30]
dec ecx
movzx ecx, cl
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
cmp ecx, 6
jne 0x4d5a1d
cmp dword [edx], 0x41445f5f
jne 0x4d5a0b
cmp word [edx + 4], 0x4154
jne 0x4d5a0b
mov dword [esp + 0xcc], 0x44
jmp 0x4d5a6c
cmp dword [edx], 0x45545f5f
jne 0x4d5a6c
cmp word [edx + 4], 0x5458
je 0x4d5a54
jmp 0x4d5a6c
cmp ecx, 0xc
jne 0x4d5a6c
mov dword [esp + 0x64], eax
mov dword [esp], edx
lea eax, [0x505db7]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d5a61
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0xcc], 0x52
jmp 0x4d5a6c
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0xe8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
lea ebp, [esp + 0x40]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x530b1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, 0xc
je 0x4d5b15
cmp eax, 0xd
je 0x4d5ae5
cmp eax, 0x11
jne 0x4d5b43
mov dword [esp], ecx
lea eax, [0x507714]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4d5b38
jmp 0x4d5b43
mov dword [esp], ecx
lea eax, [0x5062cf]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d5b43
mov dword [esp + 0xcc], 0x54
jmp 0x4d5b43
mov dword [esp], ecx
lea eax, [0x505dc3]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d5b43
mov dword [esp + 0xcc], 0x42
mov ebx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x24]
inc ecx
mov edx, dword [esp + 0x28]
cmp edx, ecx
jb 0x4d5b5d
mov esi, dword [esp + 0x60]
jmp 0x4d5b98
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4f8b20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe8]
mov edx, ebp
mov dword [esp + 0x24], ecx
mov ebp, dword [0x5efab0]
lea eax, [ecx + ecx*2]
shl eax, 4
lea edi, [eax + esi - 0x30]
test ebp, ebp
je 0x4d5bf0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], edi
lea eax, [0x4f8b20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xe8]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov eax, esi
lea esi, [esp + 0xb4]
call fcn.00460638
mov ebx, dword [esp + 0x38]
mov ebp, edx
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0x70]
jmp 0x4d5865
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
add esp, 0xe4
ret
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._machoFile_.symbols