Function at 0x47ace0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x4cc]
sub esp, 0x4cc
push 0xffffffffffffffff
push 0x57e268
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x62f018]
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 - 0x18], ebx
mov eax, dword [ebp + 0x4d8]
mov ecx, 0x6355a1
mov dword [ebp - 0x14], eax
call fcn.00561ea5
mov edi, dword [ebp + 0x4d4]
test edi, edi
jne 0x47ad42
xor al, al
jmp 0x47b17a
movzx eax, di
mov esi, edi
imul ecx, eax, 0x10001
mov dword [ebp + 0x464], 0x790053
mov dword [ebp + 0x468], 0x740073
mov dword [ebp + 0x46c], 0x6d0065
mov dword [ebp + 0x470], 0x43005c
cmp edi, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x474], 0x720075
cmove esi, eax
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
call fcn.00403f80
mov dword [ebp - 4], 0
lea eax, [ebp + 0x464]
push esi
push eax
lea eax, [ebp + 0x1c]
push str._s_08x
push eax
call fcn.0048dd40
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x47b153
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
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 ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47b153
test ebx, ebx
je 0x47b153
test eax, eax
je 0x47b153
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 reloc.OLEAUT32.dll_SysReAllocString
call ecx
test eax, eax
jne 0x47b153
mov eax, dword [ebp - 0x14]
test edi, 0xffff0000
push 0x208
cmove edi, dword [ebp - 0x10]
push 0
mov dword [eax], edi
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.00403ed0
mov byte [ebp - 4], 0xd
cmp dword [ebp + 0x14], 0
jbe 0x47b062
lea ecx, [ebp + 0x34]
call fcn.00403f80
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34]
push 0x5cb944
call fcn.00403ed0
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x34]
push eax
call fcn.004a75d0
mov ecx, eax
call fcn.004a76c0
mov edi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x34]
call fcn.00404570
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xe
test edi, edi
je 0x47b001
push 0x5cb9a0
push edi
call esi
mov esi, eax
test esi, esi
je 0x47b001
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 0x47b001
lea ecx, [ebp + 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47afe5
sub ecx, edx
lea eax, [ebp + 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x34]
call fcn.00404640
mov edx, 0x10
lea ecx, [ebp + 0x34]
call fcn.004903e0
lea eax, [ebp + 4]
push eax
lea edx, [ebp + 0x34]
lea ecx, [ebp - 0x34]
call fcn.004201b0
add esp, 4
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x14]
push eax
lea ecx, [esi + 4]
call fcn.00403e50
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x34]
call fcn.00404570
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x34]
call fcn.00404570
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x34]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
jmp 0x47b065
mov esi, dword [ebp - 0x14]
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 0x47b0e8
lea eax, [ebp + 0x25c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403ed0
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x34]
lea ecx, [ebp + 0x34]
call fcn.0047b1a0
mov byte [ebp - 4], 0x1e
lea ecx, [esi + 0x1c]
push eax
call fcn.00403e50
mov byte [ebp - 4], 0x1f
lea ecx, [ebp + 0x34]
call fcn.00404570
mov byte [ebp - 4], 0x1d
lea eax, [ebp + 0x34]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x34]
call fcn.00404570
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
jmp 0x47b12f
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 dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b110
sub eax, edx
lea ecx, [esi + 0x1c]
sar eax, 1
push eax
lea eax, [ebp + 0x25c]
push eax
call fcn.00404640
push dword [ebp]
call dword [ebp - 0x18]
mov bl, 1
mov byte [ebp - 4], 0x27
lea ecx, [ebp + 4]
call fcn.00404570
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
jmp 0x47b155
xor bl, bl
mov dword [ebp - 4], 0x2b
lea ecx, [ebp + 0x1c]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
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.0052f553
lea esp, [ebp + 0x4cc]
pop ebp
ret 8