Function at 0x10065850
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x2c4]
sub esp, 0x2c4
push 0xffffffffffffffff
push 0x10234b90
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x102c6474]
xor eax, ebp
mov dword [ebp + 0x2c0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0x2cc]
mov eax, dword [ebp + 0x2d0]
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x100658a8
xor al, al
jmp 0x10065d49
movzx eax, di
mov esi, edi
imul ecx, eax, 0x10001
mov dword [ebp + 0x25c], 0x790053
mov dword [ebp + 0x260], 0x740073
mov dword [ebp + 0x264], 0x6d0065
mov dword [ebp + 0x268], 0x43005c
cmp edi, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 4]
mov dword [ebp + 0x26c], 0x720075
cmove esi, eax
mov dword [ebp + 0x270], 0x650072
mov dword [ebp + 0x274], 0x74006e
mov dword [ebp + 0x278], 0x6f0043
mov dword [ebp + 0x27c], 0x74006e
mov dword [ebp + 0x280], 0x6f0072
mov dword [ebp + 0x284], 0x53006c
mov dword [ebp + 0x288], 0x740065
mov dword [ebp + 0x28c], 0x43005c
mov dword [ebp + 0x290], 0x6e006f
mov dword [ebp + 0x294], 0x720074
mov dword [ebp + 0x298], 0x6c006f
mov dword [ebp + 0x29c], 0x4b005c
mov dword [ebp + 0x2a0], 0x790065
mov dword [ebp + 0x2a4], 0x6f0062
mov dword [ebp + 0x2a8], 0x720061
mov dword [ebp + 0x2ac], 0x200064
mov dword [ebp + 0x2b0], 0x61004c
mov dword [ebp + 0x2b4], 0x6f0079
mov dword [ebp + 0x2b8], 0x740075
mov dword [ebp + 0x2bc], 0x73
call fcn.10007fd4
mov dword [ebp - 4], 0
lea eax, [ebp + 0x25c]
push esi
push eax
lea eax, [ebp + 4]
push str._s_08x
push eax
call fcn.10074cd0
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x10065d36
mov esi, dword [0x1024d1ac]
push str.RegOpenKeyExW
push eax
call esi
push str.RegQueryValueExW
push dword [ebx]
mov dword [ebp - 0x1c], eax
call esi
mov ecx, dword [ebp - 0x18]
mov ebx, eax
push str.RegCloseKey
push dword [ecx]
call esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x10065d36
test ebx, ebx
je 0x10065d36
test eax, eax
je 0x10065d36
lea eax, [ebp]
mov dword [ebp], 0
push eax
push 0x20019
push 0
lea ecx, [ebp + 4]
call fcn.10007f54
push eax
push 0x80000002
call esi
test eax, eax
jne 0x10065d36
mov esi, dword [ebp - 0x10]
test edi, 0xffff0000
push 0x208
cmove edi, dword [ebp - 0x14]
push eax
mov dword [ebp + 0x4c], eax
lea eax, [ebp + 0x54]
push eax
mov dword [esi], edi
call fcn.101fd690
add esp, 0xc
mov dword [ebp + 0x50], 0x208
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x4c]
push eax
push 0
push str.Ime_File
push dword [ebp]
call ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10005e0a
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x1c]
call fcn.10005e30
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10065b11
lea ecx, [ebp + 0x34]
call fcn.10007fd4
mov byte [ebp - 4], 2
lea edx, [ebp + 0x34]
call fcn.100669c0
mov edx, 0x10
lea ecx, [ebp + 0x34]
call fcn.100769e0
lea eax, [ebp + 0x1c]
push eax
lea edx, [ebp + 0x34]
lea ecx, [ebp - 0x3c]
call fcn.100213c0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [esi + 4]
push eax
call fcn.10007f9d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10005e05
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x34]
call fcn.10005e05
lea eax, [ebp + 0x50]
mov dword [ebp + 0x50], 0x208
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x4c]
push eax
push 0
push str.Layout_Display_Name
push dword [ebp]
call ebx
test eax, eax
jne 0x10065b79
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x34]
call fcn.10005e0a
mov byte [ebp - 4], 4
lea edx, [ebp + 0x34]
lea ecx, [ebp - 0x3c]
call fcn.10065d80
mov byte [ebp - 4], 5
lea ecx, [esi + 0x1c]
push eax
call fcn.10007f9d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.10005e05
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x34]
call fcn.10005e05
jmp 0x10065d20
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x4c]
push eax
push 0
push str.Layout_Text
push dword [ebp]
call ebx
lea eax, [ebp + 0x54]
add esi, 0x1c
push eax
call fcn.10005f42
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.10005e30
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x20], eax
cmp ebx, eax
ja 0x10065be8
mov esi, edi
cmp eax, 8
jb 0x10065bbe
mov esi, dword [edi]
push ebx
lea eax, [ebp + 0x54]
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.10005f10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10005eff
add esp, 0x14
jmp 0x10065d20
mov ecx, esi
call fcn.1000608d
cmp ebx, eax
ja 0x10065d6e
mov ecx, esi
call fcn.1000608d
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx + 0x1c]
call fcn.10005e30
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
ja 0x10065c3e
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x10065c3e
lea eax, [ecx + edx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10005ed6
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10065c50
or ecx, 0xffffffff
jmp 0x10065c58
cmp ecx, 0x1000
jb 0x10065c81
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.101e4da1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10065d73
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10065c92
test ecx, ecx
je 0x10065c90
push ecx
call fcn.101e4da1
add esp, 4
jmp 0x10065c92
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x54]
push ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x10]
push eax
push esi
call fcn.10005f29
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10005eff
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp ecx, 8
jb 0x10065d00
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10065cef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10065d73
mov eax, edx
push ecx
push eax
call fcn.101e4d70
mov eax, dword [ebp - 0x10]
add esp, 8
mov dword [edi], eax
jmp 0x10065d20
push edi
call fcn.10005f6e
push eax
push 4
call fcn.10005b84
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.10005f6e
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi], ecx
push dword [ebp]
call dword [ebp - 0x24]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.10005e05
jmp 0x10065d38
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 4]
call fcn.10005e05
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c0]
xor ecx, ebp
call fcn.101e48f0
lea esp, [ebp + 0x2c4]
pop ebp
ret 8
call fcn.1000604b
call fcn.10205f6e
int3