Function at 0x29ae45c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x29b28494
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x118]
mov eax, edi
call fcn.29ae4500
mov eax, 0xd
xor ecx, ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x74]
push eax
mov dword [edi], 0x29b565bc
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp + 8]
push 0x29b4bfd0
call fcn.29ab3150
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [ebp + 8]
push 0x29b4d3ac
call fcn.29ab3150
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x44]
push edx
push str.Length
call fcn.29ab3150
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
push 0x29b4d3c8
call fcn.29ab3150
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push 0x29b41b40
call fcn.29ab3150
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xb4]
push edx
push 0x29b4d3c4
call fcn.29ab3150
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [eax + 0x28]
push 0x29b4f1e8
call fcn.29ab3150
mov eax, dword [esp + 0x74]
mov edx, 1
cmp eax, edx
jne 0x29ae4a6b
cmp dword [esp + 0x54], edx
jne 0x29ae4a6b
mov eax, dword [esp + 0x24]
mov ecx, 3
cmp eax, ecx
jne 0x29ae4a6b
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, 0x20
jne 0x29ae4a6b
cmp dword [esp + 0x14], ecx
jne 0x29ae4a6b
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0x20
jne 0x29ae4a6b
cmp dword [esp + 0xb4], edx
jne 0x29ae4a6b
mov esi, dword [esp + 0x5c]
cmp esi, 2
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], esi
je 0x29ae477e
cmp dword [esp + 0x44], edx
jne 0x29ae477e
mov eax, dword [esp + 0x4c]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [edi + 0x20], eax
mov edx, 1
jmp 0x29ae4785
mov dword [edi + 0x20], 5
mov ebx, 4
cmp ecx, ebx
mov dword [edi + 0x2c], edx
jne 0x29ae492d
cmp esi, ebx
jne 0x29ae492d
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x94]
push edx
push 0x29b56694
call fcn.29ab3150
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x64]
push eax
push str.StmF
call fcn.29ab3150
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [ebp + 8]
push str.StrF
call fcn.29ab3150
cmp dword [esp + 0x94], 7
jne 0x29ae48dc
cmp dword [esp + 0x64], ebx
jne 0x29ae48dc
cmp dword [esp + 0xa4], ebx
jne 0x29ae48dc
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0xac]
mov eax, edx
jmp 0x29ae4810
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x29ae4834
test cl, cl
je 0x29ae4830
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x29ae4834
add eax, 2
add esi, 2
test cl, cl
jne 0x29ae4810
xor eax, eax
jmp 0x29ae4839
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x29ae48dc
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0x84]
push eax
push edx
call fcn.29ab3150
cmp dword [eax], 7
jne 0x29ae48d0
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0x90]
push 0x29b56680
call fcn.29ab3150
mov edx, 0x29b5667c
call fcn.29aaebd0
test eax, eax
je 0x29ae48c4
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0xc4]
push edx
push str.Length
mov dword [edi + 0x24], 2
mov dword [edi + 0x28], 3
call fcn.29ab3150
cmp dword [eax], 1
jne 0x29ae48b8
mov eax, dword [esp + 0xcc]
mov dword [edi + 0x20], eax
lea ecx, [esp + 0xc4]
call fcn.29ae1cf0
lea ecx, [esp + 0xf4]
call fcn.29ae1cf0
lea ecx, [esp + 0x84]
call fcn.29ae1cf0
lea ecx, [esp + 0xa4]
call fcn.29ae1cf0
lea ecx, [esp + 0x64]
call fcn.29ae1cf0
lea ecx, [esp + 0x94]
call fcn.29ae1cf0
lea ecx, [esp + 0xe4]
push ecx
mov ecx, dword [ebp + 8]
push str.EncryptMetadata
call fcn.29ab3150
cmp dword [eax], 0
jne 0x29ae4921
mov edx, dword [esp + 0xec]
mov dword [edi + 0x2c], edx
lea ecx, [esp + 0xe4]
call fcn.29ae1cf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xbc]
push ecx
mov dword [edi + 8], eax
call fcn.29aaf630
mov edx, dword [esp + 0x1c]
push edx
mov dword [edi + 0x30], eax
call fcn.29aaf630
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x24]
cmp eax, 1
jl 0x29ae4a54
cmp eax, 2
jg 0x29ae4a54
mov ecx, dword [edi + 0x28]
cmp ecx, 2
jl 0x29ae4a54
cmp ecx, 3
jg 0x29ae4a54
cmp dword [esp + 0x34], 6
jne 0x29ae4a0a
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xd4]
xor ecx, ecx
call fcn.29aaf160
cmp dword [eax], 3
jne 0x29ae49c5
mov eax, dword [esp + 0xdc]
push eax
call fcn.29aaf630
lea ecx, [esp + 0xd4]
mov dword [edi + 0x38], eax
call fcn.29ae1cf0
mov dword [edi + 0x3c], 1
jmp 0x29ae4a7b
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x110], 1
je 0x29ae49e8
mov esi, eax
call fcn.29ad1a30
jmp 0x29ae49ea
xor eax, eax
mov byte [esp + 0x110], 0
lea ecx, [esp + 0xd4]
mov dword [edi + 0x38], eax
call fcn.29ae1cf0
mov dword [edi + 0x3c], 1
jmp 0x29ae4a7b
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x110], 2
je 0x29ae4a3f
mov esi, eax
call fcn.29ad1a30
mov byte [esp + 0x110], 0
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 1
jmp 0x29ae4a7b
xor eax, eax
mov byte [esp + 0x110], al
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 1
jmp 0x29ae4a7b
mov ecx, dword [edi + 0x28]
push ecx
push eax
push str.Unsupported_version_revision___d__d__of_Standard_security_handler
or eax, 0xffffffff
call fcn.29ab31e0
add esp, 0xc
jmp 0x29ae4a7b
push 0x29b5660c
or eax, 0xffffffff
call fcn.29ab31e0
add esp, 4
mov ecx, dword [edi + 0x20]
mov eax, 0x10
cmp ecx, eax
jle 0x29ae4a8a
mov dword [edi + 0x20], eax
lea ecx, [esp + 0x34]
call fcn.29ae1cf0
lea ecx, [esp + 0xb4]
call fcn.29ae1cf0
lea ecx, [esp + 0x14]
call fcn.29ae1cf0
lea ecx, [esp + 0x24]
call fcn.29ae1cf0
lea ecx, [esp + 0x44]
call fcn.29ae1cf0
lea ecx, [esp + 0x54]
call fcn.29ae1cf0
lea ecx, [esp + 0x74]
call fcn.29ae1cf0
mov ecx, dword [esp + 0x108]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 8