Function at 0x40eeea
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440b50
push 0x425808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffd84
push ebx
push esi
push edi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x168], 0
mov byte [ebp - 0x278], 0x52
mov byte [ebp - 0x277], 0x45
mov byte [ebp - 0x276], 0x47
mov byte [ebp - 0x275], 0x5f
mov byte [ebp - 0x274], 0x53
mov byte [ebp - 0x273], 0x5a
mov byte [ebp - 0x272], 0
push 0x20
push 0
lea eax, [ebp - 0x160]
push eax
call fcn.004245f0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x140]
push ecx
call fcn.004245f0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.004245f0
add esp, 0xc
mov byte [ebp - 0x2c], 0x25
mov byte [ebp - 0x2b], 0x2d
mov byte [ebp - 0x2a], 0x32
mov byte [ebp - 0x29], 0x34
mov byte [ebp - 0x28], 0x73
mov byte [ebp - 0x27], 0x20
mov byte [ebp - 0x26], 0x25
mov byte [ebp - 0x25], 0x2d
mov byte [ebp - 0x24], 0x31
mov byte [ebp - 0x23], 0x35
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0x25
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0xd
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x270]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40f00c
mov dword [ebp - 0x38], 0xffffffff
jmp case.default.0x40f028
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 3
ja case.default.0x40f028
mov ecx, dword [ebp - 0x27c]
jmp dword [ecx*4 + 0x40f49f]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp - 0x280]
sub eax, 1
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 6
ja case.0x40f05a.4
mov ecx, dword [ebp - 0x280]
jmp dword [ecx*4 + 0x40f4af]
mov dword [ebp - 0x30], 0x104
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f0b1
lea ecx, [ebp - 0x140]
push ecx
call fcn.0040ec90
add esp, 4
push eax
mov edx, dword [ebp + 0x18]
push edx
call fcn.004255a0
add esp, 8
mov dword [ebp - 0x38], 1
jmp case.0x40f05a.4
mov dword [ebp - 0x30], 0x104
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f159
lea edx, [ebp - 0x140]
mov dword [ebp - 0x3c], edx
jmp 0x40f102
push 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004253a0
add esp, 8
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
movsx edx, byte [ecx]
test edx, edx
je 0x40f13f
push 0x104
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00425f00
add esp, 0xc
push 0x104
push 0x44d194
lea edx, [ebp - 0x26c]
push edx
call fcn.00425f00
add esp, 0xc
jmp 0x40f0ee
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004255a0
add esp, 8
mov dword [ebp - 0x38], 1
jmp case.0x40f05a.4
mov dword [ebp - 0x30], 4
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f1a8
mov ecx, dword [ebp - 0x164]
push ecx
push 0x44d198
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x38], 1
jmp case.0x40f05a.4
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne case.0x40f05a.4
mov dword [ebp - 0x38], 1
jmp case.default.0x40f028
mov eax, 1
test eax, eax
je 0x40f28c
push 0x104
push 0
lea ecx, [ebp - 0x140]
push ecx
call fcn.004245f0
add esp, 0xc
mov dword [ebp - 0x30], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x168]
add ecx, 1
mov dword [ebp - 0x168], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x40f251
jmp 0x40f28c
lea edx, [ebp - 0x140]
push edx
push str.__s__r_n
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.004255b0
add esp, 8
mov dword [ebp - 0x38], 1
jmp case.0x40f028.1
jmp case.default.0x40f028
mov eax, 1
test eax, eax
je 0x40f45c
push 0x20
push 0
lea ecx, [ebp - 0x160]
push ecx
call fcn.004245f0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x140]
push edx
call fcn.004245f0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x26c]
push eax
call fcn.004245f0
add esp, 0xc
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x30], 0x104
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x140]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x168]
add eax, 1
mov dword [ebp - 0x168], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x40f33f
jmp 0x40f45c
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
sub edx, 1
mov dword [ebp - 0x28c], edx
cmp dword [ebp - 0x28c], 6
ja case.0x40f36a.4
mov eax, dword [ebp - 0x28c]
jmp dword [eax*4 + 0x40f4cb]
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x278]
push edx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x26c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp case.0x40f36a.4
lea eax, [ebp - 0x140]
push eax
push str.REG_EXPAND_SZ
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp case.0x40f36a.4
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x140]
push edx
push str.REG_DWORD
lea eax, [ebp - 0x160]
push eax
push str.__24s___15s_0x_x__d___r_n
lea ecx, [ebp - 0x26c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp case.0x40f36a.4
push str.REG_MULTI_SZ
lea edx, [ebp - 0x160]
push edx
push 0x44d1e8
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp case.0x40f36a.4
push str.REG_BINARY
lea ecx, [ebp - 0x160]
push ecx
push str.__24s___15s__r_n
lea edx, [ebp - 0x26c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004255b0
add esp, 8
mov dword [ebp - 0x38], 1
jmp case.0x40f028.2
jmp case.default.0x40f028
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040f473
jmp 0x40f48b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret