Function at 0x4591b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x2cc]
sub esp, 0x2cc
push 0xffffffffffffffff
push 0x4a2a14
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4c5008]
xor eax, ebp
mov dword [ebp + 0x2c8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov edi, dword [ebp + 0x2d4]
mov ebx, dword [ebp + 0x2dc]
test eax, eax
je 0x4595fc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push str.RegEnumKeyExW
push dword [eax]
call esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push str.RegCloseKey
push dword [eax]
call esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x4595fc
cmp dword [ebp - 0x1c], 0
je 0x4595fc
test eax, eax
je 0x4595fc
xor eax, eax
mov dword [ebp + 0x290], 0x6f0053
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x294], 0x740066
mov dword [ebp + 0x298], 0x610077
mov dword [ebp + 0x29c], 0x650072
mov dword [ebp + 0x2a0], 0x4d005c
mov dword [ebp + 0x2a4], 0x630069
mov dword [ebp + 0x2a8], 0x6f0072
mov dword [ebp + 0x2ac], 0x6f0073
mov dword [ebp + 0x2b0], 0x740066
mov dword [ebp + 0x2b4], 0x43005c
mov dword [ebp + 0x2b8], 0x460054
mov dword [ebp + 0x2bc], 0x54005c
mov dword [ebp + 0x2c0], 0x500049
mov word [ebp + 0x2c4], ax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x80], 7
mov word [ebp + 0x6c], ax
mov dword [ebp - 4], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x459302
mov eax, dword [edi]
push 0x804
push eax
lea eax, [ebp + 0x290]
push eax
lea eax, [ebp + 0x6c]
push str._s_sLanguageProfile0x_08x
push eax
call fcn.0046c0f0
add esp, 0x14
mov dword [ebp], 0
cmp dword [ebp + 0x80], 8
lea ecx, [ebp]
lea eax, [ebp + 0x6c]
cmovae eax, dword [ebp + 0x6c]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call esi
test eax, eax
jne 0x45959f
xor esi, esi
lea eax, [ebp + 0x88]
push 0x208
push esi
push eax
mov dword [ebp - 0x14], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp + 0x84], 0x104
lea eax, [ebp + 0x84]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp + 0x88]
push eax
push esi
push dword [ebp]
call dword [ebp - 0x1c]
test eax, eax
jne 0x459599
lea ecx, [ebp + 4]
call fcn.0042faa0
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 7
mov word [ebp + 0x3c], ax
mov byte [ebp - 4], 2
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], 7
mov word [ebp + 0x54], ax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x88]
mov dword [ebp - 0x28], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459400
sub ecx, edx
lea eax, [ebp + 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402760
mov byte [ebp - 4], 5
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
push 0x804
call fcn.00459630
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x45947d
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459470
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4595d5
push edx
push ecx
call fcn.00497124
mov al, byte [ebp - 0xd]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], cx
test al, al
je 0x45955a
lea eax, [ebp + 0x3c]
mov dword [ebp + 0x38], 0x804
mov dword [ebp + 4], ecx
cmp eax, edi
je 0x4594c0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4594b4
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x3c]
push eax
call fcn.00402760
lea eax, [ebp + 0x88]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4594d0
sub eax, edx
lea ecx, [ebp + 0x54]
sar eax, 1
push eax
lea eax, [ebp + 0x88]
push eax
call fcn.00402760
mov esi, dword [ebx + 4]
cmp dword [ebx + 8], esi
je 0x45954b
mov eax, dword [ebp + 4]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x3c], esi
call fcn.00404930
mov byte [ebp - 4], 6
lea eax, [ebp + 0x20]
push eax
lea ecx, [esi + 0x1c]
call fcn.00404930
mov byte [ebp - 4], 8
lea ecx, [esi + 0x38]
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x34], eax
lea eax, [ebp + 0x3c]
push eax
call fcn.00404930
mov byte [ebp - 4], 9
lea eax, [ebp + 0x54]
push eax
lea ecx, [esi + 0x50]
call fcn.00404930
mov byte [ebp - 4], 4
add dword [ebx + 4], 0x68
jmp 0x459557
lea eax, [ebp + 4]
mov ecx, ebx
push eax
push esi
call fcn.0045b410
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp + 0x84], 0x104
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
call fcn.00457770
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp + 0x88]
push eax
push esi
push dword [ebp]
call dword [ebp - 0x1c]
test eax, eax
je 0x459395
push dword [ebp]
call dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x80]
cmp edx, 8
jb 0x4595e5
mov ecx, dword [ebp + 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4595db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4595db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497124
add esp, 8
xor eax, eax
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x80], 7
mov word [ebp + 0x6c], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c8]
xor ecx, ebp
call fcn.004970e3
lea esp, [ebp + 0x2cc]
pop ebp
ret 0xc