Function at 0x4b761c
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Terminate process

Disassembly:
mov eax, 0x547c3c
call fcn.004f8378
sub esp, 0x4a0
or dword [ebp - 0x18], 0xffffffff
push ebx
mov dword [ebp - 0x2c], ecx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.005191bd
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004b75bd
push ebx
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.005192cf
test eax, eax
jne 0x4b766c
or esi, 0xffffffff
jmp 0x4b7769
lea ecx, [ebp - 0x28]
call fcn.005195c9
mov esi, eax
sub esi, 0x10
cmp esi, ebx
jg 0x4b7687
lea ecx, [ebp - 0x28]
call fcn.005194ea
jmp 0x4b7664
push esi
call fcn.00513471
mov edi, eax
mov eax, dword [0x59fe84]
pop ecx
mov dword [ebp - 0x10], eax
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x4b7752
lea eax, [ebp - 0x50]
push 0x10
push eax
lea ecx, [ebp - 0x28]
call fcn.005193ec
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.005193ec
lea ecx, [ebp - 0x28]
call fcn.005194ea
lea eax, [ebp - 0x40]
push eax
push esi
push edi
call fcn.004d0d40
lea eax, [ebp - 0x40]
push 0x10
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004f96d0
add esp, 0x18
test eax, eax
jne 0x4b774b
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
je 0x4b76fa
push 0xffffffffffffffff
push ebx
push 0x809d
call fcn.00521b94
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x1041
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.005192cf
lea eax, [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
call fcn.00519ff0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00513869
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00513730
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00519426
lea ecx, [ebp - 0x28]
call fcn.005194ea
push edi
call fcn.0051349a
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x4b7787
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00513730
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00513730
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00519212
mov eax, esi
jmp 0x4b78c0
mov esi, 0x104
lea eax, [ebp - 0x2ac]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x1a8]
push eax
push ebx
lea eax, [ebp - 0x1a8]
push 0x59763c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x1a8]
push ebx
push eax
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push 0x4000000
push 3
push ebx
push 1
lea eax, [ebp - 0x1a8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor edi, edi
call fcn.004036f6
cmp eax, ebx
je 0x4b781b
mov edi, dword [eax + 0x19c]
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x90]
lea eax, [ebp - 0x2ac]
push edi
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1a8]
push esi
push eax
lea eax, [ebp - 0x4ac]
push str.__s___d_s_s_x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xa4]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x4ac]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4