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

Disassembly:
mov ecx, dword [0x6535cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x500bec
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + 0x34]
mov dword [esp + 0x48], ecx
xor ebx, ebx
jmp 0x500880
inc ebx
cmp ebx, ecx
jge 0x5008d5
mov ebp, dword [edx + ebx*4]
mov esi, dword [ebp + 4]
cmp esi, 6
jne 0x50087f
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebp
mov eax, dword [ebp]
mov dword [esp], eax
lea eax, [0x530836]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5008cb
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
jmp 0x50087f
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
jmp 0x5008d7
xor ecx, ecx
test ecx, ecx
je 0x5008e3
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
jmp 0x5008e7
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [eax]
mov ebp, dword [ebx + 0x30]
mov dword [esp + 0x60], ebp
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x48], ebx
xor esi, esi
jmp 0x500908
inc esi
mov ecx, dword [esp + 0x40]
cmp esi, ebx
jge 0x500969
mov edi, dword [ebp + esi*4]
mov ecx, dword [edi + 4]
cmp ecx, 0xa
jne 0x500903
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], edi
mov eax, dword [edi]
mov dword [esp], eax
lea eax, [0x53157d]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x500957
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x44]
jmp 0x500903
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
jmp 0x50096b
xor ebx, ebx
test ebx, ebx
jne 0x500977
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5009d0
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
lea ebx, [0x55e7f8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.internal_saferio.ReadDataAt
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5009fc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, ecx
mov ebp, edx
mov esi, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov eax, dword [eax]
mov edi, dword [eax + 0x30]
mov dword [esp + 0x58], edi
mov eax, dword [eax + 0x34]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
jmp 0x500a71
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x68
ret
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x34]
cmp ebp, eax
jge 0x500ad5
mov ebx, dword [edi + ebp*4]
mov esi, dword [ebx + 4]
cmp esi, 0xb
jne 0x500a5e
mov dword [esp + 0x4c], ebx
mov eax, dword [ebx]
mov dword [esp], eax
lea eax, [0x5319e8]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x500abf
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
jmp 0x500a5e
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
jmp 0x500ad7
xor eax, eax
test eax, eax
jne 0x500ae3
xor eax, eax
xor ebp, ebp
xor edi, edi
jmp 0x500b40
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
lea ebx, [0x55e7f8]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.internal_saferio.ReadDataAt
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x500b8a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
mov ebp, edx
mov edi, eax
mov edx, dword [esp + 0x3c]
mov eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x68
ret
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.cmd_internal_objfile._machoFile_.pcln