Function at 0x1002e570
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037674
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xa8
mov eax, dword [0x10049080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
sub esp, 8
mov dword [ebp - 0x90], 0
lea edx, [esi + 0x30]
mov dword [ebp - 4], 0
call fcn.100230d0
mov edi, eax
mov dword [ebp - 0x80], edi
test edi, edi
je 0x1002e858
push str.Mapped_application_bundle
call fcn.1001a370
mov ecx, dword [esi + 0x30]
add esp, 4
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb0], ecx
lea eax, [ecx + edi]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x8c], eax
cmp eax, edi
mov eax, dword [esi + 0x38]
jb 0x1002e88d
mov edi, dword [ebp - 0x8c]
xorps xmm0, xmm0
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0x80]
movlpd qword [ebp - 0xa0], xmm0
test edx, edx
jl 0x1002e8fb
jg 0x1002e8fb
test eax, eax
jb 0x1002e8fb
test edx, edx
jg 0x1002e8fb
jl 0x1002e65f
cmp eax, ecx
jae 0x1002e8fb
add edi, eax
mov dword [esi + 0x40], 0
mov dword [ebp - 0xb4], edi
mov dword [esi + 0x44], 0
push 0
push 0xc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
call fcn.1002f2e0
movq xmm0, qword [edi]
lea eax, [edi + 0xc]
mov ecx, dword [edi + 8]
movq qword [ebp - 0x7c], xmm0
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0xb4], eax
test ecx, ecx
jle 0x1002e8c2
mov eax, dword [ebp - 0x7c]
cmp eax, 6
jne 0x1002e6ba
test edi, edi
jne 0x1002e8c2
jmp 0x1002e6cb
cmp eax, 2
jne 0x1002e8c2
test edi, edi
jne 0x1002e8c2
xorps xmm0, xmm0
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x70], ecx
movups xmmword [ebp - 0x64], xmm0
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], edi
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x90], 1
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
call fcn.1002f360
push 0
push 0x28
lea ecx, [ebp - 0xb8]
call fcn.1002f2e0
mov eax, dword [ebp - 0xb4]
lea edi, [esi + 0x54]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ebp - 0x3c], xmm1
movq xmm2, qword [eax + 0x20]
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x64]
movq qword [ebp - 0x2c], xmm2
cmp edi, eax
je 0x1002e79b
mov ecx, edi
call fcn.100028f0
movups xmm0, xmmword [ebp - 0x64]
mov ecx, 7
xor eax, eax
movq xmm2, qword [ebp - 0x2c]
movups xmm1, xmmword [ebp - 0x3c]
mov word [ebp - 0x64], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x4c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], ecx
jmp 0x1002e79e
mov ecx, dword [ebp - 0x50]
movups xmmword [esi + 0x6c], xmm0
movups xmmword [esi + 0x7c], xmm1
movq qword [esi + 0x8c], xmm2
cmp ecx, 7
jbe 0x1002e7e7
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e7dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e7dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10030d43
add esp, 8
push dword [ebp - 0x80]
lea eax, [esi + 0x6c]
mov dword [esi + 0xac], eax
lea eax, [esi + 0x7c]
mov dword [esi + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x1002e817
push str.Failed_to_unmap_bundle_after_extraction.
call fcn.1001a600
add esp, 4
xor eax, eax
jmp 0x1002e83a
push str.Unmapped_application_bundle
call fcn.1001a370
add esp, 4
xor eax, eax
jmp 0x1002e83a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100309eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Failure_processing_application_bundle.
call fcn.1001a3c0
add esp, 4
push str.Couldnt_memory_map_the_bundle_file_for_reading.
call fcn.1001a3c0
add esp, 4
mov dword [ebp - 0x84], 0x800080a0
lea eax, [ebp - 0x84]
push 0x100478b0
push eax
call fcn.1003215c
push str.Failure_processing_application_bundle__possible_file_corruption.
call fcn.1001a3c0
add esp, 4
push str.Arithmetic_overflow_computing_bundle_bounds.
call fcn.1001a3c0
add esp, 4
mov dword [ebp - 0x88], 0x8000809f
lea eax, [ebp - 0x88]
push 0x100478b0
push eax
call fcn.1003215c
push str.Failure_processing_application_bundle.
call fcn.1001a3c0
add esp, 4
push edi
push dword [ebp - 0x7c]
push str.Bundle_header_version_compatibility_check_failed._Header_version:__d._d
call fcn.1001a3c0
add esp, 0xc
mov dword [ebp - 0x94], 0x8000809f
lea eax, [ebp - 0x94]
push 0x100478b0
push eax
call fcn.1003215c
push str.Failure_processing_application_bundle__possible_file_corruption.
call fcn.1001a3c0
add esp, 4
push str.Arithmetic_overflow_while_reading_bundle.
call fcn.1001a3c0
add esp, 4
mov dword [ebp - 0x98], 0x8000809f
lea eax, [ebp - 0x98]
push 0x100478b0
push eax
call fcn.1003215c
int3