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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, ecx
mov eax, dword [0x5ff014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + 1]
cmp eax, dword [edi + 0xc]
ja 0x50117c
mov edx, dword [edi + 8]
mov dword [edi + 0x10], eax
cmp byte [edx + ecx], 0x7b
jne 0x50117e
mov eax, dword [edi + 0x14]
inc eax
mov dword [edi + 0x14], eax
cmp eax, dword [edi + 4]
jae 0x5011c1
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, edi
call fcn.00500530
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 4], 0
xor ecx, ecx
mov dword [esp + 0x10], edi
cmp esi, 4
jne 0x500e99
mov dword [esp + 8], ecx
lea ecx, [esp + 0x58]
pcmpeqd xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xffffffff
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], 0
mov ecx, edi
push eax
call fcn.00501c50
test al, al
je 0x50102a
mov ecx, edi
call fcn.00500530
cmp eax, 0xa
jne 0x50104e
mov eax, dword [edi + 0x10]
inc eax
cmp eax, dword [edi + 0xc]
ja 0x500bbd
mov dword [edi + 0x10], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, edi
call fcn.00500530
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00500640
cmp byte [esp + 0x30], 0
je 0x501091
cmp byte [esp + 0x58], 0
mov edx, dword [esp + 8]
jne 0x500ffe
mov ebx, dword [esp + 0x54]
cmp ebx, 0xfffffff0
jae 0x501107
mov eax, dword [esp + 0x50]
cmp ebx, 0xb
jae 0x500c1f
mov byte [esp + 0x23], bl
lea esi, [esp + 0x18]
test ebx, ebx
jne 0x500c4a
jmp 0x500c55
lea edi, [ebx + 0x10]
and edi, 0xfffffff0
push edi
mov dword [esp + 0xc], eax
call fcn.00503d75
add esp, 4
mov esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], esi
or edi, 0x80000000
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
push ebx
push eax
push esi
call fcn.00507560
add esp, 0xc
mov byte [esi + ebx], 0
mov edx, dword [esp + 0x28]
xor ebx, ebx
mov edi, dword [esp + 0x2c]
cmp edx, edi
jb 0x500e59
mov ecx, dword [esp + 0x24]
mov ebx, edx
sub ebx, ecx
sar ebx, 5
lea eax, [ebx + 1]
cmp eax, 0x8000000
jae 0x501110
mov dword [esp + 0x14], ecx
sub edi, ecx
mov ecx, edi
sar ecx, 5
sar edi, 4
cmp edi, eax
cmovb edi, eax
cmp ecx, 0x3ffffff
mov eax, 0x7ffffff
cmovae edi, eax
test edi, edi
mov dword [esp + 8], edx
je 0x50112e
cmp edi, 0x8000000
jae 0x501119
mov eax, edi
shl eax, 5
push eax
call fcn.00503d75
add esp, 4
mov esi, eax
shl ebx, 5
mov eax, dword [esp + 0x20]
lea ecx, [esi + ebx]
add ecx, 0xc
mov dword [ecx - 4], eax
lea eax, [esi + ebx]
mov dword [esp + 0xc], eax
movq xmm0, qword [esp + 0x18]
movq qword [ecx - 0xc], xmm0
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
shl edi, 5
add edi, esi
lea eax, [esp + 0x34]
push eax
call fcn.004e6a00
lea eax, [esi + ebx]
add eax, 0x20
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0x14]
mov dword [esp + 4], eax
je 0x500e28
xor ebx, ebx
mov ecx, dword [esp + 0xc]
lea esi, [edx - 0x20]
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
lea eax, [ecx - 0x20]
mov dword [esp + 0xc], eax
movq xmm0, qword [edx - 0x20]
movq qword [ecx - 0x20], xmm0
mov dword [edx - 0x1c], ebx
mov dword [edx - 0x20], ebx
mov dword [edx - 0x18], ebx
add ecx, 0xffffffec
add edx, 0xffffffec
push edx
call fcn.004e6a00
mov edx, esi
cmp esi, dword [esp + 0x14]
jne 0x500d26
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
cmp esi, edx
je 0x500da0
mov ebx, edx
lea edi, [esi - 0x20]
lea ecx, [esi - 0x14]
call fcn.004e7f10
cmp byte [esi - 0x15], 0
js 0x50111e
mov esi, edi
mov edx, ebx
cmp edi, ebx
jne 0x500d81
test edx, edx
mov edi, dword [esp + 0x10]
je 0x500db1
push edx
call fcn.00503da5
add esp, 4
cmp byte [esp + 0x23], 0
js 0x5010c0
mov ecx, edi
call fcn.00500530
cmp eax, 9
jne 0x500e3d
mov dword [esp + 0xc], 0
mov eax, dword [edi + 0x10]
inc eax
cmp eax, dword [edi + 0xc]
ja 0x500ddc
mov dword [edi + 0x10], eax
mov ecx, edi
call fcn.00500530
cmp eax, 1
je 0x501135
mov esi, eax
mov ebx, dword [esp + 4]
cmp byte [esp + 0x30], 0
je 0x500e02
lea ecx, [esp + 0x34]
call fcn.004e7f10
lea eax, [esp + 0x50]
mov ecx, ebx
cmp byte [esp + 0x58], 0
mov ebx, 0
jne 0x5010d1
cmp dword [esp + 0xc], 0
je 0x500b64
jmp 0x500fcf
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
jmp 0x500da0
mov esi, eax
cmp eax, 1
jne 0x501272
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 4]
xor esi, esi
inc esi
jmp 0x500df2
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
movq xmm0, qword [esp + 0x18]
movq qword [edx], xmm0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
lea ecx, [edx + 0xc]
lea eax, [esp + 0x34]
push eax
mov esi, edx
call fcn.004e6a00
add esi, 0x20
mov dword [esp + 0x28], esi
mov dword [esp + 4], esi
mov edi, dword [esp + 0x10]
jmp 0x500db1
cmp esi, 1
jne 0x5011f7
mov eax, dword [edi + 0x10]
inc eax
cmp eax, dword [edi + 0xc]
mov ecx, dword [esp + 4]
ja 0x500eb2
mov dword [edi + 0x10], eax
mov edi, dword [esp + 0x24]
cmp edi, ecx
je 0x501023
lea esi, [ecx - 0x20]
cmp edi, esi
jae 0x500f38
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
movq xmm0, qword [esi]
movq qword [edi], xmm0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0xffffffff
lea edx, [edi + 0xc]
mov dword [esp + 8], edx
lea ecx, [esp + 0x50]
push edx
call fcn.004e6a00
lea ebx, [esi + 0xc]
mov ecx, dword [esp + 8]
push ebx
call fcn.004e7050
mov ecx, ebx
lea ebx, [esp + 0x50]
push ebx
call fcn.004e7050
mov ecx, ebx
call fcn.004e7f10
add edi, 0x20
add esi, 0xffffffe0
cmp edi, esi
jb 0x500ec5
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 4], 0
mov dword [esp + 0x24], ecx
lea ebx, [esp + 0x30]
mov ecx, ebx
push eax
push edi
call fcn.00598d20
lea esi, [esp + 0x50]
mov ecx, esi
push ebx
call fcn.004e6bf0
mov ecx, dword [ebp + 8]
mov byte [ecx], 1
add ecx, 4
push esi
call fcn.004e6a00
mov ecx, esi
call fcn.004e7f10
mov esi, dword [esp + 0x34]
test esi, esi
je 0x500fcb
mov edi, dword [esp + 0x38]
cmp edi, esi
je 0x500ffa
lea ebx, [edi - 0x20]
lea ecx, [edi - 0x14]
call fcn.004e7f10
cmp byte [edi - 0x15], 0
js 0x5010f7
mov edi, ebx
cmp ebx, esi
jne 0x500f9f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], esi
push eax
call fcn.00503da5
add esp, 4
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x50122e
mov eax, dword [edi + 0x14]
dec eax
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504596
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, esi
jmp 0x500fbe
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
movq xmm0, qword [esp + 0x5c]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
jmp 0x500c5f
mov edi, ecx
jmp 0x500f38
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
mov esi, 4
xor eax, eax
inc eax
mov dword [esp + 0xc], eax
jmp 0x501084
mov esi, eax
xor edx, edx
inc edx
mov dword [edi + 0x20], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x24], ecx
sub eax, dword [edi + 0x1c]
test eax, eax
mov dword [esp + 0xc], edx
cmovle eax, edx
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
lea eax, [esp + 0x50]
mov ecx, dword [esp + 8]
jmp 0x500e08
mov esi, 0xa
mov eax, dword [ebp + 8]
mov byte [eax], 0
pxor xmm0, xmm0
movdqu xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
xor eax, eax
inc eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 8]
jmp 0x500df2
push dword [esp + 0x18]
call fcn.00503da5
add esp, 4
jmp 0x500dbc
cmp byte [esp + 0x67], 0
jns 0x500e18
push dword [esp + 0x5c]
mov ebx, ecx
call fcn.00503da5
mov ecx, ebx
xor ebx, ebx
lea eax, [esp + 0x54]
add esp, 4
jmp 0x500e18
push dword [edi - 0x20]
call fcn.00503da5
add esp, 4
jmp 0x500fb4
lea ecx, [esp + 0x18]
call fcn.0054ed10
lea ecx, [esp + 0x24]
call fcn.00534620
call fcn.00517b60
push dword [esi - 0x20]
call fcn.00503da5
add esp, 4
jmp 0x500d98
xor esi, esi
jmp 0x500ccd
xor esi, esi
inc esi
mov eax, 4
test byte [edi], 1
jne 0x50116f
mov edx, dword [esp + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x18]
mov dword [edx + 0x24], ecx
sub eax, dword [edx + 0x1c]
test eax, eax
mov ecx, 1
cmovle eax, ecx
mov dword [edx + 0x28], eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
jmp 0x501096
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x10]
jmp 0x500df2
mov eax, ecx
mov dword [edi + 0x20], 3
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x24], ecx
sub eax, dword [edi + 0x1c]
xor ecx, ecx
inc ecx
test eax, eax
cmovg ecx, eax
mov dword [edi + 0x28], ecx
mov esi, dword [ebp + 8]
mov byte [esi], 0
pxor xmm0, xmm0
movdqu xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00504596
mov eax, esi
jmp 0x500ff0
mov dword [edi + 0x20], 5
mov edx, dword [edi + 0x18]
mov dword [edi + 0x24], edx
sub ecx, dword [edi + 0x1c]
xor edx, edx
inc edx
test ecx, ecx
cmovg edx, ecx
mov dword [edi + 0x28], edx
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
pxor xmm0, xmm0
movdqu xmmword [ecx + 4], xmm0
mov dword [ecx + 0x14], 0
jmp 0x500fde
mov dword [edi + 0x20], 8
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x24], ecx
sub eax, dword [edi + 0x1c]
xor ecx, ecx
inc ecx
test eax, eax
cmovg ecx, eax
mov dword [edi + 0x28], ecx
mov eax, dword [ebp + 8]
mov byte [eax], 0
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
jmp 0x500fcf
cmp dword [esp + 4], esi
je 0x501260
mov ebx, dword [esp + 4]
lea edi, [ebx - 0x20]
lea ecx, [ebx - 0x14]
call fcn.004e7f10
cmp byte [ebx - 0x15], 0
jns 0x501258
mov eax, dword [esp + 4]
push dword [eax - 0x20]
call fcn.00503da5
add esp, 4
mov dword [esp + 4], edi
cmp edi, esi
jne 0x501234
push esi
call fcn.00503da5
add esp, 4
mov edi, dword [esp + 0x10]
jmp 0x500fdb
xor eax, eax
inc eax
jmp 0x501142