Function at 0x496710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x4cc]
sub esp, 0x4cc
push 0xffffffffffffffff
push 0x4fc6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x536008]
xor eax, ebp
mov dword [ebp + 0x4c8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x4d4]
mov eax, dword [ebp + 0x4d8]
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x496768
xor al, al
jmp 0x496b88
movzx eax, si
mov ecx, esi
imul edx, eax, 0x10001
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x464], 0x790053
mov dword [ebp + 0x468], 0x740073
cmp esi, edx
mov dword [ebp - 0x34], edx
mov dword [ebp + 0x46c], 0x6d0065
cmove ecx, eax
mov dword [ebp + 0x470], 0x43005c
xor eax, eax
mov dword [ebp + 0x474], 0x720075
mov dword [ebp + 0x478], 0x650072
mov dword [ebp + 0x47c], 0x74006e
mov dword [ebp + 0x480], 0x6f0043
mov dword [ebp + 0x484], 0x74006e
mov dword [ebp + 0x488], 0x6f0072
mov dword [ebp + 0x48c], 0x53006c
mov dword [ebp + 0x490], 0x740065
mov dword [ebp + 0x494], 0x43005c
mov dword [ebp + 0x498], 0x6e006f
mov dword [ebp + 0x49c], 0x720074
mov dword [ebp + 0x4a0], 0x6c006f
mov dword [ebp + 0x4a4], 0x4b005c
mov dword [ebp + 0x4a8], 0x790065
mov dword [ebp + 0x4ac], 0x6f0062
mov dword [ebp + 0x4b0], 0x720061
mov dword [ebp + 0x4b4], 0x200064
mov dword [ebp + 0x4b8], 0x61004c
mov dword [ebp + 0x4bc], 0x6f0079
mov dword [ebp + 0x4c0], 0x740075
mov dword [ebp + 0x4c4], 0x73
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], 7
mov word [ebp + 0x1c], ax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x464]
push ecx
push eax
lea eax, [ebp + 0x1c]
push str._s_08x
push eax
call fcn.004a42f0
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x496b75
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call edi
push str.RegQueryValueExW
push dword [ebx]
mov dword [ebp - 0x30], eax
call edi
mov ecx, dword [ebp - 0x14]
mov ebx, eax
push str.RegCloseKey
push dword [ecx]
call edi
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x496b75
test ebx, ebx
je 0x496b75
test eax, eax
je 0x496b75
cmp dword [ebp + 0x30], 8
lea edx, [ebp]
push edx
push 0x20019
lea eax, [ebp + 0x1c]
mov dword [ebp], 0
cmovae eax, dword [ebp + 0x1c]
push 0
push eax
push 0x80000002
call ecx
test eax, eax
jne 0x496b75
mov eax, dword [ebp - 0x10]
test esi, 0xffff0000
push 0x208
cmove esi, dword [ebp - 0x34]
push 0
mov dword [eax], esi
lea eax, [ebp + 0x25c]
push eax
mov dword [ebp + 0x4c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp + 0x50], 0x208
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp + 0x4c]
push eax
push 0
push str.Ime_File
push dword [ebp]
call ebx
lea eax, [ebp + 0x25c]
push eax
lea ecx, [ebp + 4]
call fcn.0040a100
mov byte [ebp - 4], 1
cmp dword [ebp + 0x14], 0
jbe 0x496aa8
xor eax, eax
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 7
mov word [ebp + 0x34], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0xb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push str.Shell32.dll
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040a350
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
call fcn.004b99f0
mov ecx, eax
call fcn.004b9ab0
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
test esi, esi
je 0x496a5f
push 0x511500
push esi
call edi
mov esi, eax
test esi, esi
je 0x496a5f
push 0x208
lea eax, [ebp + 0x54]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x54]
push eax
push 0
push 0
push 0x25
push 0
call esi
test eax, eax
jne 0x496a5f
lea ecx, [ebp + 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x496a43
sub ecx, edx
lea eax, [ebp + 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x34]
call fcn.0040a350
mov edx, 0x10
lea ecx, [ebp + 0x34]
call fcn.004a8bf0
lea eax, [ebp + 4]
push eax
lea edx, [ebp + 0x34]
lea ecx, [ebp - 0x2c]
call fcn.00443cb0
add esp, 4
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
push eax
lea ecx, [esi + 4]
call fcn.0040a050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x34]
call fcn.0040a2e0
jmp 0x496aab
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x50]
mov dword [ebp + 0x50], 0x208
push eax
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp + 0x4c]
push eax
push 0
push str.Layout_Display_Name
push dword [ebp]
call ebx
test eax, eax
jne 0x496b16
lea eax, [ebp + 0x25c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a100
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
lea ecx, [ebp + 0x34]
call fcn.00496bb0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x1c]
push eax
call fcn.0040a050
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x34]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040a2e0
jmp 0x496b5f
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x25c]
push eax
lea eax, [ebp + 0x4c]
push eax
push 0
push str.Layout_Text
push dword [ebp]
call ebx
lea eax, [ebp + 0x25c]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496b40
sub eax, edx
lea ecx, [esi + 0x1c]
sar eax, 1
push eax
lea eax, [ebp + 0x25c]
push eax
call fcn.0040a350
push dword [ebp]
call dword [ebp - 0x14]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
call fcn.0040a2e0
jmp 0x496b77
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0040a2e0
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 + 0x4c8]
xor ecx, ebp
call fcn.004e62ab
lea esp, [ebp + 0x4cc]
pop ebp
ret 8