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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x4013b0
push 0x4014ec
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x4014c0
push ebx
mov dword [ebp - 0x50], eax
call esi
push eax
call edi
push 0x40161c
push ebx
mov dword [ebp - 0x54], eax
call esi
push eax
call edi
mov dword [ebp - 0x4c], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x409eaf
mov eax, 0x104
xor ebx, ebx
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x1ac]
push ebx
push eax
mov byte [ebp - 0x48], 0x61
mov byte [ebp - 0x47], 0x50
mov byte [ebp - 0x46], 0x50
mov byte [ebp - 0x45], 0x4c
mov byte [ebp - 0x44], 0x49
mov byte [ebp - 0x43], 0x43
mov byte [ebp - 0x42], 0x41
mov byte [ebp - 0x41], 0x54
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x4f
mov byte [ebp - 0x3e], 0x4e
mov byte [ebp - 0x3d], 0x53
mov byte [ebp - 0x3c], 0x5c
mov byte [ebp - 0x3b], 0x49
mov byte [ebp - 0x3a], 0x45
mov byte [ebp - 0x39], 0x58
mov byte [ebp - 0x38], 0x50
mov byte [ebp - 0x37], 0x4c
mov byte [ebp - 0x36], 0x4f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x2e
mov byte [ebp - 0x32], 0x45
mov byte [ebp - 0x31], 0x58
mov byte [ebp - 0x30], 0x45
mov byte [ebp - 0x2f], 0x5c
mov byte [ebp - 0x2e], 0x53
mov byte [ebp - 0x2d], 0x48
mov byte [ebp - 0x2c], 0x45
mov byte [ebp - 0x2b], 0x4c
mov byte [ebp - 0x2a], 0x4c
mov byte [ebp - 0x29], 0x5c
mov byte [ebp - 0x28], 0x4f
mov byte [ebp - 0x27], 0x50
mov byte [ebp - 0x26], 0x45
mov byte [ebp - 0x25], 0x4e
mov byte [ebp - 0x24], 0x5c
mov byte [ebp - 0x23], 0x43
mov byte [ebp - 0x22], 0x4f
mov byte [ebp - 0x21], 0x4d
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], 0x41
mov byte [ebp - 0x1e], 0x4e
mov byte [ebp - 0x1d], 0x44
mov byte [ebp - 0x1c], bl
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x65
push eax
push 0x401520
mov byte [ebp - 0x16], 0x67
mov byte [ebp - 0x15], 0x4f
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x11], 0x4b
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x78
mov byte [ebp - 0xc], 0x41
mov byte [ebp - 0xb], bl
call esi
push eax
call edi
lea ecx, [ebp - 4]
push ecx
push 0xf003f
lea ecx, [ebp - 0x48]
push ebx
push ecx
push bind
call eax
test eax, eax
jne 0x409eaf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1ac]
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 eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x1ac]
push eax
call dword [ebp - 0x50]
test eax, eax
je 0x409eaf
mov ecx, dword [0x41aa80]
lea eax, [ebp - 0x1ac]
push 0x401554
push eax
call fcn.0040ce57
cmp eax, ebx
je 0x409eaf
push dword [ebp + 8]
push eax
call dword [ebp - 0x54]
mov eax, 1
mov eax, 0xffffffff
nop
nop
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0xa4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa8], 0x44
je 0x409e93
mov dword [ebp - 0xa0], 0x40160c
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xa8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1ac]
push ebx
push eax
push ebx
call dword [ebp - 0x4c]
pop edi
pop esi
xor al, al
pop ebx
leave
ret