Function at 0x42d7f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b228
push 0x43d79e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push esi
push edi
mov byte [ebp - 0x34], 0x41
mov byte [ebp - 0x33], 0x44
mov byte [ebp - 0x32], 0x56
mov byte [ebp - 0x31], 0x41
mov byte [ebp - 0x30], 0x50
mov byte [ebp - 0x2f], 0x49
mov byte [ebp - 0x2e], 0x33
mov byte [ebp - 0x2d], 0x32
mov byte [ebp - 0x2c], 0x2e
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0
push str.RegOpenKeyExA
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov esi, eax
push str.RegEnumValueA
lea ecx, [ebp - 0x34]
push ecx
call ebx
push eax
call edi
mov dword [ebp - 0x164], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x160]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x274]
push edx
push 0x20019
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call esi
test eax, eax
je 0x42d8ed
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0xffffffff
call fcn.0042dcb9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x24]
cmp eax, 3
ja case.0x42d907.5
jmp dword [eax*4 + 0x42dda8]
mov edx, dword [ebp + 0x14]
lea eax, [edx - 1]
cmp eax, 6
ja case.0x42d907.5
jmp dword [eax*4 + 0x42ddb8]
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x1c]
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 - 0x274]
push ecx
call dword [0x495128]
test eax, eax
jne case.0x42d907.5
lea edx, [ebp - 0x140]
push edx
call fcn.0042d7c0
add esp, 4
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0042dcb9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 0x104
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x140]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x274]
push edx
call dword [0x495128]
test eax, eax
jne case.0x42d907.5
lea esi, [ebp - 0x140]
mov dword [ebp - 0x38], esi
cmp byte [esi], 0
je 0x42da04
push 0x104
push esi
lea eax, [ebp - 0x270]
push eax
call sub.MSVCRT.dll_strncat
push 0x104
push 0x4883a8
lea ecx, [ebp - 0x270]
push ecx
call sub.MSVCRT.dll_strncat
push 0
push esi
call sub.MSVCRT.dll_strchr
add esp, 0x20
inc eax
mov esi, eax
jmp 0x42d9c4
lea edi, [ebp - 0x270]
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
jmp 0x42d965
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call dword [0x495128]
test eax, eax
jne case.0x42d907.5
mov edx, dword [ebp - 0x168]
push edx
push 0x48740c
mov eax, dword [ebp + 0x18]
push eax
call dword [0x493f60]
add esp, 0xc
jmp case.0x42d8f5.3
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x1c]
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 - 0x274]
push eax
call dword [0x495128]
test eax, eax
jne case.0x42d907.5
jmp case.0x42d8f5.3
push str.RegEnumKeyExA
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [ebp - 0x278], edx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0x104
mov eax, ebx
inc ebx
mov dword [ebp - 0x16c], ebx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x140]
push ecx
push eax
mov eax, dword [ebp - 0x274]
push eax
call edx
test eax, eax
jne case.0x42d907.5
lea ecx, [ebp - 0x140]
push ecx
push str.__s__r_n
lea edx, [ebp - 0x270]
push edx
call dword [0x493f60]
add esp, 0xc
lea edi, [ebp - 0x270]
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 - 0x24], 1
jmp case.0x42d8f5.1
mov esi, dword [0x493f60]
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x160]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], 0x104
mov eax, ebx
inc ebx
mov dword [ebp - 0x16c], ebx
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp + 0x14]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x160]
push ecx
push eax
mov edx, dword [ebp - 0x274]
push edx
call dword [ebp - 0x164]
test eax, eax
jne case.0x42d907.5
mov eax, dword [ebp + 0x14]
dec eax
cmp eax, 6
ja case.0x42dbe4.5
jmp dword [eax*4 + 0x42ddd4]
lea ecx, [ebp - 0x140]
push ecx
push str.REG_SZ
jmp 0x42dc05
lea ecx, [ebp - 0x140]
push ecx
push str.REG_EXPAND_SZ
lea edx, [ebp - 0x160]
push edx
push str.__24s___15s__s__r_n
lea eax, [ebp - 0x270]
push eax
call esi
add esp, 0x14
jmp case.0x42dbe4.5
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 - 0x270]
push ecx
call esi
add esp, 0x18
jmp case.0x42dbe4.5
push str.REG_MULTI_SZ
lea edx, [ebp - 0x160]
push edx
push str.__24s___15s__r_n
lea eax, [ebp - 0x270]
push eax
jmp 0x42dc7e
push str.REG_BINARY
lea ecx, [ebp - 0x160]
push ecx
push str.__24s___15s__r_n
lea edx, [ebp - 0x270]
push edx
call esi
add esp, 0x10
push str.lstrcatA
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x270]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call eax
mov dword [ebp - 0x24], 1
jmp 0x42db65