Function at 0x10059440
Capabilities:
Check os version
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af456
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x424], edi
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push 0x110
push 0
push eax
mov dword [ebp - 0x414], 0x114
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100599b0
cmp dword [ebp - 0x410], 6
jb 0x100599b0
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.1005a700
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x100599b0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [edi]
mov dword [ebp - 0x420], eax
call esi
mov ecx, dword [ebp - 0x424]
mov edi, eax
push str.RegCloseKey
push dword [ecx]
call esi
mov esi, dword [ebp - 0x420]
mov dword [ebp - 0x428], eax
test esi, esi
je 0x100599b0
test edi, edi
je 0x100599b0
test eax, eax
je 0x100599b0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x6f0053
movlpd qword [ebp - 0x27c], xmm0
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x610077
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x4d005c
mov dword [ebp - 0x58], 0x630069
mov dword [ebp - 0x54], 0x6f0072
mov dword [ebp - 0x50], 0x6f0073
mov dword [ebp - 0x4c], 0x740066
mov dword [ebp - 0x48], 0x43005c
mov dword [ebp - 0x44], 0x460054
mov dword [ebp - 0x40], 0x53005c
mov dword [ebp - 0x3c], 0x72006f
mov dword [ebp - 0x38], 0x4f0074
mov dword [ebp - 0x34], 0x640072
mov dword [ebp - 0x30], 0x720065
mov dword [ebp - 0x2c], 0x41005c
mov dword [ebp - 0x28], 0x730073
mov dword [ebp - 0x24], 0x6d0065
mov dword [ebp - 0x20], 0x6c0062
mov dword [ebp - 0x1c], 0x490079
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x6d
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
call fcn.1005a0e0
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push eax
lea eax, [ebp - 0x298]
push str._s0x_08x_s
push eax
call fcn.1000da00
mov dword [ebp - 0x41c], 0
add esp, 0x14
mov dword [ebp - 0x41c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x41c]
push 0x20019
call fcn.10089000
cmp dword [ebp - 0x284], 8
lea edx, [ebp - 0x418]
push edx
push 0x20019
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x430], eax
cmovae ecx, dword [ebp - 0x298]
push 0
push ecx
push eax
mov dword [ebp - 0x418], 0
call esi
test eax, eax
jne 0x1005991a
push 0x208
xor esi, esi
lea eax, [ebp - 0x274]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x280], 0x104
lea eax, [ebp - 0x280]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x274]
push eax
push esi
push dword [ebp - 0x418]
call edi
test eax, eax
jne 0x10059761
nop dword [eax]
xor edx, edx
lea ecx, [ebp - 0x274]
call fcn.1000d1d0
push dword [ebp - 0x430]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x42c]
push eax
push ecx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x27c]
call fcn.1005a780
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x104
push eax
lea eax, [ebp - 0x274]
inc esi
push eax
push esi
push dword [ebp - 0x418]
call edi
test eax, eax
je 0x10059700
push dword [ebp - 0x418]
call dword [ebp - 0x428]
mov eax, dword [ebp - 0x27c]
mov esi, dword [eax]
cmp esi, eax
je 0x1005991a
nop dword [eax]
push dword [esi + 0x10]
lea eax, [ebp - 0x6c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push eax
lea eax, [ebp - 0x298]
push str._s0x_08x_s_08d
push eax
call fcn.1000da00
add esp, 0x18
lea ecx, [ebp - 0x418]
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
cmovae eax, dword [ebp - 0x298]
push ecx
push 0x20019
push 0
push eax
push dword [ebp - 0x430]
call dword [ebp - 0x420]
test eax, eax
jne 0x100598d2
lea ecx, [ebp - 0x300]
call fcn.10056e80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x450]
push str.CLSID
mov dword [ebp - 0x2cc], 0x804
call fcn.100036e0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x300]
mov ecx, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x418]
call fcn.10059a80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x450]
call fcn.10003970
mov edi, dword [ebx + 4]
cmp dword [ebx + 8], edi
je 0x100598a8
mov eax, dword [ebp - 0x300]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [ebp - 0x2fc]
push eax
mov dword [ebp - 0x42c], edi
call fcn.10003750
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [edi + 0x1c]
call fcn.10003750
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x38]
mov eax, dword [ebp - 0x2cc]
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.10003750
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [edi + 0x50]
call fcn.10003750
mov byte [ebp - 4], 7
add dword [ebx + 4], 0x68
jmp 0x100598b7
lea eax, [ebp - 0x300]
mov ecx, ebx
push eax
push edi
call fcn.1005a260
push dword [ebp - 0x418]
call dword [ebp - 0x428]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x300]
call fcn.10056f00
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100598f8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100598f4
cmp esi, dword [eax + 8]
jne 0x100598f4
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100598e4
mov esi, eax
jmp 0x1005990e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1005990e
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10059902
cmp esi, dword [ebp - 0x27c]
jne 0x10059780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x41c]
call fcn.10089190
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x298]
call fcn.10003970
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x27c]
mov ebx, eax
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x1005997b
push dword [esi + 8]
lea ecx, [ebp - 0x27c]
call fcn.1005a160
mov esi, dword [esi]
push 0x14
push edi
call fcn.100a272d
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x10059952
mov eax, dword [ebp - 0x27c]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x27c]
mov dword [eax], ebx
mov eax, dword [ebp - 0x27c]
mov dword [eax + 8], ebx
mov dword [ebp - 0x278], 0
mov dword [ebp - 4], 0xffffffff
push 0x14
push dword [ebp - 0x27c]
call fcn.100a272d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a26ec
mov esp, ebp
pop ebp
ret 8