Function at 0x408ff0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e0e1
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4671f0]
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, ecx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], 0
push str.CloseApplication
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 2
call fcn.00401320
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x6c]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00402040
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x5d], al
mov dword [ebp - 0x6c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test ecx, ecx
je 0x409097
cmp byte [ebp - 0x64], 0
je 0x40908c
push ecx
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x68]
call fcn.00434014
add esp, 0xc
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov esi, dword [ebp - 0x78]
mov byte [ebp - 4], 2
test esi, esi
je 0x4090b9
cmp byte [ebp - 0x74], 0
je 0x4090b9
push esi
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push esi
call fcn.00434014
add esp, 0xc
cmp byte [ebp - 0x5d], 0
je 0x409128
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4090cd
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
test eax, eax
je 0x4090e8
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
test eax, eax
je 0x409103
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 6
test eax, eax
je 0x409121
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x40965e
push str.RestartApplication
lea ecx, [ebp - 0x7c]
call fcn.00401320
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x6c]
push edx
mov byte [ebp - 4], 7
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00402040
mov ecx, dword [ebp - 0x68]
mov bl, al
mov dword [ebp - 0x6c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test ecx, ecx
je 0x409184
cmp byte [ebp - 0x64], 0
je 0x409179
push ecx
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x68]
call fcn.00434014
add esp, 0xc
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x4091a2
cmp byte [ebp - 0x74], 0
je 0x4091a2
push esi
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push esi
call fcn.00434014
add esp, 0xc
test bl, bl
je 0x40960a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00405c00
mov ebx, dword [ebp - 0x7c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x78]
xor ecx, ecx
add eax, 0xfffffffe
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp ebx, eax
je 0x40920f
sub eax, ebx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push ebx
call fcn.00404cc0
push 2
push 0xffffffffffffffff
push 0x451580
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00405420
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406080
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40926e
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x409251
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x18], 7
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403600
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x409287
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
push 2
push 0xffffffffffffffff
push 0x451580
lea ecx, [ebp - 0x2c]
call fcn.00405420
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406080
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4092e2
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4092c5
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x18], 7
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403600
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x4092fb
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
push 0x451588
lea ecx, [ebp - 0x44]
call fcn.00401650
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00404750
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x409332
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push 0
push edx
mov byte [ebp - 4], 0xd
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.004097e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00404750
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x409384
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x6c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x4093ca
cmp byte [ebp - 0x64], 0
je 0x4093bf
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x68]
call fcn.00434014
add esp, 0xc
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4093e5
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
push 0x451588
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00401650
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.00404750
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x409420
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
xor eax, eax
mov dword [ebp - 0x48], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0
push eax
call fcn.00404ba0
push 0x451bb8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.00401650
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.00404750
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x40947e
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00405020
push str.gui_html_js_inputs.js
lea ecx, [ebp - 0x5c]
call fcn.004020b0
push 1
push 0x40
push 0x20
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x134]
call fcn.00407c90
cmp dword [ebp - 0xe4], 0
mov byte [ebp - 4], 0x15
je 0x409530
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push 1
push edx
mov byte [ebp - 4], 0x16
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
push ecx
mov ecx, eax
call fcn.004097e0
mov esi, eax
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x18
push str.window.SchedulerInputs_
push eax
call fcn.00407430
add esp, 8
push esi
push eax
call fcn.00407710
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.00401e00
lea ecx, [ebp - 0x6c]
call fcn.00401c90
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x40952c
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x134]
call fcn.0040a410
lea ecx, [ebp - 0x134]
call fcn.00409cd0
lea ecx, [ebp - 0x134]
call fcn.00408250
mov esi, dword [ebp - 0x80]
jmp 0x409562
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 9
cmovae eax, dword [ebp - 0x2c]
push 0
push str.__browser___input_done
push eax
push 0
push 0
mov dword [ebp - 4], 0x12
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x409596
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x5c]
call fcn.00401e00
lea ecx, [ebp - 0x2c]
call fcn.00401e00
lea ecx, [ebp - 0x7c]
call fcn.00401e40
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x4095c9
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x4095e4
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0x1d
test eax, eax
je 0x409121
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x40965e
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x409625
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x409640
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0x20
test eax, eax
je 0x40965e
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
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.004344cb
mov esp, ebp
pop ebp
ret 0x10