Function at 0x4101b0
Capabilities:
Create process on windows
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x117c8
call fcn.0040c630
mov eax, dword [0x417084]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x198], 0
push 0x103
push 0
lea eax, [ebp - 0x197]
push eax
call fcn.004049e0
add esp, 0xc
mov byte [ebp - 0x103b8], 0
push 0x103
push 0
lea ecx, [ebp - 0x103b7]
push ecx
call fcn.004049e0
add esp, 0xc
mov byte [ebp - 0x2a0], 0
push 0x103
push 0
lea edx, [ebp - 0x29f]
push edx
call fcn.004049e0
add esp, 0xc
mov byte [ebp - 0x102a8], 0
push 0xffff
push 0
lea eax, [ebp - 0x102a7]
push eax
call fcn.004049e0
add esp, 0xc
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x113c4], 0
mov cx, word [0x415654]
mov word [ebp - 0x113c0], cx
push 0xffe
push 0
lea edx, [ebp - 0x113be]
push edx
call fcn.004049e0
add esp, 0xc
mov byte [ebp - 0x88], 0
push 0x7f
push 0
lea eax, [ebp - 0x87]
push eax
call fcn.004049e0
add esp, 0xc
mov dword [ebp - 0x103bc], 0x80
lea ecx, [ebp - 0x103bc]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x104
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._tempRdvCustom
lea ecx, [ebp - 0x198]
push ecx
call fcn.00404bb0
add esp, 8
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x102a8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040edb0
add esp, 0x14
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x410353
mov ecx, dword [ebp - 0x2a4]
push ecx
push str.INTER_GetTaskInfo_failed:__d_n
lea edx, [ebp - 0x117c8]
push edx
call fcn.00404c98
add esp, 0xc
lea eax, [ebp - 0x117c8]
push eax
call fcn.0040e430
add esp, 4
lea ecx, [ebp - 0x117c8]
push ecx
call fcn.0040e490
jmp 0x41054c
mov eax, dword [ebp - 0x90]
xor edx, edx
mov ecx, 0x22c
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x102ac], 0
mov dword [ebp - 0x8c], 0
jmp 0x41038a
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 4]
jge 0x41051b
mov ecx, dword [ebp - 0x8c]
imul ecx, ecx, 0x22c
lea edx, [ebp + ecx - 0x102a8]
mov dword [ebp - 0x113c4], edx
mov eax, dword [ebp - 0x113c4]
push eax
lea ecx, [ebp - 0x198]
push ecx
push 0x415688
lea edx, [ebp - 0x103b8]
push edx
call fcn.00404c98
add esp, 0x10
mov eax, dword [ebp - 0x113c4]
cmp dword [eax + 0x220], 0x378
jne 0x4103f4
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x102ac], ecx
jmp 0x4103fe
mov dword [ebp - 0x102ac], 0
mov edx, dword [ebp - 0x102ac]
push edx
lea eax, [ebp - 0x103b8]
push eax
mov ecx, dword [ebp - 0x113c4]
add ecx, 0x120
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040fd20
add esp, 0x10
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0
je 0x410439
jmp 0x41051b
mov eax, dword [ebp - 0x113c4]
add eax, 0x20
push eax
lea ecx, [ebp - 0x103b8]
push ecx
push str._s_s
lea edx, [ebp - 0x2a0]
push edx
call fcn.00404c98
add esp, 0x10
mov eax, dword [ebp - 0x113c4]
cmp dword [eax + 0x220], 0
je 0x410507
mov ecx, dword [ebp - 0x113c4]
cmp dword [ecx + 0x220], 0x378
je 0x410495
mov edx, dword [ebp - 0x113c4]
cmp dword [edx + 0x220], 0x3e7
jne 0x4104ee
movsx eax, byte [ebp - 0x113c0]
test eax, eax
jne 0x4104bd
lea ecx, [ebp - 0x2a0]
push ecx
push 0x1000
lea edx, [ebp - 0x113c0]
push edx
call fcn.0040542e
add esp, 0xc
jmp 0x4104e7
push 0x415698
lea eax, [ebp - 0x113c0]
push eax
call fcn.00404bb0
add esp, 8
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x113c0]
push edx
call fcn.00404bb0
add esp, 8
jmp 0x41037b
mov eax, dword [ebp - 0x113c4]
mov ecx, dword [eax + 0x220]
imul ecx, ecx, 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41037b
movsx eax, byte [ebp - 0x113c0]
test eax, eax
je 0x41054c
cmp dword [ebp + 0x10], 0
je 0x41053d
lea ecx, [ebp - 0x113c0]
push ecx
call fcn.0040de50
add esp, 4
jmp 0x41054c
lea edx, [ebp - 0x113c0]
push edx
call fcn.0040ddc0
add esp, 4
cmp dword [ebp - 0x2a4], 0
jne 0x410565
cmp dword [ebp - 4], 0
jle 0x410565
mov dword [0x418b78], 1
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402b6d
mov esp, ebp
pop ebp
ret