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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x538022
sub esp, 0xe4
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x537ae9
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 0x537b2f
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 0x537be3
lea edi, [esp + 0xa0]
mov esi, edx
call fcn.0046108e
movzx ecx, byte [esp + 0xa8]
test cl, 0xe0
jne 0x537b27
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 0x537bc7
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, [0x550ec0]
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 0x537b27
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, [0x5b8084]
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 0x537c43
add edx, 0x14
inc ebx
mov edi, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x3c]
cmp ebx, ecx
jge 0x537fea
mov dword [esp + 0x24], edi
mov dword [esp + 0x60], esi
lea edi, [esp + 0x8c]
mov esi, edx
call fcn.0046108e
movzx ecx, byte [esp + 0x94]
test cl, 0xe0
je 0x537c78
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
jmp 0x537c35
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x28], ebp
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.00460ba4
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 0x537d71
jbe 0x53801c
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 0x537d94
mov dword [esp + 0xcc], 0x55
mov ebx, dword [esp + 0xe8]
jmp 0x537f1a
movzx edx, cl
mov ebx, dword [esp + 0xe8]
mov ebp, dword [ebx]
cmp dword [ebp + 0x34], edx
jl 0x537f1a
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 0x537ded
cmp dword [edx], 0x41445f5f
jne 0x537ddb
cmp word [edx + 4], 0x4154
jne 0x537ddb
mov dword [esp + 0xcc], 0x44
jmp 0x537e3c
cmp dword [edx], 0x45545f5f
jne 0x537e3c
cmp word [edx + 4], 0x5458
je 0x537e24
jmp 0x537e3c
cmp ecx, 0xc
jne 0x537e3c
mov dword [esp + 0x64], eax
mov dword [esp], edx
lea eax, [0x58010e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x537e31
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0xcc], 0x52
jmp 0x537e3c
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, [0x5b7224]
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 0x537ee5
cmp eax, 0xd
je 0x537eb5
cmp eax, 0x11
jne 0x537f13
mov dword [esp], ecx
lea eax, [0x5836ff]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x537f08
jmp 0x537f13
mov dword [esp], ecx
lea eax, [0x580dd6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xd
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x537f13
mov dword [esp + 0xcc], 0x54
jmp 0x537f13
mov dword [esp], ecx
lea eax, [0x58011a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
je 0x537f13
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 0x537f2d
mov esi, dword [esp + 0x60]
jmp 0x537f68
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, [0x564920]
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 [0x6ddfe0]
lea eax, [ecx + ecx*2]
shl eax, 4
lea edi, [eax + esi - 0x30]
test ebp, ebp
je 0x537fc0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], edi
lea eax, [0x564920]
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.00461048
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 0x537c35
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