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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ecx + 0x5c]
mov dword [esp + 8], edx
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0xcc]
test eax, eax
push ebx
mov ebx, dword [ecx + 0xc]
sete dl
add edx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x6c], edx
push esi
mov esi, dword [ebp + 0xc]
add edx, esi
add eax, esi
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
add eax, 0xfffffff8
mov dword [esp + 0x24], eax
push edi
mov eax, dword [edx]
mov edi, dword [ecx + 0xc0]
mov ecx, dword [ecx + 0xb4]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 4]
add edx, eax
mov dword [esp + 0x54], edx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
sub eax, edx
sub edx, dword [esp + 0x54]
add eax, ebx
sub edx, dword [esp + 0x20]
mov ebx, 0
add edx, esi
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x30]
sete bl
add ebx, esi
cmp edx, dword [esp + 0x28]
ja 0x1005146a
mov eax, 0x40
sub eax, edi
mov dword [esp + 0x34], eax
mov eax, 0x38
sub eax, dword [ecx + 0xc0]
mov dword [esp + 0x5c], eax
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.10071fd0
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.100950f0
mov ecx, dword [esp + 0x5c]
mov edx, edi
mov dword [esp + 0x50], eax
mov eax, esi
call fcn.100950f0
mov edx, dword [esp + 0x64]
mov ecx, eax
shr eax, 8
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], edx
xor edx, ecx
xor ecx, ecx
test dl, dl
sete cl
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x4c], ecx
lea ecx, [ebx + 0x100]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x24]
mov edx, ebx
sub edx, esi
mov eax, edx
mov dword [esp + 0x3c], edx
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x1c]
jae 0x10050ceb
sub eax, dword [esp + 0x58]
add eax, dword [esp + 0x40]
jmp 0x10050ced
add eax, esi
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + 4]
mov dword [esp + 0x6c], eax
push dword [ecx]
call fcn.10071fd0
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.100950f0
mov ecx, dword [esp + 0x5c]
mov edx, edi
mov dword [esp + 0x84], eax
mov eax, esi
call fcn.100950f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
sub eax, ecx
dec eax
cmp eax, 3
jb 0x10050d65
mov esi, dword [esp + 0x60]
lea edx, [ebx + 1]
mov dword [esp + 0x78], edx
mov eax, dword [esi]
cmp eax, dword [edx]
je 0x10050f70
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x6c], 0
je 0x10050ee6
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
shr edi, 8
cmp edi, dword [esp + 0x7c]
jbe 0x10050ee6
mov eax, dword [ecx + edi]
cmp eax, dword [ebx]
jne 0x10050ee6
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x1c]
ja 0x10050ef0
lea esi, [ecx + 4]
sub edx, edi
sub edx, dword [esp + 0x58]
lea eax, [ebx + 4]
mov ecx, dword [esp + 0x10]
add esi, edi
sub eax, esi
mov dword [esp + 0x6c], edx
add eax, dword [esp + 0x44]
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.1001b5f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x84], ecx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x44]
jne 0x10050dfd
push dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea eax, [ebx + 4]
add ecx, eax
call fcn.1001b5f0
mov ecx, dword [esp + 0x88]
add esp, 4
add ecx, eax
mov esi, dword [esp + 0x40]
lea edx, [ecx + 4]
mov dword [esp + 0x68], edx
lea eax, [edi + esi]
cmp dword [esp + 0x54], eax
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10050e45
add esi, edi
mov al, byte [ebx - 1]
lea ecx, [esi - 1]
mov esi, ecx
cmp al, byte [ecx]
jne 0x10050e41
dec ebx
inc edx
cmp dword [esp + 0x54], esi
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x10050e20
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add edx, 0xffffffe0
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, ebx
mov dword [esp + 0x70], edx
sub eax, ecx
mov edx, dword [edi]
mov dword [esp + 0x80], eax
cmp ebx, dword [esp + 0x70]
ja 0x100510c4
movups xmm0, xmmword [ecx]
movups xmmword [edx], xmm0
cmp eax, 0x10
jbe 0x100510d5
movups xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
add eax, 0xfffffff0
mov ecx, dword [edi]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x14]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x100510d5
mov eax, dword [esp + 0x84]
add ecx, 0x10
add edx, 0x10
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10050ec6
lea edi, [esi + 0xc]
jmp 0x100510d5
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x1c]
jbe 0x10050f00
mov ecx, dword [esp + 0x24]
add ecx, esi
mov eax, dword [ecx]
cmp eax, dword [ebx]
je 0x1005110c
mov ecx, dword [esp + 0x80]
mov eax, ecx
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x70]
shr eax, 8
mov edx, dword [edx + eax*4]
xor ecx, edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], edx
xor edx, edx
test cl, cl
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + edi*4]
sete dl
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
cmp ecx, esi
jb 0x10050f55
inc edx
add esi, 0x100
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], esi
mov ebx, ecx
add ecx, edx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x28]
ja 0x10051467
mov dword [esp + 0x50], edi
jmp 0x10050cc4
cmp ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov edi, edx
cmovb edi, dword [esp + 0x44]
mov ecx, edx
add ebx, 5
add esi, 4
mov eax, ebx
mov dword [esp + 0x84], ebx
sub eax, esi
add eax, edi
cmp eax, edx
mov edx, esi
cmovb ecx, eax
push ecx
mov ecx, ebx
call fcn.1001b5f0
mov ebx, eax
add esp, 4
lea eax, [ebx + esi]
cmp eax, edi
jne 0x10050fcb
mov ecx, dword [esp + 0x84]
push dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [ebx + ecx]
call fcn.1001b5f0
add esp, 4
add ebx, eax
mov esi, dword [esp + 0x14]
lea edi, [ebx + 4]
mov ebx, dword [esp + 0x78]
lea eax, [esi + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, ebx
sub edx, dword [ebp + 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [eax]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x10]
add edx, 0xffffffe0
mov dword [esp + 0x30], eax
cmp ebx, edx
mov edx, dword [esp + 0x6c]
ja 0x10051074
mov esi, dword [esp + 0x70]
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
mov esi, dword [esp + 0x14]
cmp edx, 0x10
jbe 0x1005108f
movups xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x14]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x1005108b
mov eax, dword [esp + 0x84]
add ecx, 0x10
add edx, 0x10
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10051057
lea eax, [esi + 0xc]
jmp 0x1005108f
mov eax, dword [esp + 0x10]
mov edx, ecx
mov ecx, dword [esp + 0x70]
add eax, 0xffffffe0
push eax
push ebx
call fcn.100161b0
add esp, 8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
add dword [eax], ecx
cmp ecx, 0xffff
jbe 0x100510af
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x1005126b
push dword [esp + 0x70]
mov edx, ecx
mov ecx, dword [edi]
push ebx
call fcn.100161b0
add esp, 8
mov ecx, dword [esp + 0x80]
add dword [edi], ecx
cmp ecx, 0xffff
jbe 0x100510f8
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x68]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x6c]
jmp 0x10051263
push dword [esp + 0x10]
mov eax, ebx
lea edx, [ecx + 4]
sub eax, ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x6c], eax
call fcn.1001b5f0
mov edx, dword [esp + 0x28]
add esp, 4
lea edi, [eax + 4]
lea eax, [esi + edx]
cmp dword [esp + 0x20], eax
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10051166
add edx, esi
mov al, byte [ebx - 1]
lea ecx, [edx - 1]
mov edx, ecx
cmp al, byte [ecx]
jne 0x10051166
dec ebx
inc edi
cmp dword [esp + 0x20], edx
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x10051145
mov eax, dword [esp + 0x18]
mov edx, ebx
sub edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
lea eax, [esi + 0xc]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x10]
add edx, 0xffffffe0
mov dword [esp + 0x30], eax
cmp ebx, edx
mov edx, dword [esp + 0x6c]
ja 0x1005121d
mov esi, dword [esp + 0x70]
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
mov esi, dword [esp + 0x14]
cmp edx, 0x10
jbe 0x10051238
movups xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x14]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10051234
mov eax, dword [esp + 0x84]
add ecx, 0x10
add edx, 0x10
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x10051200
lea eax, [esi + 0xc]
jmp 0x10051238
mov eax, dword [esp + 0x10]
mov edx, ecx
mov ecx, dword [esp + 0x70]
add eax, 0xffffffe0
push eax
push ebx
call fcn.100161b0
add esp, 8
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
add dword [eax], ecx
cmp ecx, 0xffff
jbe 0x10051258
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 4]
add ecx, 3
mov dword [eax], ecx
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x10051288
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add ebx, edi
mov dword [ebp + 0xc], ebx
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x28]
cmp ebx, eax
ja 0x10051455
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + edi + 6]
push dword [esi + edi + 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x34]
call fcn.100950f0
mov ecx, eax
lea eax, [esi + 2]
mov esi, dword [esp + 0x38]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + ecx*4], eax
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.10071fd0
mov ecx, dword [esp + 0x34]
call fcn.100950f0
mov ecx, eax
mov eax, ebx
sub eax, edi
sub eax, 2
mov dword [esi + ecx*4], eax
mov edx, dword [esp + 0x1c]
mov eax, ebx
sub eax, edi
mov ecx, eax
mov dword [esp + 0x80], eax
sub ecx, dword [esp + 0x2c]
cmp ecx, edx
jae 0x10051327
mov esi, ecx
sub esi, dword [esp + 0x58]
add esi, dword [esp + 0x40]
jmp 0x1005132a
lea esi, [ecx + edi]
mov eax, edx
sub eax, ecx
dec eax
cmp eax, 3
jb 0x10051451
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x10051451
mov edi, dword [esp + 0x10]
lea eax, [ebx + 4]
cmp ecx, edx
mov ecx, dword [esp + 0x10]
cmovb edi, dword [esp + 0x44]
add esi, 4
sub eax, esi
mov edx, esi
add eax, edi
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.1001b5f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x84], ecx
lea eax, [ecx + esi]
cmp eax, edi
jne 0x1005139c
push dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea eax, [ebx + 4]
add ecx, eax
call fcn.1001b5f0
mov ecx, dword [esp + 0x88]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x2c]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
add eax, 0xffffffe0
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xc]
cmp ebx, eax
ja 0x100513c9
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
jmp 0x100513d5
push eax
push ebx
mov edx, ebx
call fcn.100161b0
add esp, 8
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [esi + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x10051404
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push 0xcf1bbcdc
push 0xbb000000
mov word [eax + 6], cx
add dword [esi + 4], 8
push dword [ebx + 4]
push dword [ebx]
call fcn.10071fd0
mov ecx, dword [esp + 0x34]
call fcn.100950f0
mov edx, dword [esp + 0x38]
add ebx, edi
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x24]
mov dword [ebp + 0xc], ebx
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x28]
cmp ebx, eax
jbe 0x10051302
jmp 0x10051455
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
add edx, ebx
mov dword [esp + 0x30], edx
cmp edx, eax
jbe 0x10050c50
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
pop edi
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
sub eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret