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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
push ebx
push esi
mov eax, 0x104
push edi
mov dword [ebp - 8], eax
push eax
xor ebx, ebx
lea eax, [ebp - 0x1a0]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, 1
mov eax, 0xffffffff
nop
nop
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x407d02
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x24]
push eax
push 0x401520
mov byte [ebp - 0x24], 0x52
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x67
mov byte [ebp - 0x21], 0x4f
mov byte [ebp - 0x20], 0x70
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x4b
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x79
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x19], 0x78
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], bl
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 4]
mov dword [ebp - 0x58], eax
push ecx
push 0xf003f
push ebx
push edi
mov edi, bind
push edi
call eax
test eax, eax
jne 0x407d02
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
lea eax, [ebp - 0x394]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 0x13], 0x73
push eax
push 0x4014e0
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x66
mov byte [ebp - 0xc], 0x41
mov byte [ebp - 0xb], bl
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x394]
push 0x40155c
push ecx
call eax
add esp, 0xc
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x394]
push ebx
push eax
push edi
call dword [ebp - 0x58]
test eax, eax
je 0x407d09
xor al, al
jmp 0x407e87
mov edi, 0x104
lea eax, [ebp - 0x1a0]
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x41aa80]
lea eax, [ebp - 0x1a0]
push 0x401558
push eax
call fcn.0040ce57
cmp eax, ebx
jne 0x407d98
mov ecx, dword [0x41aa80]
lea eax, [ebp - 0x1a0]
push 0x401554
push eax
call fcn.0040ce57
cmp eax, ebx
jne 0x407d98
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x1a0]
push 0x401550
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x1a0]
push eax
call edi
jmp 0x407da3
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov eax, 1
mov eax, 0xffffffff
nop
nop
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x98]
mov byte [ebp - 0x44], 0x57
rep stosd dword es:[edi], eax
mov dword [ebp - 0x9c], 0x44
mov byte [ebp - 0x43], 0x69
mov byte [ebp - 0x42], 0x6e
mov byte [ebp - 0x41], 0x53
mov byte [ebp - 0x40], 0x74
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x30
mov byte [ebp - 0x3d], 0x5c
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x66
mov byte [ebp - 0x39], 0x61
mov byte [ebp - 0x38], 0x75
mov byte [ebp - 0x37], 0x6c
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], bl
je 0x407e13
lea eax, [ebp - 0x44]
mov dword [ebp - 0x94], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x34]
mov byte [ebp - 0x34], 0x43
push eax
push 0x4013b0
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x61
mov byte [ebp - 0x30], 0x74
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x50
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x6f
mov byte [ebp - 0x2b], 0x63
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x73
mov byte [ebp - 0x27], 0x41
mov byte [ebp - 0x26], bl
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1a0]
push ebx
push ecx
push ebx
call eax
pop edi
pop esi
pop ebx
leave
ret 8