Function at 0x401015
Capabilities:
Create process on windows
Create thread
Get common file path
Resume thread
Suspend thread

Disassembly:
sub esp, 0x14
mov dword [0x40ba50], 0x12
push ebx
push ebp
push esi
push edi
push 0x13
call fcn.00403a50
mov dword [0x40ba40], eax
mov eax, dword [0x40ba50]
add eax, 2
push eax
call fcn.00403a50
push str.ShohdiWithPrograms
mov dword [0x40ba68], eax
push dword [0x40ba40]
call fcn.00403960
mov edi, 0x40ba48
push 0x40b054
push edi
call fcn.00403960
push 0x40b050
push 0x40ba4c
call fcn.00403960
push dword [0x40ba40]
push dword [0x40ba68]
call fcn.00403960
push 0x40b04c
push dword [0x40ba68]
call fcn.00403970
mov eax, dword [esp + 0x58]
mov esi, 0x12c
push esi
mov dword [0x40ba44], eax
call fcn.00403a50
push esi
mov dword [0x40ba60], eax
call fcn.00403a50
push esi
mov dword [0x40ba58], eax
call fcn.00403a50
push esi
mov dword [0x40ba5c], eax
call fcn.00403a50
add esp, 0x40
mov dword [0x40ba64], eax
push dword [0x40ba58]
push dword [0x40ba60]
call fcn.00401ca0
push dword [0x40ba60]
call fcn.004038e0
mov ecx, eax
mov eax, dword [0x40ba60]
add esp, 0xc
xor ebx, ebx
cmp byte [ecx + eax - 1], 0x22
jne 0x401112
push eax
call fcn.004038e0
pop ecx
mov ecx, dword [0x40ba60]
mov byte [eax + ecx - 1], bl
push dword [0x40ba58]
call fcn.004038e0
pop ecx
mov ecx, eax
mov eax, dword [0x40ba58]
cmp byte [ecx + eax - 1], 0x22
jne 0x40113d
push eax
call fcn.004038e0
pop ecx
mov ecx, dword [0x40ba58]
mov byte [eax + ecx - 1], bl
push esi
push dword [0x40ba5c]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push dword [0x40ba64]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x3e8
call fcn.00403a50
push dword [0x40ba60]
mov esi, eax
push esi
call fcn.00403960
add esp, 0xc
push edi
push esi
call fcn.004038e0
pop ecx
lea eax, [eax + esi - 3]
push eax
call fcn.00403960
push esi
call fcn.004038e0
add eax, dword [0x40ba58]
push eax
push esi
call fcn.00403970
push dword [0x40ba60]
call fcn.00401790
add esp, 0x18
push 1
pop edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
push dword [0x40ba40]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
push edi
push ebx
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push eax
call ebp
test eax, eax
je 0x4011db
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
push dword [0x40ba68]
push edi
push edi
push ebx
call esi
push 0x1f4
mov dword [esp + 0x20], eax
call fcn.00403a50
push dword [0x40ba60]
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.00401909
push dword [0x40ba5c]
mov byte [esp + 0x34], al
push esi
call fcn.00403960
push str.oobb.exe
push esi
call fcn.00403970
push 0x3c
call fcn.00403a50
add esp, 0x1c
cmp eax, ebx
je 0x401246
push edi
mov ecx, eax
push dword [0x409138]
push 0x80
push esi
call fcn.00402821
mov edi, eax
jmp 0x401248
xor edi, edi
push 0x40
call fcn.00403a50
cmp eax, ebx
pop ecx
je 0x401272
push 1
mov ecx, eax
push dword [0x409138]
push 0x80
push dword [0x40ba60]
call fcn.00402945
mov esi, eax
jmp 0x401274
xor esi, esi
cmp byte [esp + 0x28], bl
push 2
push 0xfffffffffffffff8
je 0x4012a4
pop eax
mov ecx, esi
sub eax, dword [0x40ba50]
push eax
call fcn.00402af1
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, esi
call fcn.00402ab0
push ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff8
push eax
mov ecx, esi
call fcn.00402af1
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, esi
call fcn.00402ab0
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, esi
call fcn.00402ab0
push ebx
mov ecx, esi
push dword [esp + 0x14]
call fcn.00402af1
mov eax, dword [esp + 0x14]
inc eax
push eax
call fcn.00403a50
pop ecx
mov dword [esp + 0x28], eax
push dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00402ab0
mov ecx, edi
push dword [esp + 0x14]
push dword [esp + 0x2c]
call fcn.00402a6d
mov ecx, esi
call fcn.004028eb
mov ecx, edi
call fcn.004028eb
cmp esi, ebx
je 0x40131f
mov eax, dword [esi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + esi]
mov eax, dword [eax + esi]
call dword [eax]
cmp edi, ebx
je 0x401332
mov eax, dword [edi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + edi]
mov eax, dword [eax + edi]
call dword [eax]
push dword [esp + 0x28]
call fcn.004038d1
pop ecx
push ebx
push dword [esp + 0x20]
call ebp
test eax, eax
jne 0x401353
push 1
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WinExec]
push dword [esp + 0x18]
call fcn.004038d1
pop ecx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push 0x401d8b
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push 0x401765
push 0x400
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push ebx
push esi
call ebp
test eax, eax
je 0x40137b
push 0x64
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x384
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x401395