Function at 0x10057e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x100a4a58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100cd008]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 0x7c]
test eax, eax
je 0x100580ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [ebp + 4], eax
call esi
push 0x100b18c4
push dword [ebx]
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 4], 0
mov dword [ebp], eax
je 0x100580ef
cmp dword [ebp + 8], 0
je 0x100580ef
test eax, eax
je 0x100580ef
mov ecx, ebx
mov byte [ebp + 0xf], 0
call fcn.100595b0
mov esi, eax
mov eax, 0x804
test esi, esi
cmove esi, eax
movzx ecx, si
mov dword [edi + 0x34], ecx
call fcn.10059940
test al, al
je 0x10058084
xor eax, eax
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0x6f0053
mov dword [ebp + 0x30], 0x740066
mov dword [ebp + 0x34], 0x610077
mov dword [ebp + 0x38], 0x650072
mov dword [ebp + 0x3c], 0x4d005c
mov dword [ebp + 0x40], 0x630069
mov dword [ebp + 0x44], 0x6f0072
mov dword [ebp + 0x48], 0x6f0073
mov dword [ebp + 0x4c], 0x740066
mov dword [ebp + 0x50], 0x43005c
mov dword [ebp + 0x54], 0x460054
mov dword [ebp + 0x58], 0x41005c
mov dword [ebp + 0x5c], 0x730073
mov dword [ebp + 0x60], 0x6d0065
mov dword [ebp + 0x64], 0x6c0062
mov dword [ebp + 0x68], 0x650069
mov dword [ebp + 0x6c], 0x73
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 7
mov word [ebp + 0x14], ax
mov dword [ebp - 4], eax
lea eax, [ebp + 0x2c]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push dword [edi + 0x34]
push eax
lea eax, [ebp + 0x14]
push 0x100b31d0
push eax
call fcn.100654a0
mov dword [ebp + 8], 0
add esp, 0x14
mov dword [ebp + 0x10], 0
mov dword [ebp + 8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
cmp dword [ebp + 0x28], 8
lea eax, [ebp + 0x14]
push ecx
cmovae eax, dword [ebp + 0x14]
lea ecx, [ebp + 8]
push 0x20019
push 0
push eax
push 0x20019
call fcn.10074780
push eax
call dword [ebp + 4]
test eax, eax
jne 0x10058062
push str.Default
lea ecx, [ebp - 0x24]
call fcn.10002b40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24]
push edi
push eax
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.1005a370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10002b90
push dword [ebp + 0x10]
call dword [ebp]
mov bl, 1
jmp 0x10058065
mov bl, byte [ebp + 0xf]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10074910
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10002b90
mov al, bl
jmp 0x100580f1
mov ecx, str.00000000_0000_0000_0000_000000000000
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10058090
sub ecx, edx
sar ecx, 1
push ecx
push str.00000000_0000_0000_0000_000000000000
lea ecx, [edi + 0x38]
call fcn.10002bf0
mov eax, str.00000000_0000_0000_0000_000000000000
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100580b5
sub eax, edx
lea ecx, [edi + 0x50]
sar eax, 1
push eax
push str.00000000_0000_0000_0000_000000000000
call fcn.10002bf0
mov eax, dword [edi + 0x34]
cmp esi, eax
jne 0x100580e7
imul eax, eax, 0x10001
mov bl, 1
mov dword [edi], eax
mov al, bl
jmp 0x100580f1
mov bl, 1
mov dword [edi], esi
mov al, bl
jmp 0x100580f1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.10097213
lea esp, [ebp + 0x74]
pop ebp
ret 4