Function at 0x4046af
Capabilities:
Create process on windows

Disassembly:
push 0x898
mov eax, 0x480959
call fcn.00433305
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x8a0], esi
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x6c]
mov edi, 0xc4
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4046f6
mov eax, dword [eax]
push eax
call fcn.0040daeb
pop ecx
test al, al
je 0x404719
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push ebx
add eax, edi
lea ecx, [ebp - 0x82c]
call fcn.00401d19
jmp 0x404922
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.0042ef80
mov eax, dword [esi + 0x6c]
add esp, 0xc
cmp byte [eax + 0x2fc], 1
jne 0x40486e
mov dword [ebp - 0x834], 0xf
mov dword [ebp - 0x838], ebx
mov byte [ebp - 0x848], bl
lea eax, [ebp - 0x848]
push eax
mov byte [ebp - 4], 1
call fcn.00410d53
sub esp, 0x18
lea eax, [ebp - 0x848]
mov ecx, esp
mov dword [ebp - 0x8a4], esp
push eax
call fcn.004049ec
lea esi, [ebp - 0x89c]
call fcn.00410e43
add esp, 0x1c
push eax
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 2
call fcn.00402b1a
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004020f6
lea eax, [ebp - 0x880]
push eax
lea edi, [ebp - 0x848]
call fcn.0040da0d
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, str.okKyEg_Q1SilKZeCLuWuUx5axbsK9FlLX7xNFVUS3VLLgYH_yZzze6jbP6I9_eEObj2nZzT73
lea ebx, [ebp - 0x864]
mov dword [esp], str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
call fcn.0040fa4e
lea ecx, [ebp - 0x89c]
push ecx
mov edi, eax
mov byte [ebp - 4], 4
call fcn.0040da0d
pop ecx
pop ecx
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x4047fd
mov esi, dword [esi]
mov ecx, dword [ebp - 0x8a0]
mov edx, dword [ecx + 0x6c]
lea ecx, [edx + 0x8c]
cmp dword [ecx + 0x14], edi
jb 0x404813
mov ecx, dword [ecx]
add edx, 0xc4
cmp dword [edx + 0x14], edi
jb 0x404820
mov edx, dword [edx]
cmp dword [eax + 0x14], edi
jb 0x404827
mov eax, dword [eax]
push esi
push ecx
push edx
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0042d8fd
xor ebx, ebx
add esp, 0x14
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x89c]
call fcn.00402144
push edi
push ebx
lea ecx, [ebp - 0x864]
call fcn.004020f6
push ebx
lea esi, [ebp - 0x880]
call fcn.00402144
push edi
push ebx
lea ecx, [ebp - 0x848]
jmp 0x4048e8
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
mov ecx, str.okKyEg_Q1SilKZeCLuWuUx5axbsK9FlLX7xNFVUS3VLLg2
lea ebx, [ebp - 0x864]
call fcn.0040fa4e
lea ecx, [ebp - 0x880]
push ecx
mov edi, eax
mov byte [ebp - 4], 5
call fcn.0040da0d
mov esi, dword [esi + 0x6c]
pop ecx
pop ecx
lea ecx, [esi + 0x8c]
cmp dword [ecx + 0x14], 8
jb 0x4048a8
mov ecx, dword [ecx]
lea edx, [esi + 0xc4]
cmp dword [edx + 0x14], 8
jb 0x4048b6
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
jb 0x4048be
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0042d8fd
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x880]
call fcn.00402144
push edi
push 1
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 0
call fcn.004020f6
lea eax, [ebp - 0x810]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4048fa
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x810]
lea esi, [ebp - 0x82c]
call fcn.00401f96
mov esi, dword [ebp - 0x8a0]
xor ebx, ebx
cmp dword [ebp - 0x818], 8
mov ecx, dword [ebp - 0x82c]
jae 0x404937
lea ecx, [ebp - 0x82c]
push 5
mov eax, 0x48cba4
push eax
push eax
push ecx
push 0x48cbbc
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 1
xor edi, edi
lea esi, [ebp - 0x82c]
call fcn.00402144
xor eax, eax
inc eax
call fcn.00433388
ret