Function at 0x401b82
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x164]
sub esp, 0x1e4
mov eax, dword [0x40b020]
xor eax, ebp
mov dword [ebp + 0x160], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x80], ebx
call fcn.00401f40
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00401f40
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00401f40
mov eax, dword [esi + 0x1438]
add eax, dword [esi + 0x1430]
mov ecx, dword [esi + 0x143c]
adc ecx, dword [esi + 0x1434]
mov dword [ebp - 0x80], edi
push ecx
push eax
lea eax, [ebp + 0x3c]
push str.__IRAOFF:_u
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x54], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x34
lea eax, [esi + 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x401c3c
push 0x408450
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [ebp + 0x3c]
push eax
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [esi + 0x1120]
push eax
lea eax, [ebp + 0x3c]
push str.___IRAFN:_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x408450
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [ebp + 0x3c]
push eax
lea eax, [esi + 0x808]
push eax
call edi
movzx eax, byte [esi + 0x1114]
push eax
lea eax, [ebp + 0x3c]
push str.___IRCT:_d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x408450
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [ebp + 0x3c]
push eax
lea eax, [esi + 0x808]
push eax
call edi
push dword [esi + 0x111c]
lea eax, [ebp + 0x3c]
push dword [esi + 0x1118]
push str.___IRTSS:_I64u_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x408450
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [ebp + 0x3c]
push eax
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [ebp + 0x34]
push eax
push 8
mov dword [ebp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401d95
push 0x4000
mov dword [ebp + 0x2c], ebx
call fcn.00402cac
cmp eax, ebx
pop ecx
mov dword [ebp + 0x30], eax
je 0x401d95
lea ecx, [ebp + 0x2c]
push ecx
push 0x4000
push eax
push 1
push dword [ebp + 0x34]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x401d95
lea eax, [ebp + 0x38]
push eax
mov eax, dword [ebp + 0x30]
push dword [eax]
mov ecx, esi
mov dword [ebp + 0x38], ebx
call fcn.00401866
test eax, eax
je 0x401d8c
cmp dword [ebp + 0x38], ebx
je 0x401d8c
push dword [ebp + 0x38]
lea eax, [ebp + 0x3c]
push str.___IRSID:_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x408450
lea eax, [esi + 0x808]
push eax
call edi
lea eax, [ebp + 0x3c]
push eax
lea eax, [esi + 0x808]
push eax
call edi
push dword [ebp + 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x30]
call fcn.00402bcf
pop ecx
cmp dword [0x40c024], ebx
je 0x401db3
push ebx
lea eax, [esi + 0x1224]
push eax
lea eax, [esi + 0x808]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00401f40
lea eax, [esi + 0x1224]
mov dword [ebp], eax
mov dword [ebp - 0x10], edi
lea eax, [esi + 0x808]
mov dword [ebp + 4], eax
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x10]
inc edi
push eax
mov dword [ebp - 0xc], 0x40
mov dword [ebp - 8], ebx
mov dword [ebp - 4], str.open
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x401e1f
push str.Could_not_start_the_setup
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp + 0x38], 0x37
jmp 0x401eaf
cmp dword [esi + 0x110c], ebx
je 0x401e75
jmp 0x401e5e
cmp dword [ebp - 0x28], 0xf
je 0x401e38
cmp dword [ebp - 0x28], 0x200
jne 0x401e4c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jg 0x401e29
push 0xff
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, edi
je 0x401e4c
lea eax, [esi + 0x1444]
push eax
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x1444]
cmp eax, 0x103
mov dword [ebp + 0x38], eax
mov dword [esi + 0x1110], edi
jne 0x401ea6
cmp dword [esi + 0x110c], ebx
jne 0x401ea6
mov dword [ebp + 0x38], ebx
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x160]
mov eax, dword [ebp + 0x38]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401fba
add ebp, 0x164
leave
ret