Function at 0x41bc00
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x445864
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x4531c4]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b8]
mov esi, dword [esp + 0x1c0]
xor ebp, ebp
mov ebx, ecx
mov dword [esp + 0x28], ebx
cmp eax, ebp
jne 0x41c1d3
cmp dword [esp + 0x1bc], ebp
jne 0x41c737
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
lea eax, [esi + 0x1c]
mov ebx, 7
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push ebp
mov dword [esp + 0x38], eax
mov word [ecx + 4], dx
call fcn.00401a20
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x1e8], ebp
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
mov dword [esp + 0x58], esp
mov word [esi + 4], ax
push ebp
mov eax, 0x448c30
call fcn.00401bb0
sub esp, 0x1c
mov byte [esp + 0x204], 1
mov esi, esp
mov dword [esp + 0x70], esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push 0xe
mov eax, str.currentversion
mov word [esi + 4], cx
call fcn.00401bb0
sub esp, 0x1c
mov byte [esp + 0x220], 2
mov esi, esp
mov dword [esp + 0x88], esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push ebx
mov eax, str.version
mov word [esi + 4], dx
call fcn.00401bb0
lea edi, [esp + 0x118]
mov dword [esp + 0x220], 0xffffffff
call fcn.00422dd0
add esp, 0x54
mov dword [esp + 0x1cc], 3
mov ecx, esp
mov dword [esp + 0x34], esp
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push 0xffffffffffffffff
mov word [ecx + 4], ax
mov eax, dword [esp + 0x34]
push ebp
call fcn.00401a20
sub esp, 0x1c
mov byte [esp + 0x1e8], 4
mov esi, esp
mov dword [esp + 0x54], esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push ebp
mov eax, 0x448c30
mov word [esi + 4], cx
call fcn.00401bb0
sub esp, 0x1c
mov byte [esp + 0x204], 5
mov dword [esp + 0x74], esp
mov esi, esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push 0xc
mov eax, str.upgraderange
mov word [esi + 4], dx
call fcn.00401bb0
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x220], 6
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
mov dword [esp + 0x94], esp
mov word [esi + 4], ax
push ebx
mov eax, str.version
call fcn.00401bb0
lea edi, [esp + 0x150]
mov byte [esp + 0x220], 3
call fcn.00422dd0
add esp, 0x54
mov byte [esp + 0x1cc], bl
mov edi, esp
mov dword [esp + 0x34], esp
call fcn.00422c20
sub esp, 0x1c
mov byte [esp + 0x1e8], 8
mov esi, esp
mov dword [esp + 0x54], esp
xor ecx, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push ebp
mov eax, 0x448c30
mov word [esi + 4], cx
call fcn.00401bb0
sub esp, 0x1c
mov byte [esp + 0x204], 9
mov esi, esp
mov dword [esp + 0x74], esp
xor edx, edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push 0xe
mov eax, str.lastUpgradeVer
mov word [esi + 4], dx
call fcn.00401bb0
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x220], 0xa
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
mov dword [esp + 0x94], esp
mov word [esi + 4], ax
push ebx
mov eax, str.version
call fcn.00401bb0
lea edi, [esp + 0x134]
mov byte [esp + 0x220], bl
call fcn.00422dd0
add esp, 0x70
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
add ecx, 0x2314
push ebp
lea eax, [esp + 0xb0]
mov byte [esp + 0x1b8], 0xb
call fcn.00401a20
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x90]
push edx
mov edi, 0x44a394
call fcn.00422570
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1b8], 0xc
call fcn.00401a20
mov esi, 8
mov byte [esp + 0x1b0], 0xb
cmp dword [esp + 0xa4], esi
jb 0x41beff
mov eax, dword [esp + 0x90]
push eax
call fcn.0042a3f0
add esp, 4
mov eax, dword [esp + 0xac]
xor ecx, ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], cx
cmp dword [esp + 0xc0], esi
jae 0x41bf2e
lea eax, [esp + 0xac]
push eax
call fcn.004232b0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x41bfc7
cmp dword [esp + 0xdc], esi
jb 0x41bf5c
mov edx, dword [esp + 0xc8]
push edx
call fcn.0042a3f0
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], ax
cmp dword [esp + 0xf8], esi
jb 0x41bf8d
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.0042a3f0
add esp, 4
xor edx, edx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], dx
cmp dword [esp + 0xc0], esi
jb 0x41c737
mov eax, dword [esp + 0xac]
push eax
call fcn.0042a3f0
add esp, 4
jmp 0x41c737
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x74]
push edx
mov edi, 0x44a394
call fcn.00422570
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1b8], 0xd
call fcn.00401a20
mov byte [esp + 0x1b0], 0xb
cmp dword [esp + 0x88], esi
jb 0x41c016
mov eax, dword [esp + 0x74]
push eax
call fcn.0042a3f0
add esp, 4
mov eax, dword [esp + 0xc8]
xor ecx, ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], cx
cmp dword [esp + 0xdc], esi
jae 0x41c042
lea eax, [esp + 0xc8]
push eax
call fcn.004232b0
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, 0xbb8
jle 0x41c165
cmp eax, ecx
jge 0x41c165
sub esp, 0x1c
lea edx, [esp + 0xfc]
mov esi, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00401950
call fcn.0041c790
test al, al
je 0x41c160
lea esi, [esp + 0x14]
call fcn.0040ab80
mov eax, dword [esp + 0x28]
add eax, 0x2314
mov esi, 8
mov byte [esp + 0x1b0], 0xe
cmp dword [eax + 0x18], esi
jb 0x41c0af
mov eax, dword [eax + 4]
jmp 0x41c0b2
add eax, 4
push eax
push 0x44a398
lea edi, [esp + 0x1c]
call fcn.0040ea20
mov eax, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0xfc]
call fcn.00401910
mov byte [esp + 0x1b0], 0xf
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x114], esi
jae 0x41c0f3
lea eax, [esp + 0x100]
mov edi, dword [esp + 0x28]
push ebp
push 0x44a3bc
lea esi, [edi + 0x264]
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push ebp
mov ecx, esi
call edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov eax, dword [edi + 0x19c]
mov edx, dword [eax + 0x8c]
lea ecx, [edi + 0x19c]
push ebp
call edx
push eax
call esi
push edi
call fcn.0041ba90
lea esi, [esp + 0xfc]
call fcn.00401980
lea ecx, [esp + 0x14]
call fcn.0040aba0
mov esi, 8
cmp dword [esp + 0xdc], esi
jb 0x41c17e
mov eax, dword [esp + 0xc8]
push eax
call fcn.0042a3f0
add esp, 4
xor ecx, ecx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], cx
cmp dword [esp + 0xf8], esi
jb 0x41c1af
mov edx, dword [esp + 0xe4]
push edx
call fcn.0042a3f0
add esp, 4
xor eax, eax
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], ax
jmp 0x41c47e
cmp eax, 1
jne 0x41c499
cmp dword [esp + 0x1bc], ebp
jne 0x41c737
call fcn.00423ae0
cmp eax, ebp
je 0x41c346
push 0x40
lea edx, [esp + 0x34]
push ebp
push edx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xdc], ebp
call fcn.0042dee0
push 0x7e
lea edx, [esp + 0x12a]
xor eax, eax
xor ecx, ecx
push ebp
push edx
mov dword [esp + 0x44], 0x44
mov word [esp + 0x74], ax
mov dword [esp + 0x70], 1
mov word [esp + 0x130], cx
call fcn.0042dee0
add esp, 0x18
mov eax, str.__S__SQUPGRADE
lea ecx, [esp + 0xa8]
call fcn.00401910
mov dword [esp + 0x1b0], 0x10
mov eax, dword [esp + 0xac]
mov edi, 8
cmp dword [esp + 0xc0], edi
jae 0x41c28b
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esi + 0x34], edi
jb 0x41c2a4
mov esi, dword [esi + 0x20]
jmp 0x41c2a7
add esi, 0x20
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x30]
push edx
push ebp
push ebp
push 0x220
push ebp
push ebp
push ebp
lea eax, [esp + 0x138]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c477
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x34], esp
call fcn.00422c20
sub esp, 0x1c
mov byte [esp + 0x1e8], 0x11
lea ecx, [ebx + 0x2314]
mov esi, esp
mov dword [esp + 0x54], esp
push ecx
call fcn.00401950
sub esp, 0x1c
mov byte [esp + 0x204], 0x12
mov eax, str.lastUpgradeVer
mov ecx, esp
mov dword [esp + 0x74], esp
call fcn.00401910
sub esp, 0x1c
mov byte [esp + 0x220], 0x13
mov eax, str.version
mov ecx, esp
mov dword [esp + 0x94], esp
call fcn.00401910
mov byte [esp + 0x220], 0x10
jmp 0x41c448
mov eax, str._S__SQUPGRADE
lea ecx, [esp + 0xa8]
call fcn.00401910
push 0x38
lea edx, [esp + 0x34]
push ebp
mov dword [esp + 0x1b8], 0x14
push edx
mov dword [esp + 0x38], 0x3c
call fcn.0042dee0
mov edi, 8
add esp, 0xc
mov dword [esp + 0x38], str.runas
cmp dword [esi + 0x34], edi
jb 0x41c395
mov eax, dword [esi + 0x20]
mov dword [esp + 0x3c], eax
jmp 0x41c39c
add esi, 0x20
mov dword [esp + 0x3c], esi
cmp dword [esp + 0xc0], edi
jb 0x41c3b2
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x40], ecx
jmp 0x41c3bd
lea edx, [esp + 0xac]
mov dword [esp + 0x40], edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41c477
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x34], esp
call fcn.00422c20
sub esp, 0x1c
mov byte [esp + 0x1e8], 0x15
lea ecx, [ebx + 0x2314]
mov esi, esp
mov dword [esp + 0x54], esp
push ecx
call fcn.00401950
sub esp, 0x1c
mov byte [esp + 0x204], 0x16
mov eax, str.lastUpgradeVer
mov ecx, esp
mov dword [esp + 0x74], esp
call fcn.00401910
sub esp, 0x1c
mov byte [esp + 0x220], 0x17
mov eax, str.version
mov ecx, esp
mov dword [esp + 0x94], esp
call fcn.00401910
mov byte [esp + 0x220], 0x14
call fcn.00423010
mov edx, dword [ebx + 0x264]
mov eax, dword [edx + 0x8c]
add esp, 0x70
push ebp
lea ecx, [ebx + 0x264]
push ebp
push 0x4c9
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, 8
cmp dword [esp + 0xc0], edi
jb 0x41c737
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042a3f0
add esp, 4
jmp 0x41c737
cmp eax, 2
jne 0x41c70b
lea edi, [eax + 6]
cmp dword [esp + 0x1bc], ebp
jne 0x41c6df
cmp dword [esi + 0x34], edi
jb 0x41c4bc
mov eax, dword [esi + 0x20]
jmp 0x41c4bf
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c6df
cmp dword [esi + 0x34], edi
jb 0x41c4d8
mov esi, dword [esi + 0x20]
jmp 0x41c4db
add esi, 0x20
push esi
lea edx, [esp + 0x11c]
push edx
call fcn.0041e1d0
mov dword [esp + 0x1b0], 0x18
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 4]
mov ecx, dword [esp + ecx + 0x120]
test cl, 6
jne 0x41c6c6
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebp
mov byte [esp + 0xac], 0
mov byte [esp + 0x1b0], 0x19
mov edx, dword [eax + 4]
push 0xa
lea eax, [esp + edx + 0x11c]
push eax
call fcn.0040cdc0
movzx ecx, al
push ecx
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0xb0]
call fcn.0041f4d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x41c6ba
push 1
push 0x44a410
lea ecx, [esp + 0xb0]
push ecx
call fcn.0041ef30
push 1
push 0x44a414
lea edx, [esp + 0xb0]
push edx
mov edi, eax
call fcn.0041ef30
push 2
mov esi, eax
push 0x44a418
lea eax, [esp + 0xb0]
push eax
call fcn.0041ef30
cmp eax, 0xffffffff
je 0x41c5cb
cmp edi, 0xffffffff
je 0x41c5cb
cmp esi, 0xffffffff
jne 0x41c623
mov ecx, dword [esp + 0x118]
mov edx, dword [ecx + 4]
push 0xa
lea eax, [esp + edx + 0x11c]
push eax
call fcn.0040cdc0
movzx ecx, al
push ecx
lea edx, [esp + 0x11c]
push edx
lea ecx, [esp + 0xb0]
call fcn.0041f4d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 8]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x41c57c
jmp 0x41c6ba
sub esi, edi
dec esi
push esi
lea ecx, [edi + 1]
lea esi, [esp + 0x100]
lea edx, [esp + 0xac]
call fcn.0041e1a0
xor ecx, ecx
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], cx
mov byte [esp + 0x1b0], 0x1b
cmp dword [esp + 0x114], 0x10
mov eax, dword [esp + 0x100]
jae 0x41c679
lea eax, [esp + 0x100]
lea edx, [esp + 0xe0]
push edx
push eax
call fcn.00423860
sub esp, 0x14
lea eax, [esp + 0xfc]
mov esi, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00401950
call fcn.0040e540
lea esi, [esp + 0xe0]
call fcn.00401980
lea ecx, [esp + 0xfc]
call fcn.004028b0
lea ecx, [esp + 0xa8]
call fcn.004028b0
lea eax, [esp + 0x118]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0041c770
jmp 0x41c737
mov eax, str.error
lea ecx, [esp + 0xfc]
call fcn.00401910
cmp dword [esp + 0x114], edi
jb 0x41c737
mov ecx, dword [esp + 0x100]
push ecx
call fcn.0042a3f0
add esp, 4
jmp 0x41c737
cmp eax, 3
je 0x41c715
cmp eax, 4
jne 0x41c737
mov edx, dword [ebx + 0x264]
mov eax, dword [edx + 0x8c]
push ebp
lea ecx, [ebx + 0x264]
push ebp
push 0x4c9
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0042a3fb
add esp, 0x1a0
ret 0xc