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

Disassembly:
mov ecx, dword [0x65260c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x50084e
sub esp, 0x108
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x50030f
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
jmp 0x500357
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0x108
ret
add edx, 0x14
mov ebx, dword [esp + 0x5c]
lea ecx, [ebx - 1]
test ecx, ecx
jle 0x50041c
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0xac]
mov esi, edx
call fcn.0046432e
movzx ecx, byte [esp + 0xb4]
test cl, 0xe0
jne 0x50034d
mov ecx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xc4]
inc ebx
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
cmp ecx, ebx
jae 0x500407
mov dword [esp + 0xd4], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x515560]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc0], ebp
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0xd4]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov dword [esp + 0xc4], ebx
lea ecx, [ebp + ebx*8 - 8]
mov dword [ecx], esi
mov dword [ecx + 4], edi
jmp 0x50034d
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
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, [0x55ec14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.sort.Sort
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x50047f
add edx, 0x14
mov esi, dword [esp + 0x5c]
dec esi
mov edi, ecx
mov ecx, esi
mov esi, edi
test ecx, ecx
jle 0x500816
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], esi
lea edi, [esp + 0xf4]
mov esi, edx
call fcn.0046432e
lea edi, [esp + 0x98]
lea esi, [esp + 0xf4]
call fcn.0046432e
movzx ecx, byte [esp + 0xa0]
test cl, 0xe0
je 0x5004c3
mov ecx, dword [esp + 0x44]
jmp 0x500471
mov dword [esp + 0xd4], edx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x48], ebx
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00463e44
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], 0x3f
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xd8]
call fcn.00463e49
lea ecx, [sym.cmd_internal_objfile._machoFile_.symbols.func1]
mov dword [esp + 0xd8], ecx
lea edx, [esp + 0xc0]
mov dword [esp + 0xdc], edx
lea edi, [esp + 0xe0]
lea esi, [esp + 0x98]
call fcn.0046432e
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 4], ecx
call sym.sort.Search
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc4]
cmp ecx, eax
jle 0x5005ab
jbe 0x500848
mov ecx, dword [esp + 0xc0]
lea ecx, [ecx + eax*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa8]
sub edx, ebx
mov dword [esp + 0x74], edx
sbb ecx, ebp
mov dword [esp + 0x78], ecx
movzx ecx, byte [esp + 0xa1]
test cl, cl
jne 0x5005cb
mov dword [esp + 0x7c], 0x55
mov ebx, dword [esp + 0x10c]
jmp 0x50074a
movzx edx, cl
mov ebx, dword [esp + 0x10c]
mov ebp, dword [ebx]
cmp dword [ebp + 0x34], edx
jl 0x50074a
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 0x500621
cmp dword [edx], 0x41445f5f
jne 0x50060f
cmp word [edx + 4], 0x4154
jne 0x50060f
mov dword [esp + 0x7c], 0x44
jmp 0x500676
cmp dword [edx], 0x45545f5f
jne 0x500676
cmp word [edx + 4], 0x5458
je 0x50065e
jmp 0x500676
cmp ecx, 0xc
jne 0x500676
mov dword [esp + 0x94], eax
mov dword [esp], edx
lea eax, [0x531e96]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x500668
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x7c], 0x52
jmp 0x500676
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x10c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
lea ebp, [esp + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x55e28c]
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 0x500718
cmp eax, 0xd
je 0x5006eb
cmp eax, 0x11
jne 0x500743
mov dword [esp], ecx
lea eax, [0x5338b3]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x50073b
jmp 0x500743
mov dword [esp], ecx
lea eax, [0x5323ba]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x500743
mov dword [esp + 0x7c], 0x54
jmp 0x500743
mov dword [esp], ecx
lea eax, [0x531ea2]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x500743
mov dword [esp + 0x7c], 0x42
mov ebx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x44]
inc ecx
mov edx, dword [esp + 0x48]
cmp edx, ecx
jb 0x50075d
mov ebp, dword [esp + 0x60]
jmp 0x500798
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, [0x5249a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x44], ecx
mov eax, dword [0x6526b0]
lea esi, [ecx + ecx*2]
shl esi, 4
lea edi, [esi + ebp - 0x30]
test eax, eax
je 0x5007f9
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0xcc], edi
lea eax, [0x5249a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x10c]
mov ebp, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
lea esi, [esp + 0x64]
call fcn.004642e8
mov eax, ebx
mov ebx, edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xd4]
jmp 0x500471
mov dword [esp + 0x110], ebp
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
add esp, 0x108
ret
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._machoFile_.symbols