Function at 0x411830
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x435636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x14], 1
cmp eax, edi
jne 0x4118ab
mov eax, dword [ebp + 0x78]
mov ecx, 0x4375d0
cmp eax, edi
je 0x411873
mov ecx, eax
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x41187f
mov eax, 0x4375d0
push ecx
push 0x44277c
push eax
lea eax, [esp + 0x80]
push 0x442764
push eax
call fcn.00419aee
mov ecx, dword [ebp + 0xd0]
add esp, 0x14
lea eax, [esp + 0x74]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov eax, dword [ebp + 0x8c]
cmp eax, 0xa
jbe 0x41199f
mov ebx, dword [ebp + 0xc4]
mov esi, dword [ebx]
cmp esi, ebx
je 0x4118f8
mov eax, dword [ebp + 0x88]
mov edx, dword [ebp + 0x8c]
cmp eax, edi
lea ecx, [esi + 8]
jne 0x4118de
mov eax, 0x4375d0
push edx
mov edx, dword [ecx + 8]
push eax
push edx
push edi
call fcn.00402db0
cmp eax, edi
je 0x4118f4
mov esi, dword [esi]
cmp esi, ebx
jne 0x4118c6
cmp esi, ebx
jne 0x411949
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x28], 0x3c
cmp eax, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x4375d0
je 0x411922
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], edi
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x411950
mov edx, 0x44275c
jmp 0x411955
mov edx, 0x442754
mov eax, dword [ebp + 0x78]
mov ecx, 0x4375d0
cmp eax, edi
je 0x411963
mov ecx, eax
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x41196f
mov eax, 0x4375d0
push edx
push ecx
push eax
lea ecx, [esp + 0x80]
push 0x44273c
push ecx
call fcn.00419aee
mov ecx, dword [ebp + 0xd0]
add esp, 0x14
lea eax, [esp + 0x74]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
test eax, eax
je 0x411b7e
cmp dword [ebp + 0x5c], edi
je 0x411b7a
mov cl, byte [esp + 0x13]
push edi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.00401d50
mov edi, 0x4467b0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00402220
test al, al
je 0x4119fe
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4467b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00402200
mov edi, 0x442738
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x54]
push ecx
push ebx
push 0x442738
mov ecx, esi
mov dword [esp + 0x488], ebx
call fcn.00403da0
mov edi, eax
cmp edi, 0xffffffff
jle 0x411ad7
mov eax, dword [ebp + 0x5c]
lea ecx, [esp + 0x64]
push eax
lea eax, [edi + 1]
push eax
push ecx
mov ecx, esi
call fcn.00405380
mov edx, dword [0x4375d4]
lea ecx, [esp + 0x18]
push edx
push ebx
push eax
mov byte [esp + 0x488], 1
call fcn.00401b50
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x480], bl
call fcn.00401d50
mov eax, dword [esi + 8]
cmp edi, eax
ja 0x411a89
mov eax, dword [0x4375d4]
mov ecx, esi
push eax
push edi
call fcn.00409560
jmp 0x411ad7
mov ecx, dword [0x4375d4]
sub edi, eax
sub ecx, eax
cmp ecx, edi
ja 0x411a9c
call fcn.00424090
cmp edi, ebx
jbe 0x411ad7
mov ebx, dword [esi + 8]
push 0
add ebx, edi
mov ecx, esi
push ebx
call fcn.00402220
test al, al
je 0x411ad5
mov edx, dword [esi + 8]
mov ecx, edi
mov edi, dword [esi + 4]
xor eax, eax
add edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
call fcn.00402200
xor ebx, ebx
mov esi, dword [esi + 4]
mov dword [esp + 0x28], 0x3c
cmp esi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x4375d0
je 0x411afe
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], 0x4375d0
cmp eax, ebx
je 0x411b12
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x40], ebx
push eax
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ebp, dword [ebp + 0xa8]
mov dword [esp + 0x14], eax
cmp ebp, ebx
jne 0x411b40
mov ebp, 0x4375d0
push ebp
push 0x4467b0
push str.rerun
push 0x44242c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x411b7a
mov al, byte [ecx - 1]
test al, al
je 0x411b70
cmp al, 0xff
je 0x411b70
dec al
mov byte [ecx - 1], al
jmp 0x411b7a
dec ecx
push ecx
call fcn.0042912a
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x470
ret