Function at 0x408590
Capabilities:
Create process on windows
Create process suspended
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x43ebdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6b4
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x2b4]
push 0x104
push eax
push str.UPDD_Folder
push 0
mov ebx, 0x29
call fcn.00413c6a
lea edi, [esp + 0x2b4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3b8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..reg
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x174]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x40885e
mov ebp, dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push ebx
mov ecx, 0x4540c0
call fcn.004011a0
add ebx, 3
cmp ebx, 0x32
jle 0x40866c
mov ebx, 0x32
lea edx, [esp + 0x1a0]
push str.tbupdd.reg
push edx
call fcn.00434f20
add esp, 8
test eax, eax
je 0x408840
or ecx, 0xffffffff
lea edi, [esp + 0x2b4]
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x70]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x44a3cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x70]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1a0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov edi, str.regedit__s__
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x58], 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4bc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov word [esp + 0x5c], 0
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x70]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x4bc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x44aeac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x70]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00416cb2
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0
push ecx
call fcn.0040d6b0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x6cc], 0xffffffff
call fcn.00416d10
lea edx, [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push 0
push 0
push 0x200
push 0
push 0
lea ecx, [esp + 0x4d8]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40885e
mov esi, 0x400
call fcn.00418537
test eax, eax
je 0x408825
mov esi, 0x100400
mov edx, dword [esp + 0x24]
push edx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x174]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408654
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x6c4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c0
ret