Function at 0x40f11f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x43d9d9
call fcn.004311b8
mov eax, 0x10b8
call fcn.004318e0
mov eax, dword [0x44e450]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x18], ebx
je 0x40f169
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40b
push eax
call edi
push 0x3ea
mov dword [ebp - 0x18], eax
push dword [0x44e450]
call edi
mov dword [0x44e454], eax
push 0x7c
xor eax, eax
pop ecx
lea edi, [ebp - 0x6cf]
mov byte [ebp - 0x6d0], bl
push 0x7c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x8c3]
mov byte [ebp - 0x8c4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [0x44e458], bl
cmp byte [esi + 0x3d], bl
stosb byte es:[edi], al
je 0x40f369
mov ecx, esi
call fcn.0040fe2e
lea eax, [ebp - 0x10c4]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [0x44dbd0]
mov ecx, 0xff
mov byte [ebp - 0xcc4], al
xor eax, eax
lea edi, [ebp - 0xcc3]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xcc4]
push eax
call fcn.0041eddd
lea eax, [ebp - 0xcc4]
push str.__runprerequisites
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x3c
lea eax, [ebp - 0xb4]
pop edi
push edi
push ebx
push eax
call fcn.00431a20
mov eax, dword [0x44e450]
add esp, 0xc
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x10c4]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xcc4]
mov dword [ebp - 0xa0], eax
mov eax, dword [0x450be8]
neg eax
sbb eax, eax
mov dword [ebp - 0xb4], edi
and al, 0xfb
mov dword [ebp - 0xb0], 0x440
add eax, 5
mov dword [ebp - 0xa8], str.runas
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x40f2b6
push 0x2710
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push ebx
push dword [0x44e450]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
jmp 0x40f96e
mov eax, dword [esi + 4]
xor edi, edi
cmp dword [eax + 0x10], ebx
jbe 0x40f2db
push 0x67f
push ebx
push ebx
push edi
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0040f002
mov eax, dword [esi + 4]
inc edi
cmp edi, dword [eax + 0x10]
jb 0x40f2c0
lea eax, [ebp - 0x8c4]
push 0x1f4
push eax
push 0x683
call fcn.00429677
mov eax, dword [esi + 4]
add esp, 0xc
add eax, 4
lea ecx, [ebp - 0x110]
push ecx
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [eax + 0x14]
call fcn.00410e3f
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.004016f0
push eax
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x6d0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.0040191f
cmp dword [0x450be8], ebx
jne 0x40fb09
mov eax, dword [esi + 4]
push 0x10
add eax, 0x4bc
push eax
lea eax, [ebp - 0x6d0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40fb09
lea eax, [ebp - 0x20]
mov edi, 0x440494
push ebx
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x44049c
mov dword [ebp - 0x58], edi
call fcn.00401581
push 1
lea ecx, [ebp - 0xe8]
pop eax
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0xd]
push eax
push str._IS_PREREQ_
call fcn.004014ff
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x78]
push eax
mov byte [ebp - 4], 2
call fcn.0040b989
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.0040191f
mov eax, 0x4484f4
mov dword [ebp - 0x50], 0x44049c
mov ecx, eax
mov dword [ebp - 0x30], edi
test ecx, ecx
jne 0x40f3dc
mov eax, 0x44dbd4
lea ecx, [ebp - 0xd]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0040ba66
push dword [0x440640]
lea eax, [ebp - 0x50]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x4c]
and eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0040dbef
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0040191f
lea eax, [ebp - 0xd]
push 1
push eax
mov eax, dword [esi + 4]
mov edi, 0x4bc
lea ecx, [ebp - 0x110]
add eax, edi
push eax
call fcn.004014ff
push dword [0x440640]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 4
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.0040dbef
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.0040191f
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [eax + 8]
je 0x40f959
cmp byte [ecx + 0x10], bl
je 0x40f93d
push 0x67a
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
lea ecx, [ebp - 0x4dc]
call fcn.0042341f
mov eax, dword [ebp - 0x1c]
push ebx
mov byte [ebp - 4], 5
lea ecx, [eax + 0x14]
call fcn.004016f0
push eax
lea ecx, [ebp - 0x4dc]
call fcn.00423926
cmp byte [ebp - 0x1d8], bl
je 0x40f602
cmp dword [0x450be8], ebx
jne 0x40f602
lea eax, [ebp - 0x10c4]
push 0x400
push eax
push 0x685
call fcn.00429677
add esp, 0xc
lea eax, [ebp - 0xd]
lea ecx, [ebp - 0x160]
push 1
push eax
lea eax, [ebp - 0x10c4]
push eax
call fcn.004014ff
lea eax, [ebp - 0x1f]
push 1
push eax
mov eax, dword [esi + 4]
add eax, edi
lea ecx, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 6
call fcn.004014ff
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 4], 7
cmp eax, ebx
mov dword [ebp - 0x28], 0x4404b4
je 0x40f537
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0x14]
call fcn.00410e3f
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], 0x4404b4
cmp eax, ebx
je 0x40f55a
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0xa0]
call fcn.0040191f
lea eax, [ebp - 0x28]
push 2
push eax
lea ecx, [ebp - 0x160]
call fcn.00410f3f
lea ecx, [ebp - 0x160]
call fcn.004016f0
mov ecx, dword [esi + 4]
push 0x24
add ecx, edi
push ecx
push eax
push dword [0x44e450]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x40f5e4
push 0x682
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
inc dword [ebp - 0x14]
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.0040191f
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 5
call fcn.0040191f
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 1
call fcn.0042383f
jmp 0x40f93d
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 6
call fcn.0040191f
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 5
call fcn.0040191f
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call fcn.0040fd6e
mov ecx, esi
call fcn.0040fe2e
cmp byte [ebp - 0x1f3], bl
je 0x40f6c1
mov ecx, dword [esi + 4]
call fcn.00420f46
test al, al
jne 0x40f6c1
mov ecx, esi
call fcn.0040e8e7
push dword [esi + 4]
lea ecx, [ebp - 0x1c4]
push 0x451
call fcn.00415916
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xcc3]
mov byte [ebp - 0xcc4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0xc0]
push ebx
push eax
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xcc4]
push eax
call fcn.004168c9
cmp eax, ebx
je 0x40f97d
mov ecx, dword [esi + 4]
call fcn.0041f0aa
cmp eax, 6
je 0x40f981
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 5
call fcn.0041596b
mov edi, 0x4bc
lea eax, [ebp - 0x1e]
push 1
push eax
push 0x4507e0
lea ecx, [ebp - 0x110]
mov byte [esi + 9], 1
call fcn.004014ff
push dword [ebp - 0x14]
lea eax, [ebp - 0x110]
mov ecx, esi
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040ff98
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xb
call fcn.0040191f
mov byte [esi + 9], bl
cmp byte [0x44e458], bl
jne 0x40fae2
cmp dword [ebp - 0x44], ebx
je 0x40fa5b
push 0x67a
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
mov eax, dword [ebp - 0x1c]
push 1
lea ecx, [eax + 0x14]
lea eax, [ebp - 0x1d]
push eax
call fcn.004016f0
push eax
lea ecx, [ebp - 0x138]
call fcn.004014ff
lea eax, [ebp - 0x188]
lea ecx, [ebp - 0x138]
push eax
mov byte [ebp - 4], 0xc
call fcn.00410e3f
lea edi, [esi + 0xc]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.0040b989
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xc
call fcn.0040191f
lea eax, [ebp - 0x8c4]
push 0x1f4
push eax
push 0x675
call fcn.00429677
add esp, 0xc
mov ecx, edi
call fcn.004016f0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x6d0]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x6d0]
push eax
push 0x3eb
push dword [0x44e450]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0040fb11
neg al
sbb al, al
inc al
mov byte [0x44e458], al
jne 0x40f9ae
cmp byte [ebp - 0x1f2], bl
je 0x40f833
mov eax, dword [ebp - 0x1e0]
dec eax
je 0x40f9aa
dec eax
je 0x40f99a
sub eax, 6
je 0x40f99a
sub eax, 8
je 0x40f9a5
jmp 0x40f840
test byte [ebp - 0x1e0], 0x18
jne 0x40f99a
mov eax, dword [ebp - 0x1c]
push 1
lea ecx, [eax + 0x14]
call fcn.004016f0
push eax
lea ecx, [ebp - 0x4dc]
call fcn.00423926
lea ecx, [ebp - 0x4dc]
call fcn.00424051
test al, al
je 0x40f8f7
cmp dword [ebp - 0x1dc], 1
jne 0x40f8ea
push 0x67f
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
lea eax, [ebp - 0x8c4]
push 0x1f4
push eax
push 0x678
call fcn.00429677
add esp, 0xc
lea ecx, [esi + 0xc]
call fcn.004016f0
push eax
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x6d0]
push eax
call edi
add esp, 0xc
cmp dword [0x450be8], ebx
jne 0x40f90b
mov eax, dword [esi + 4]
push 0x24
add eax, 0x4bc
push eax
lea eax, [ebp - 0x6d0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x40f9ae
jmp 0x40f90b
cmp dword [ebp - 0x1dc], 2
je 0x40f9dd
push 0x679
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xb
call fcn.0040191f
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040191f
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 1
call fcn.0042383f
mov edi, 0x4bc
lea ecx, [ebp - 0x1c]
call fcn.00411599
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
add eax, 4
mov eax, dword [eax + 4]
cmp ecx, eax
jne 0x40f477
movzx esi, byte [0x44e458]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040191f
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 2
jmp 0x40f988
call fcn.0042a307
push 7
pop esi
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 5
call fcn.0041596b
jmp 0x40f9cc
mov ecx, esi
call fcn.00410b78
test al, al
je 0x40f9aa
call fcn.0042a307
push 7
jmp 0x40f9b0
push 2
pop esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xb
call fcn.0040191f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040191f
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 1
call fcn.0042383f
jmp 0x40f960
push 0x67f
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
lea eax, [ebp - 0x8c4]
push 0x1f4
push eax
push 0x683
call fcn.00429677
add esp, 0xc
lea ecx, [esi + 0xc]
call fcn.004016f0
push eax
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x6d0]
push eax
call edi
add esp, 0xc
cmp dword [0x450be8], ebx
jne 0x40fa47
mov eax, dword [esi + 4]
push 0x10
add eax, 0x4bc
push eax
lea eax, [ebp - 0x6d0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0xb
call fcn.0040191f
jmp 0x40fae2
push 0x67f
push ebx
push ebx
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040f002
lea eax, [ebp - 0x8c4]
push 0x1f4
push eax
push 0x677
call fcn.00429677
add esp, 0xc
lea eax, [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 0x14]
call fcn.00410e3f
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004016f0
push eax
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x6d0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xb
call fcn.0040191f
mov eax, dword [esi + 4]
push 0x30
add eax, edi
push eax
lea eax, [ebp - 0x6d0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040191f
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 1
call fcn.0042383f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.0040191f
push 2
pop eax
jmp 0x40f96e