Function at 0x480460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a449d
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x60a070]
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 ebx, ecx
mov dword [ebp - 0x4dc], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4e0], eax
test edi, edi
jne 0x4804ad
xor al, al
jmp 0x4808cc
movzx eax, di
mov esi, edi
imul ecx, eax, 0x10001
mov dword [ebp - 0x74], 0x790053
mov dword [ebp - 0x70], 0x740073
mov dword [ebp - 0x6c], 0x6d0065
mov dword [ebp - 0x68], 0x43005c
cmp edi, ecx
mov dword [ebp - 0x4e8], ecx
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x64], 0x720075
cmove esi, eax
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x74006e
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x53006c
mov dword [ebp - 0x48], 0x740065
mov dword [ebp - 0x44], 0x43005c
mov dword [ebp - 0x40], 0x6e006f
mov dword [ebp - 0x3c], 0x720074
mov dword [ebp - 0x38], 0x6c006f
mov dword [ebp - 0x34], 0x4b005c
mov dword [ebp - 0x30], 0x790065
mov dword [ebp - 0x2c], 0x6f0062
mov dword [ebp - 0x28], 0x720061
mov dword [ebp - 0x24], 0x200064
mov dword [ebp - 0x20], 0x61004c
mov dword [ebp - 0x1c], 0x6f0079
mov dword [ebp - 0x18], 0x740075
mov dword [ebp - 0x14], 0x73
call fcn.00403c50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x74]
push esi
push eax
lea eax, [ebp - 0x4d4]
push str._s_08x
push eax
call fcn.00497850
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x4808b6
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5d6a8c
push eax
call ebx
mov ecx, dword [ebp - 0x4dc]
push str.RegQueryValueExW
mov dword [ebp - 0x4e4], eax
push dword [ecx]
call ebx
mov esi, eax
mov eax, dword [ebp - 0x4dc]
push 0x5d6ab0
push dword [eax]
call ebx
cmp dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4dc], eax
je 0x4808b6
test esi, esi
je 0x4808b6
test eax, eax
je 0x4808b6
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], 0
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x4d4]
call fcn.00403b40
push eax
push SysStringLen
call dword [ebp - 0x4e4]
test eax, eax
jne 0x4808b6
mov eax, dword [ebp - 0x4e0]
test edi, 0xffff0000
push 0x208
cmove edi, dword [ebp - 0x4e8]
push 0
mov dword [eax], edi
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp - 0x48c], 0
call fcn.00540030
add esp, 0xc
mov dword [ebp - 0x488], 0x208
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.Ime_File
push dword [ebp - 0x4d8]
call esi
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.00403c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.00403fa0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4807c8
lea ecx, [ebp - 0x4a4]
call fcn.00403c50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
push 0x5d8b24
call fcn.00403c00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x500]
push eax
call fcn.004b8560
mov ecx, eax
call fcn.004b8630
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00403bb0
test edi, edi
je 0x48076a
push 0x5d8b10
push edi
call ebx
mov edi, eax
test edi, edi
je 0x48076a
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.00540030
add esp, 0xc
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0x25
push 0
call edi
test eax, eax
jne 0x48076a
lea eax, [ebp - 0x484]
push eax
call fcn.00404680
add esp, 4
lea ecx, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.004040c0
mov edx, 0x10
lea ecx, [ebp - 0x4a4]
call fcn.00498f90
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x4a4]
lea ecx, [ebp - 0x500]
call fcn.004290f0
add esp, 4
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x4e0]
push eax
lea ecx, [ebx + 4]
call fcn.00403bc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00403bb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.00403bb0
jmp 0x4807ce
mov ebx, dword [ebp - 0x4e0]
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x208
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.Layout_Display_Name
push dword [ebp - 0x4d8]
call esi
test eax, eax
jne 0x480854
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x500]
call fcn.00403c00
mov byte [ebp - 4], 5
lea edx, [ebp - 0x500]
lea ecx, [ebp - 0x4a4]
call fcn.004808f0
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x1c]
push eax
call fcn.00403bc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a4]
call fcn.00403bb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.00403bb0
jmp 0x480897
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.Layout_Text
push dword [ebp - 0x4d8]
call esi
lea eax, [ebp - 0x27c]
push eax
call fcn.00404680
add esp, 4
lea ecx, [ebx + 0x1c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004040c0
push dword [ebp - 0x4d8]
call dword [ebp - 0x4dc]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.00403bb0
jmp 0x4808b8
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00403bb0
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 - 0x10]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 8