Function at 0x4060f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x474301
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebp
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
lea ecx, [esp + 0x20]
call fcn.00468ff0
push 0x4827e4
xor ebp, ebp
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0xf0], ebp
call fcn.00469230
mov ecx, eax
call fcn.00469230
lea edi, [esp + 0x8c]
call fcn.0041def0
lea esi, [esp + 0x7c]
mov byte [esp + 0xe8], 1
call fcn.00402860
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x100], 2
call fcn.0046e600
mov ecx, esi
call fcn.0046d3c0
mov ecx, edi
mov byte [esp + 0xe8], 5
call fcn.0046d3c0
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x30]
call fcn.00468b10
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.0046e600
mov byte [esp + 0xe8], 6
mov ecx, dword [0x4ad82c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6a
push ecx
call edi
mov esi, eax
cmp esi, ebp
je 0x4061ff
mov edx, dword [0x4ad82c]
push ebp
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp eax, ebp
je 0x4061f7
push 3
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push ebp
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x38
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.004498f0
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x44], 0x40
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.0046d380
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x4827f0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 5
mov dword [esp + 0x64], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [esp + 0x78]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x4ad82c]
push 0x6a
push ecx
call edi
mov esi, eax
cmp esi, ebp
je 0x4062ab
mov edx, dword [0x4ad82c]
push ebp
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp eax, ebp
je 0x4062a2
push ebp
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x4829b8
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4062d8
cmp dx, bp
je 0x4062d4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4062d8
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4062b2
xor eax, eax
jmp 0x4062dd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x406389
test byte [0x4b17fc], 1
jne 0x406317
or dword [0x4b17fc], 1
push ebp
mov ecx, 0x4b17d4
call fcn.00469b10
mov ecx, 0x4b17ec
call fcn.0046da70
push 0x479d30
call fcn.00446932
add esp, 4
push str.version
push ebx
push 0x4b17d4
call fcn.0041ae70
push 0x3e
mov esi, eax
lea eax, [esp + 0xa2]
push ebp
push eax
mov word [esp + 0xa8], bp
call fcn.004498f0
lea ecx, [esp + 0xa8]
add esp, 0xc
push ecx
call fcn.00416d70
add esp, 4
test eax, eax
jle 0x40636a
lea edx, [esp + 0x9c]
mov ecx, esi
call fcn.0041eaf0
test eax, eax
je 0x4063cb
lea ecx, [esp + 0x10]
call fcn.0046d3c0
lea ecx, [esp + 0x30]
call fcn.0046d3c0
lea ecx, [esp + 0x20]
call fcn.00468c30
xor al, al
jmp 0x4063f2
test byte [0x4b17fc], 1
jne 0x4063bb
or dword [0x4b17fc], 1
push ebp
mov ecx, 0x4b17d4
call fcn.00469b10
mov ecx, 0x4b17ec
call fcn.0046da70
push 0x479d30
call fcn.00446932
add esp, 4
mov ecx, ebx
mov eax, 0x4b17d4
call fcn.0041a9e0
test al, al
jmp 0x406368
push ebp
lea ecx, [esp + 0x14]
call fcn.0046f180
lea ecx, [esp + 0x10]
call fcn.0046d3c0
lea ecx, [esp + 0x30]
call fcn.0046d3c0
lea ecx, [esp + 0x20]
call fcn.00468c30
mov al, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.0044610a
add esp, 0xdc
ret