Function at 0x4553c0
Capabilities:
Copy file
Create process on windows
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
mov eax, dword [0x531d28]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x280], ecx
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
push 0x104
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x258]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x455430
sub eax, ecx
push eax
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401880
push 1
push 0x502aa8
lea ecx, [ebp - 0x268]
call fcn.00401bb0
mov edi, dword [ebp + 8]
push 0x50c140
lea edx, [ebp - 0x26c]
push edi
push edx
call fcn.00401e30
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x154]
push eax
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x260], eax
je 0x45559b
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea esp, [esp]
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4554d0
sub eax, edx
push eax
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x264]
call fcn.00401880
test byte [ebp - 0x154], 0x10
jne 0x455578
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.004092f0
mov esi, eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp + 8]
push edi
push ecx
mov byte [ebp - 4], 3
call fcn.004092f0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp - 0x260]
lea eax, [ebp - 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4554c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2a8]
call fcn.004e3ca5
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 4
call fcn.004e3ca5
push str.RegInfo_
lea ecx, [ebp + 8]
push edi
push ecx
mov byte [ebp - 4], 5
call fcn.00401e30
mov eax, dword [eax]
lea edx, [ebp - 0x294]
push edx
push 0
push str..nfd
push eax
mov byte [ebp - 4], 6
call fcn.0047e9e0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455606
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x28c]
test eax, eax
jne 0x455802
push str.RegInfo_
lea eax, [ebp + 8]
push edi
push eax
call fcn.00401e30
mov eax, dword [eax]
lea ecx, [ebp - 0x294]
push ecx
push 0
push str..psd
push eax
mov byte [ebp - 4], 7
call fcn.0047e9e0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455661
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x28c]
test eax, eax
jne 0x455802
push str.RegInfo_
lea eax, [ebp + 8]
push edi
push eax
call fcn.00401e30
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push 0
push str..reg
push eax
mov byte [ebp - 4], 8
call fcn.0047e9e0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x1c
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4556bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x2a0]
xor edi, edi
test eax, eax
jle 0x45575a
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
test edi, edi
mov byte [ebp - 4], 9
jl 0x455a1b
cmp edi, dword [ebp - 0x2a0]
jge 0x455a1b
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + edi*4]
push ecx
lea edx, [ebp + 8]
push str._s___s_
push edx
call fcn.00401c40
mov esi, dword [ebp + 8]
add esp, 0xc
push 0
push 0
push esi
push str.Regedit.exe
push str.open
push 0
call ebx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45574b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x2a0]
inc edi
cmp edi, eax
jl 0x4556d2
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 4
call fcn.004e3cf7
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.004e3cf7
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45579c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4557c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4557e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d40be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
cmp edi, dword [ebp - 0x28c]
mov dword [ebp - 0x25c], edi
jge 0x45575a
test edi, edi
jl 0x455a1b
mov eax, dword [ebp - 0x290]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0xc]
xor ebx, ebx
cmp edx, ebx
jl 0x45584f
cmp eax, dword [esi]
jne 0x45584f
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x455888
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
cmp eax, ebx
jne 0x455864
call fcn.0041bff0
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x25c]
add eax, 0x10
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x27c], 0x50bfe4
mov byte [ebp - 4], 0xc
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xd
call fcn.004c5650
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x120]
cmp ecx, 1
jbe 0x455910
cmp ecx, ebx
jbe 0x4558fc
mov edx, dword [eax + 0x124]
cmp edx, ebx
jne 0x455902
xor eax, eax
jmp 0x45593a
xor edx, edx
xor eax, eax
jmp 0x45593a
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455907
jmp 0x455938
cmp dword [eax + 0x118], ebx
jbe 0x455926
mov edx, dword [eax + 0x11c]
cmp edx, ebx
jne 0x45592c
xor eax, eax
jmp 0x45593a
xor edx, edx
xor eax, eax
jmp 0x45593a
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455931
sub eax, esi
push eax
lea ecx, [ebp + 8]
push edx
call fcn.00401880
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.004c5770
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [ebp - 0x274], ebx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x27c], 0x50bfe4
lea eax, [ebp - 0x278]
je 0x4559ee
xor ecx, ecx
cmp ecx, dword [eax]
jae 0x455999
inc ecx
jmp 0x455992
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x4559ee
mov edx, dword [ecx - 4]
cmp edx, ebx
lea eax, [ecx - 4]
je 0x4559b2
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x4559ee
push eax
call fcn.004e50f9
add esp, 4
jmp 0x4559ee
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
mov dword [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455a15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
jmp 0x455804
call fcn.004e2e19
int3