Function at 0x40b160
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b370
push 0x466282
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x2d8], 0x52
mov byte [ebp - 0x2d7], 0x45
mov byte [ebp - 0x2d6], 0x47
mov dl, 0x5f
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 0x2d4], 0x53
mov byte [ebp - 0x2d3], 0x5a
mov byte [ebp - 0x2d2], 0
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x1a4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x2bc]
rep stosd dword es:[edi], eax
mov al, 0x25
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 0x2d
mov byte [ebp - 0x2a], 0x32
mov byte [ebp - 0x29], 0x34
mov cl, 0x73
mov byte [ebp - 0x28], cl
mov ebx, 0x20
mov byte [ebp - 0x27], bl
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0x2d
mov byte [ebp - 0x24], 0x31
mov byte [ebp - 0x23], 0x35
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], 0xd
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x48], 0x52
mov byte [ebp - 0x47], 0x45
mov byte [ebp - 0x46], 0x47
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x44], 0x42
mov byte [ebp - 0x43], 0x49
mov byte [ebp - 0x42], 0x4e
mov byte [ebp - 0x41], 0x41
mov byte [ebp - 0x40], 0x52
mov byte [ebp - 0x3f], 0x59
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x184], al
mov byte [ebp - 0x183], 0x2d
mov byte [ebp - 0x182], 0x32
mov byte [ebp - 0x181], 0x34
mov byte [ebp - 0x180], cl
mov byte [ebp - 0x17f], bl
mov byte [ebp - 0x17e], al
mov byte [ebp - 0x17d], 0x2d
mov byte [ebp - 0x17c], 0x31
mov byte [ebp - 0x17b], 0x35
mov byte [ebp - 0x17a], cl
mov byte [ebp - 0x179], bl
mov byte [ebp - 0x178], 0xd
mov byte [ebp - 0x177], 0xa
mov byte [ebp - 0x176], 0
mov byte [ebp - 0x174], al
mov byte [ebp - 0x173], 0x2d
mov byte [ebp - 0x172], 0x32
mov byte [ebp - 0x171], 0x34
mov byte [ebp - 0x170], cl
mov byte [ebp - 0x16f], bl
mov byte [ebp - 0x16e], al
mov byte [ebp - 0x16d], 0x2d
mov byte [ebp - 0x16c], 0x31
mov byte [ebp - 0x16b], 0x35
mov byte [ebp - 0x16a], cl
mov byte [ebp - 0x169], bl
mov byte [ebp - 0x168], 0x30
mov cl, 0x78
mov byte [ebp - 0x167], cl
mov byte [ebp - 0x166], al
mov byte [ebp - 0x165], cl
mov byte [ebp - 0x164], 0x28
mov byte [ebp - 0x163], al
mov byte [ebp - 0x162], 0x64
mov byte [ebp - 0x161], 0x29
mov byte [ebp - 0x160], bl
mov byte [ebp - 0x15f], 0xd
mov byte [ebp - 0x15e], 0xa
mov byte [ebp - 0x15d], 0
mov byte [ebp - 0x3c], 0x52
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x3a], 0x47
mov byte [ebp - 0x39], dl
mov byte [ebp - 0x38], 0x4d
mov byte [ebp - 0x37], 0x55
mov byte [ebp - 0x36], 0x4c
mov byte [ebp - 0x35], 0x54
mov byte [ebp - 0x34], 0x49
mov byte [ebp - 0x33], dl
mov byte [ebp - 0x32], 0x53
mov byte [ebp - 0x31], 0x5a
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x1b4], 0x52
mov byte [ebp - 0x1b3], 0x45
mov byte [ebp - 0x1b2], 0x47
mov byte [ebp - 0x1b1], dl
mov al, 0x44
mov byte [ebp - 0x1b0], al
mov byte [ebp - 0x1af], 0x57
mov byte [ebp - 0x1ae], 0x4f
mov byte [ebp - 0x1ad], 0x52
mov byte [ebp - 0x1ac], al
mov byte [ebp - 0x1ab], 0
mov byte [ebp - 0x2d0], 0x52
mov byte [ebp - 0x2cf], 0x45
mov byte [ebp - 0x2ce], 0x47
mov byte [ebp - 0x2cd], dl
mov byte [ebp - 0x2cc], 0x45
mov byte [ebp - 0x2cb], 0x58
mov byte [ebp - 0x2ca], 0x50
mov byte [ebp - 0x2c9], 0x41
mov byte [ebp - 0x2c8], 0x4e
mov byte [ebp - 0x2c7], al
mov byte [ebp - 0x2c6], dl
mov byte [ebp - 0x2c5], 0x53
mov byte [ebp - 0x2c4], 0x5a
mov byte [ebp - 0x2c3], 0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x2c0]
push eax
push 0x20019
push esi
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 0x40b46b
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 4], 0xffffffff
call fcn.0040b82e
jmp 0x40b844
mov eax, dword [ebp + 0x24]
cmp eax, 3
ja case.0x40b48b.5
jmp dword [eax*4 + 0x40b858]
mov eax, dword [ebp + 0x14]
dec eax
cmp eax, 6
ja case.0x40b48b.5
jmp dword [eax*4 + 0x40b868]
mov dword [ebp - 0x4c], 0x104
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
call dword [0x4789b0]
test eax, eax
jne case.0x40b48b.5
lea eax, [ebp - 0x15c]
push eax
call fcn.0040b0d0
add esp, 4
mov edi, eax
jmp 0x40b54f
mov dword [ebp - 0x4c], 0x104
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [0x4789b0]
test eax, eax
jne case.0x40b48b.5
lea esi, [ebp - 0x15c]
mov dword [ebp - 0x58], esi
cmp byte [esi], 0
je 0x40b549
push 0x104
push esi
lea edx, [ebp - 0x2bc]
push edx
call sub.MSVCRT.dll_strncat
push 0x104
push 0x475610
lea eax, [ebp - 0x2bc]
push eax
call sub.MSVCRT.dll_strncat
push 0
push esi
call sub.MSVCRT.dll_strchr
add esp, 0x20
inc eax
mov esi, eax
jmp 0x40b509
lea edi, [ebp - 0x2bc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x54], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040b82e
jmp 0x40b844
mov dword [ebp - 0x4c], 4
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x2c0]
push ecx
call dword [0x4789b0]
test eax, eax
jne case.0x40b48b.5
mov edx, dword [ebp - 0x1a8]
push edx
push 0x475e1c
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp case.0x40b477.3
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
call dword [0x4789b0]
test eax, eax
jne case.0x40b48b.5
jmp case.0x40b477.3
mov ebx, dword [ebp + 0x18]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x4c], 0x104
mov eax, esi
inc esi
mov dword [ebp - 0x1b8], esi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x15c]
push edx
push eax
mov eax, dword [ebp - 0x2c0]
push eax
call dword [0x4789ac]
test eax, eax
jne case.0x40b48b.5
lea ecx, [ebp - 0x15c]
push ecx
push str.__s__r_n
lea edx, [ebp - 0x2bc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edi, [ebp - 0x2bc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x54], 1
mov esi, dword [ebp - 0x1b8]
jmp 0x40b602
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x1a4]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x2bc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x104
mov eax, esi
inc esi
mov dword [ebp - 0x1b8], esi
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp + 0x14]
push ecx
push 0
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x1a4]
push ecx
push eax
mov edx, dword [ebp - 0x2c0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne case.0x40b48b.5
mov eax, dword [ebp + 0x14]
dec eax
cmp eax, 6
ja case.0x40b71e.5
jmp dword [eax*4 + 0x40b884]
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x2d8]
push edx
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp case.0x40b71e.5
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp case.0x40b71e.5
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1b4]
push ecx
lea edx, [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp case.0x40b71e.5
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x2bc]
push edx
jmp 0x40b7e7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edi, [ebp - 0x2bc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x54], 1
mov esi, dword [ebp - 0x1b8]
jmp case.0x40b477.2
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret