Function at 0x403bb7
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
mov eax, 0x409348
call fcn.00404738
sub esp, 0x374
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push ebx
mov dword [ebp - 4], ebx
call section..text
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call section..text
push ebx
lea eax, [ebp - 0x380]
push ebx
push eax
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 8]
call fcn.00404a84
lea eax, [ebp - 0x380]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004041f0
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0x1c
cmp edi, ebx
mov esi, edi
jle 0x403c2e
cmp byte [esi + ecx], 0x5c
je 0x403c2e
dec esi
cmp esi, ebx
jg 0x403c23
inc esi
xor eax, eax
cmp esi, edi
jge 0x403c43
mov dl, byte [esi + ecx]
mov byte [ebp + eax - 0x17c], dl
inc eax
inc esi
jmp 0x403c31
mov byte [ebp + eax - 0x17c], bl
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004010a7
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
push 0x44
lea eax, [ebp - 0x78]
pop edi
push edi
push ebx
push eax
call fcn.00404760
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x78], edi
call fcn.00404760
add esp, 0x18
lea ecx, [ebp - 0x14]
push 0x40c820
call fcn.0040106a
lea eax, [ebp - 0x24]
push 0x40c1bc
push eax
lea ecx, [ebp - 0x14]
call fcn.004011a5
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040106a
cmp dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
je 0x403cc0
push dword [ebp - 0x24]
call fcn.00404359
pop ecx
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004010fc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0040106a
cmp dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
je 0x403cef
push dword [ebp - 0x24]
call fcn.00404359
pop ecx
push ebx
mov dword [ebp - 0x24], ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 0x14]
test eax, eax
je 0x403d66
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040106a
push dword [ebp - 0x14]
lea eax, [ebp - 0x17c]
push eax
call fcn.004041e0
pop ecx
lea eax, [ebp - 0x34]
pop ecx
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x280]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x17c]
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403d96
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
jmp 0x403dfd
lea eax, [ebp - 0x17c]
push eax
call fcn.004041e0
pop ecx
lea eax, [ebp - 0x34]
pop ecx
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x17c]
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x403dd5
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
je 0x403da8
push dword [ebp - 0x14]
call fcn.00404359
pop ecx
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
je 0x403dbc
push dword [ebp - 0x1c]
call fcn.00404359
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x1c], ebx
je 0x403dd1
push dword [ebp + 8]
call fcn.00404359
pop ecx
xor al, al
jmp 0x403e3a
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x30]
call edi
push 0x64
call esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
je 0x403e0f
push dword [ebp - 0x14]
call fcn.00404359
pop ecx
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
je 0x403e23
push dword [ebp - 0x1c]
call fcn.00404359
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x1c], ebx
je 0x403e38
push dword [ebp + 8]
call fcn.00404359
pop ecx
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret