Function at 0x411660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x449140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0x442aec
mov dword [ebp - 0x18], 0xc
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, ebx
mov byte [ebp - 0x191], 0
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
jmp 0x4116c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4116c0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x1c
jb 0x4116f7
push 0x1c
mov edx, str.ffs_setup_convert_jpg_to_bmp
mov ecx, ebx
call fcn.004081b0
add esp, 4
test al, al
je 0x4116f7
mov ecx, ebx
call fcn.004101d0
xor eax, eax
jmp 0x411bfc
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411700
sub ecx, edx
sar ecx, 1
cmp ecx, 0x1c
jb 0x411735
push 0x1c
mov edx, str.ffs_setup_show_folder_picker
mov ecx, ebx
call fcn.004081b0
add esp, 4
test al, al
je 0x411735
mov ecx, ebx
call fcn.00410850
jmp 0x411bfc
lock inc dword [0x449bd0]
mov esi, 0x449bdc
xor eax, eax
mov dword [ebp - 0x180], esi
mov word [0x449bdc], ax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 2
call fcn.0040ea80
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 3
call fcn.00402600
cmp eax, 2
jne 0x4117e2
lea edx, [ebp - 0x174]
lea ecx, [ebp - 0x188]
call fcn.0040fe30
mov ecx, dword [ebp - 0x174]
mov edx, eax
or edi, 0xffffffff
mov dword [ebp - 0x17c], edx
test ecx, ecx
je 0x4117b3
add ecx, 0xfffffff4
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4117b3
push ecx
call fcn.00417cf7
mov edx, dword [ebp - 0x17c]
add esp, 4
mov eax, dword [edx]
mov dword [edx], 0
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x4117e5
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4117e5
push ecx
call fcn.00417cf7
add esp, 4
jmp 0x4117e5
or edi, 0xffffffff
lea edx, [ebp - 0x174]
lea ecx, [ebp - 0x18c]
call fcn.0040a4e0
cmp byte [ebp - 0x188], 0
je 0x411851
mov esi, dword [ebp - 0x18c]
lock inc dword [esi - 0xc]
mov dword [ebp - 0x180], esi
mov eax, edi
lock xadd dword [0x449bd0], eax
dec eax
jne 0x411829
push 0x449bd0
call fcn.00417cf7
add esp, 4
cmp byte [ebp - 0x188], 0
je 0x411851
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x411851
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x411851
push ecx
call fcn.00417cf7
add esp, 4
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x411870
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x411870
push ecx
call fcn.00417cf7
add esp, 4
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 1
push eax
call fcn.00412250
push eax
lea edx, [ebp - 0x180]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x17c]
call fcn.0040a6c0
add esp, 4
mov edx, eax
mov dword [ebp - 0x188], edx
test esi, esi
je 0x4118c3
add esi, 0xfffffff4
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
jne 0x4118c3
push esi
call fcn.00417cf7
mov edx, dword [ebp - 0x188]
add esp, 4
mov eax, dword [edx]
mov dword [edx], 0
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x17c]
test eax, eax
je 0x4118f0
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4118f0
push ecx
call fcn.00417cf7
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x411913
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x411913
push ecx
call fcn.00417cf7
add esp, 4
lea edx, [ebp - 0x180]
lea ecx, [ebp - 0x178]
call fcn.0040bc80
mov esi, eax
mov byte [ebp - 4], 7
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
mov ecx, esi
mov dword [ebp - 0x188], eax
inc eax
push eax
mov dword [ebp - 0x17c], eax
call fcn.00407ee0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x188]
mov dword [eax + ecx*2], 0x20
mov eax, dword [esi]
mov ecx, dword [ebp - 0x17c]
mov dword [eax - 8], ecx
mov eax, dword [esi]
mov dword [esi], 0
mov dword [ebp - 0x174], eax
push ebx
lea edx, [ebp - 0x174]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x184]
call fcn.00409f10
add esp, 4
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x4119a4
lea ecx, [eax - 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x4119a4
push ecx
call fcn.00417cf7
add esp, 4
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x4119c1
add eax, 0xfffffff4
lock xadd dword [eax], edi
dec edi
jne 0x4119c1
push eax
call fcn.00417cf7
add esp, 4
push 0x44
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.004197c0
add esp, 0xc
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov esi, eax
test esi, esi
je 0x411c1a
xor eax, eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x184]
push dword [eax - 8]
call fcn.00407ee0
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1f4]
push eax
push 0
push 0
push esi
push 1
push 0
push 0
push dword [ebp - 0x184]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x411c62
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x190], eax
call fcn.00414e42
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x20], eax
call fcn.00414e42
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0x12
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x17c], eax
cmp eax, 0x80
ja 0x411b3b
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
je 0x411d6b
sub eax, 0
je 0x411b54
sub eax, 1
jne 0x411d6b
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
je 0x411b16
cmp dword [ebp - 0x5c], 0x12
je 0x411b54
lea eax, [ebp - 0x60]
push eax
call edi
lea eax, [ebp - 0x60]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
jne 0x411af2
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1a4]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x17c], eax
cmp eax, 0x80
jbe 0x411acb
cmp eax, 0x102
je 0x411d6b
cmp eax, 0xffffffff
je 0x411caa
jmp 0x411d6b
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], 0
push eax
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x411cf2
mov esi, dword [ebp - 0x174]
cmp esi, 0x103
je 0x411d3a
call fcn.00414e42
cmp eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x178]
setg dl
call fcn.00412cf0
call fcn.00414e42
cmp eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x190]
push dword [ebp - 0x178]
setg dl
call fcn.004070b0
add esp, 8
lea ecx, [ebp - 0x184]
call fcn.00406090
lea ecx, [ebp - 0x180]
call fcn.00406090
mov eax, esi
jmp 0x411bfc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00417a68
mov esp, ebp
pop ebp
ret 0x10
call sub.KERNEL32.dll_GetLastError
push 0x442ecc
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00405e30
push esi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x78]
call fcn.0040e0b0
add esp, 4
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xe
call fcn.00401b80
push 0x447aac
lea eax, [ebp - 0x90]
push eax
call fcn.004191cc
call sub.KERNEL32.dll_GetLastError
push 0x43e56c
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00405e30
push esi
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x78]
call fcn.0040e0b0
add esp, 4
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x10
call fcn.00401b80
push 0x447aac
lea eax, [ebp - 0xa8]
push eax
call fcn.004191cc
call sub.KERNEL32.dll_GetLastError
push 0x442ee0
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.00405e30
push esi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x78]
call fcn.0040e0b0
add esp, 4
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x14
call fcn.00401b80
push 0x447aac
lea eax, [ebp - 0xf0]
push eax
call fcn.004191cc
call sub.KERNEL32.dll_GetLastError
push 0x43e598
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.00405e30
push esi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
call fcn.0040e0b0
add esp, 4
push eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1b
call fcn.00401b80
push 0x447aac
lea eax, [ebp - 0xc0]
push eax
call fcn.004191cc
push 0x43e5b0
lea ecx, [ebp - 0x44]
call fcn.00405a30
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0xd8]
call fcn.00401b80
push 0x447aac
lea eax, [ebp - 0xd8]
push eax
call fcn.004191cc
push 0x43ddb0
lea ecx, [ebp - 0x44]
call fcn.00405a30
lea edx, [ebp - 0x17c]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x170]
call fcn.0040c130
push eax
mov edx, 0x43e57c
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x120]
call fcn.00406fb0
add esp, 4
mov esi, eax
push 0x442ee0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x17
call fcn.00405e30
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x18
push eax
push esi
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x5c]
call fcn.0040e1d0
add esp, 8
push eax
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x19
call fcn.00401b80
push 0x447aac
lea eax, [ebp - 0x108]
push eax
call fcn.004191cc
mov ecx, dword [ebp - 0x1a8]
call fcn.00401ba0
lea edx, [ebp - 0x184]
mov esi, eax
lea ecx, [ebp - 0x5c]
call fcn.00412cb0
push eax
mov edx, str.Cannot_start
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x120]
call fcn.00406fb0
add esp, 4
push esi
push eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x1f
call fcn.00401c30
push 0x447c58
lea eax, [ebp - 0x13c]
push eax
call fcn.004191cc
mov ecx, dword [ebp - 0x1ac]
call fcn.00401d80
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x18
mov ecx, esp
push str.Cannot_start__x.
call fcn.00405a30
mov edx, 0x43dd20
lea ecx, [ebp - 0x5c]
call fcn.00412b70
add esp, 0x1c
push esi
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 5
call fcn.00401c30
push 0x447c58
lea eax, [ebp - 0x158]
push eax
call fcn.004191cc
int3