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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x18], 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 + 0x28], ebx
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x70], edx
push esi
mov esi, dword [ecx + 0xc0]
mov ecx, dword [ecx + 0xb4]
push edi
mov edi, dword [ebp + 0xc]
add edx, edi
add eax, edi
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
add eax, 0xfffffff8
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
add edx, eax
mov dword [esp + 0x4c], edx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], eax
sub eax, edx
sub edx, dword [esp + 0x4c]
add eax, ebx
sub edx, dword [esp + 0x20]
mov ebx, 0
add edx, edi
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x1c]
sete bl
add ebx, edi
cmp edx, dword [esp + 0x28]
ja 0x100518b5
mov eax, 0x40
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, 0x38
sub eax, dword [ecx + 0xc0]
mov dword [esp + 0x58], eax
nop
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.10094c50
mov ecx, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x48], eax
mov eax, esi
call fcn.10094c50
mov edx, dword [esp + 0x60]
mov ecx, eax
mov esi, dword [esp + 0x3c]
mov edi, ebx
shr eax, 8
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
xor edx, ecx
xor ecx, ecx
test dl, dl
mov edx, dword [esp + 0x48]
sete cl
sub edi, esi
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
lea eax, [ebx + 0x100]
mov dword [esp + 0x10], edx
mov dword [esp + 0x74], eax
lea eax, [edx + esi]
mov dword [esp + 0x84], eax
mov eax, edi
sub eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x30]
jae 0x1005119c
sub eax, dword [esp + 0x50]
add eax, dword [esp + 0x54]
jmp 0x1005119e
add eax, esi
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + 4]
mov dword [esp + 0x68], eax
push dword [ecx]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.10094c50
mov ecx, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x70], eax
mov eax, esi
call fcn.10094c50
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + eax*4], esi
mov eax, edx
mov ecx, dword [esp + 0x7c]
sub eax, ecx
dec eax
cmp eax, 3
jb 0x10051219
mov esi, dword [esp + 0x5c]
lea edx, [ebx + 1]
mov dword [esp + 0x7c], edx
mov eax, dword [esi]
cmp eax, dword [edx]
je 0x10051428
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x68], 0
je 0x1005138d
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x54]
shr ecx, 8
add edi, ecx
cmp ecx, dword [esp + 0x80]
jbe 0x1005138d
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x1005138d
cmp dword [esp + 0x10], edx
ja 0x10051393
sub esi, ecx
lea eax, [ebx + 4]
sub esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], esi
lea esi, [edi + 4]
sub eax, esi
mov edx, esi
add eax, dword [esp + 0x44]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.1001b4b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x8c], ecx
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x44]
jne 0x100512b0
mov esi, dword [esp + 0x14]
lea eax, [ebx + 4]
mov edx, dword [esp + 0x20]
add ecx, eax
push esi
call fcn.1001b4b0
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
cmp dword [esp + 0x4c], edi
lea edx, [ecx + 4]
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x10], edx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x100512f0
nop dword [eax]
mov al, byte [ebx - 1]
dec edi
cmp al, byte [edi]
jne 0x100512ec
dec ebx
inc edx
cmp dword [esp + 0x4c], edi
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x100512d0
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov edi, ebx
mov ecx, dword [esp + 0x14]
sub edi, esi
mov esi, dword [esp + 0x24]
add ecx, 0xffffffe0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x1c], ecx
cmp ebx, ecx
ja 0x10051551
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edi, 0x10
jbe 0x1005156b
movups xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea eax, [edi - 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x24]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x10051567
mov eax, dword [esp + 0x8c]
add ecx, 0x10
add edx, 0x10
nop
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 0x10051370
jmp 0x10051567
cmp dword [esp + 0x10], edx
jbe 0x100513a4
mov esi, dword [esp + 0x84]
mov eax, dword [esi]
cmp eax, dword [ebx]
je 0x10051594
mov ecx, dword [esp + 0x88]
mov eax, ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
shr eax, 8
lea edi, [ebx + 1]
mov edx, dword [edx + eax*4]
xor ecx, edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
xor edx, edx
test cl, cl
mov ecx, dword [esp + 0x1c]
sete dl
cmp ecx, esi
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x70]
cmovb edi, ebx
mov ebx, ecx
mov dword [esp + 0x6c], edi
add ecx, edi
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + edx*4]
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x28]
ja 0x100518b2
mov eax, dword [esp + 0x70]
mov edi, ebx
sub edi, dword [esp + 0x3c]
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x48], eax
lea eax, [esi + 0x100]
cmovb eax, esi
mov esi, dword [esp + 0x3c]
jmp 0x10051168
cmp ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov edi, edx
cmovb edi, dword [esp + 0x44]
mov ecx, edx
add ebx, 5
add esi, 4
mov eax, ebx
mov dword [esp + 0x8c], ebx
sub eax, esi
add eax, edi
cmp eax, edx
mov edx, esi
cmovb ecx, eax
push ecx
mov ecx, ebx
call fcn.1001b4b0
mov ebx, eax
add esp, 4
lea eax, [ebx + esi]
mov esi, dword [esp + 0x14]
cmp eax, edi
jne 0x10051484
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x20]
push esi
lea ecx, [ebx + ecx]
call fcn.1001b4b0
add esp, 4
add ebx, eax
mov ecx, dword [ebp + 0xc]
lea eax, [esi - 0x20]
mov esi, dword [esp + 0x24]
lea edx, [ebx + 4]
mov ebx, dword [esp + 0x7c]
mov edi, ebx
mov dword [esp + 0x1c], eax
sub edi, ecx
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0xc]
cmp ebx, dword [esp + 0x1c]
ja 0x1005150a
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edi, 0x10
jbe 0x1005151f
movups xmm0, xmmword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea eax, [edi - 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x24]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x1005151b
mov eax, dword [esp + 0x8c]
add ecx, 0x10
add edx, 0x10
nop dword [eax + 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 0x100514f0
jmp 0x1005151b
push dword [esp + 0x1c]
mov edx, ecx
mov ecx, eax
push ebx
call fcn.100161d0
add esp, 8
mov edx, dword [esp + 0x10]
add dword [esi + 0xc], edi
cmp edi, 0xffff
jbe 0x1005153c
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], di
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x100516b3
mov edx, dword [ebp + 0xc]
push ecx
push ebx
mov ecx, eax
call fcn.100161d0
mov edi, dword [esp + 0x94]
add esp, 8
mov edx, dword [esp + 0x10]
add dword [esi + 0xc], edi
cmp edi, 0xffff
jbe 0x10051588
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], di
jmp 0x100516a7
push dword [esp + 0x14]
mov eax, ebx
lea edx, [esi + 4]
sub eax, esi
lea ecx, [ebx + 4]
mov dword [esp + 0x78], eax
call fcn.1001b4b0
mov edi, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0x20], esi
sbb ecx, ecx
lea edx, [eax + 4]
neg ecx
mov dword [esp + 0x10], edx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x100515f0
nop word [eax + eax]
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x100515ec
dec ebx
inc edx
cmp dword [esp + 0x20], esi
sbb ecx, ecx
neg ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x100515d0
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov esi, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add eax, 0xffffffe0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
cmp ebx, dword [esp + 0x1c]
ja 0x1005166a
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x10051683
movups xmm0, xmmword [edi + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
lea edx, [edi + 0x10]
add ecx, 0x10
lea edi, [ecx + eax]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x1005167b
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, edi
jb 0x10051650
jmp 0x1005167b
push dword [esp + 0x1c]
mov edx, edi
mov ecx, eax
push ebx
call fcn.100161d0
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x100516a0
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 ecx, dword [esp + 0x74]
add ecx, 3
mov dword [eax], ecx
lea ecx, [edx - 3]
cmp ecx, 0xffff
jbe 0x100516d0
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, edx
mov dword [ebp + 0xc], ebx
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x28]
cmp ebx, eax
ja 0x100518a0
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + edi + 6]
push dword [esi + edi + 2]
call fcn.10071bc0
mov ecx, dword [esp + 0x34]
call fcn.10094c50
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.10071bc0
mov ecx, dword [esp + 0x34]
call fcn.10094c50
mov ecx, eax
mov eax, ebx
sub eax, edi
sub eax, 2
mov dword [esi + ecx*4], eax
nop word [eax + eax]
mov edx, dword [esp + 0x30]
mov eax, ebx
sub eax, edi
mov ecx, eax
mov dword [esp + 0x88], eax
sub ecx, dword [esp + 0x2c]
cmp ecx, edx
jae 0x10051775
mov esi, ecx
sub esi, dword [esp + 0x50]
add esi, dword [esp + 0x54]
jmp 0x10051778
lea esi, [ecx + edi]
mov eax, edx
sub eax, ecx
dec eax
cmp eax, 3
jb 0x1005189c
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x1005189c
mov edi, dword [esp + 0x14]
lea eax, [ebx + 4]
cmp ecx, edx
mov ecx, dword [esp + 0x14]
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.1001b4b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x8c], ecx
lea eax, [ecx + esi]
cmp eax, edi
jne 0x100517ea
push dword [esp + 0x14]
mov edx, dword [esp + 0x24]
lea eax, [ebx + 4]
add ecx, eax
call fcn.1001b4b0
mov ecx, dword [esp + 0x90]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x2c]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xc]
cmp ebx, eax
ja 0x10051814
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
jmp 0x10051820
push eax
push ebx
mov edx, ebx
call fcn.100161d0
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 0x1005184f
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.10071bc0
mov ecx, dword [esp + 0x34]
call fcn.10094c50
mov edx, dword [esp + 0x38]
add ebx, edi
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x3c]
mov dword [ebp + 0xc], ebx
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x28]
cmp ebx, eax
jbe 0x10051750
jmp 0x100518a0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
add edx, ebx
mov dword [esp + 0x1c], edx
cmp edx, eax
jbe 0x100510f0
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
sub eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret