Function at 0x409683
Capabilities:
Accept command line arguments
Enumerate gui resources

Disassembly:
push 0x5e4
mov eax, 0x534a28
call fcn.00511380
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x3c4], ebx
cmp byte [esi + 0x90], bl
jne 0x4097e0
call fcn.00425f10
test al, al
jne 0x4097e0
cmp byte [esi + 0x96], bl
je 0x4097e0
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
mov byte [ebp - 0x3ad], 1
call fcn.004fbb00
add esp, 0xc
push 0x105
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x3ac], ebx
cmp word [ebp - 0x220], bx
je 0x4097ed
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403f42
lea ecx, [ebp - 0x23c]
push str.___fromadminmode
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00405ce0
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.004045af
cmp dword [ebp - 0x228], 8
mov eax, dword [ebp - 0x23c]
jae 0x40975d
lea eax, [ebp - 0x23c]
push ebx
push eax
lea edx, [ebp - 0x3ac]
lea ecx, [ebp - 0x220]
call fcn.0042b820
pop ecx
pop ecx
test al, al
jne 0x4097cc
push str.cmd_deelevate_fails
call fcn.00410d50
cmp dword [ebp - 0x228], 8
mov eax, dword [ebp - 0x23c]
pop ecx
jae 0x409796
lea eax, [ebp - 0x23c]
push 1
push eax
lea edx, [ebp - 0x3ac]
lea ecx, [ebp - 0x220]
call fcn.0042b820
pop ecx
pop ecx
test al, al
jne 0x4097cc
push str.cmd_deelevate_w_logon_fails
call fcn.00410d50
pop ecx
mov edi, esi
mov dword [ebp - 0x3c4], 0x7536
call fcn.004095d9
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x23c]
call fcn.004045af
jmp 0x4097ed
mov edi, esi
mov byte [ebp - 0x3ad], bl
call fcn.004095d9
cmp byte [esi + 0x90], bl
jne 0x4097fc
mov ecx, esi
call fcn.00403823
cmp byte [ebp - 0x3ad], bl
jne 0x40980b
mov ecx, esi
call fcn.00403aad
cmp byte [esi + 0x90], bl
jne 0x409824
call fcn.00425f10
test al, al
jne 0x409824
cmp byte [esi + 0x96], bl
jne 0x409831
cmp byte [esi + 0x93], bl
je 0x409831
call fcn.004036a9
cmp byte [esi + 0x90], bl
jne 0x409e2f
cmp byte [esi + 0x94], bl
je 0x40984a
call fcn.00403766
cmp byte [esi + 0x90], bl
jne 0x409e2f
cmp byte [esi + 0x95], bl
jne 0x409e2f
lea edi, [esi + 0x1c]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x3ac], edi
jb 0x409875
mov eax, dword [edi]
jmp 0x409877
mov eax, edi
call fcn.00424f00
test al, al
jne 0x409932
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x26a
lea eax, [ebp - 0x5f0]
push eax
mov ebx, str.install.cpp
call fcn.0041a6b0
push str.failed_to_find_browser:
push ecx
mov esi, eax
mov dword [ebp - 4], 3
call fcn.00405fba
pop ecx
mov esi, eax
call fcn.00406075
mov ecx, edi
mov esi, eax
call fcn.00406057
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f0]
call fcn.0041a760
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7c
lea eax, [ebp - 0x480]
push eax
mov ebx, str.main.cpp
call fcn.0041a6b0
push str.failed_to_start_browser
push ecx
mov esi, eax
mov dword [ebp - 4], 0x15
call fcn.00405fba
pop ecx
mov esi, eax
call fcn.00406075
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.0041a760
mov eax, dword [ebp - 0x3c4]
test eax, eax
jne 0x409e31
mov eax, 0x7537
jmp 0x409e31
push 7
pop edi
xor eax, eax
push 0x53ff0c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x22c], ebx
mov word [ebp - 0x23c], ax
call fcn.00404588
mov dword [ebp - 4], 4
cmp dword [esi + 0x80], ebx
je 0x4099e1
or dword [ebp - 0x3c8], 0xffffffff
cmp dword [esi + 0x84], 0x10
jb 0x40997e
mov edx, dword [esi + 0x70]
jmp 0x409981
lea edx, [esi + 0x70]
lea eax, [ebp - 0x3c8]
call fcn.0040e620
push eax
lea ecx, [ebp - 0x38c]
call fcn.00403f42
lea ecx, [ebp - 0x300]
push 0x540e70
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00405ce0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.0040446a
push ebx
push 1
lea ecx, [ebp - 0x300]
call fcn.004045af
push ebx
push 1
lea ecx, [ebp - 0x38c]
mov byte [ebp - 4], 4
call fcn.004045af
xor eax, eax
push str.SoftwareNetBoxKometaInstaller_
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x264], ebx
mov word [ebp - 0x274], ax
call fcn.00404588
lea eax, [ebp - 0x258]
push eax
lea ebx, [ebp - 0x274]
mov byte [ebp - 4], 7
call fcn.00410470
pop ecx
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.004045af
lea eax, [ebp - 0x2ac]
push str.http:__kometa_browser.ru_welcome__guid
push eax
lea ebx, [ebp - 0x23c]
call fcn.00405c6f
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x2e4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00406035
lea ecx, [ebp - 0x290]
push 0x540e74
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00405ce0
lea ecx, [ebp - 0x338]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00406035
add esp, 0x20
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.0040446a
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x338]
call fcn.004045af
push ebx
push edi
lea ecx, [ebp - 0x290]
call fcn.004045af
push ebx
push edi
lea ecx, [ebp - 0x2e4]
call fcn.004045af
push ebx
push edi
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 9
call fcn.004045af
call fcn.00425f80
test al, al
je 0x409b12
lea eax, [ebp - 0x2c8]
push str.___force_first_run
push eax
lea ebx, [ebp - 0x23c]
call fcn.00405c6f
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.0040446a
push 0
push edi
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 9
call fcn.004045af
lea eax, [ebp - 0x370]
push str.___start_maximized
push eax
lea ebx, [ebp - 0x23c]
call fcn.00405c6f
pop ecx
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xf
call fcn.0040446a
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 9
call fcn.004045af
cmp byte [esi + 0x96], bl
je 0x409cb4
call fcn.00425f10
test al, al
jne 0x409cb4
mov edi, dword [ebp - 0x3ac]
lea eax, [ebp - 0x31c]
push 0x540f28
push eax
call fcn.004060c1
lea ecx, [ebp - 0x354]
push 0x540f20
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00405ce0
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x3a8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00406035
add esp, 0x18
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x12
call fcn.0040446a
push ebx
push 1
lea ecx, [ebp - 0x3a8]
call fcn.004045af
push ebx
push 1
lea ecx, [ebp - 0x354]
call fcn.004045af
push ebx
push 1
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 9
call fcn.004045af
cmp dword [ebp - 0x228], 8
mov ecx, dword [ebp - 0x23c]
jae 0x409c01
lea ecx, [ebp - 0x23c]
mov eax, dword [ebp - 0x3ac]
cmp dword [eax + 0x14], 8
jb 0x409c0f
mov eax, dword [eax]
push ecx
mov edi, eax
call fcn.0042b760
pop ecx
test al, al
jne 0x409d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x287
lea eax, [ebp - 0x538]
push eax
mov ebx, str.install.cpp
call fcn.0041a6b0
push str._cmdline
push ecx
push 0x540f2c
push ecx
mov esi, eax
mov byte [ebp - 4], 0x13
call fcn.00405fba
pop ecx
mov esi, eax
call fcn.00406075
mov ecx, dword [ebp - 0x3ac]
mov esi, eax
call fcn.00406057
pop ecx
mov esi, eax
call fcn.00406075
lea ecx, [ebp - 0x23c]
mov esi, eax
call fcn.00406057
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 9
call fcn.0041a760
push 0
push 1
lea ecx, [ebp - 0x258]
call fcn.004045af
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x23c]
call fcn.004045af
jmp 0x4098d5
cmp dword [ebp - 0x228], 8
mov ecx, dword [ebp - 0x23c]
jae 0x409cc9
lea ecx, [ebp - 0x23c]
mov eax, dword [ebp - 0x3ac]
cmp dword [eax + 0x14], 8
jb 0x409cd7
mov eax, dword [eax]
push ecx
mov edi, eax
call fcn.00426010
pop ecx
test al, al
jne 0x409d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x28f
lea eax, [ebp - 0x480]
push eax
mov ebx, str.install.cpp
call fcn.0041a6b0
push str._cmdline
push ecx
push str.Failed_to_launch
push ecx
mov esi, eax
mov byte [ebp - 4], 0x14
call fcn.00405fba
pop ecx
mov esi, eax
call fcn.00406075
mov ecx, dword [ebp - 0x3ac]
mov esi, eax
call fcn.00406057
pop ecx
mov esi, eax
call fcn.00406075
lea ecx, [ebp - 0x23c]
mov esi, eax
call fcn.00406057
lea ecx, [ebp - 0x480]
jmp 0x409c84
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x3ac], ebx
lea eax, [ebp - 0x3c0]
push eax
push 0x403930
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x3bc], ebx
mov dword [ebp - 0x3b8], ebx
mov dword [ebp - 0x3b4], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x3c0], ebx
jne 0x409d93
cmp dword [ebp - 0x3bc], ebx
je 0x409dc5
cmp dword [ebp - 0x3b8], ebx
je 0x409da4
push ebx
push dword [ebp - 0x3b8]
call edi
cmp dword [ebp - 0x3b4], ebx
je 0x409db5
push ebx
push dword [ebp - 0x3b4]
call edi
cmp dword [ebp - 0x3c0], ebx
je 0x409dc5
cmp dword [ebp - 0x3bc], ebx
je 0x409dee
cmp byte [esi + 0x97], bl
jne 0x409dd8
push 0x14a
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x3ac]
cmp dword [ebp - 0x3ac], 0x87
jb 0x409d59
push 0x540e28
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x409e13
push 1
push str.cmd_assist_show
xor eax, eax
mov ecx, str.42.3
call fcn.00410d00
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x258]
call fcn.004045af
push ebx
push 1
lea ecx, [ebp - 0x23c]
call fcn.004045af
xor eax, eax
call fcn.00511403
ret