Function at 0x4260c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d0d6
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], eax
call fcn.0043a1c0
mov byte [ebp - 0x144], 0
call fcn.00424a90
mov esi, dword [ebp + 0x10]
test al, al
mov eax, dword [ebp - 0x144]
je 0x426136
cmp byte [esi + 0x20], 0
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp - 0x140]
xor edi, edi
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x426148
mov edi, dword [edx + 4]
test al, al
je 0x426260
test edx, edx
je 0x426252
test edi, edi
je 0x426231
cmp dword [edi + 4], 0
je 0x426231
mov edi, ecx
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x42618f
push 0x5c080c
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x80800000
push eax
call fcn.004da58d
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
call fcn.00451900
mov dword [ebp - 4], 0
mov ecx, edi
movzx eax, byte [esi + 0x22]
push eax
sub esp, 0x10
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x13c]
push ebx
call fcn.0042a210
add eax, 4
cmp eax, 4
ja case.0x4261d6.2
jmp dword [eax*4 + 0x4263b4]
mov ecx, dword [ebp - 0x138]
push 0
call fcn.00452290
mov al, byte [esi + 0x22]
test al, al
je case.0x4261d6.2
push eax
push ecx
push dword [esi + 0x18]
push ecx
push dword [ebp - 0x138]
mov ecx, edi
push dword [ebp - 0x13c]
push ebx
call fcn.004263e0
test al, al
jne case.0x4261d6.0
push str.download_and_Install_by_sodalib_failed
mov ecx, ebx
call fcn.00412090
lea ecx, [ebp - 0x134]
call fcn.00424a60
xor al, al
jmp 0x426395
mov ecx, ebx
call fcn.00450c80
push str.sodalib_point_null_or_mainfrm_point_null_or_mainfrmhwnd_null
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
xor al, al
jmp 0x426395
mov ecx, ebx
call fcn.00450c80
push str.workthread_ptr_is_null
jmp 0x42623d
movzx eax, byte [esi + 0x23]
push eax
push ecx
push dword [esi + 0x18]
push ecx
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
push ebx
call fcn.004263e0
test al, al
jne 0x426393
test edi, edi
je 0x426377
cmp dword [edi + 4], 0
je 0x426377
push 0
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5c6ad0]
mov ecx, 0x59565c
mov dword [ebp - 0x138], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x4262ce
movzx eax, cx
lea ecx, [ebp - 0x138]
push eax
call fcn.00413df0
jmp 0x426306
push 0x59565c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x426306
push esi
lea ecx, [ebp - 0x138]
call fcn.00413af0
test eax, eax
je 0x426306
lea eax, [esi + esi]
push eax
push 0x59565c
push dword [ebp - 0x138]
call fcn.004d9a60
add esp, 0xc
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00417150
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0xffffffff
call fcn.00413c80
mov ecx, edi
call fcn.00417100
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x426377
push str.quitevent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov ecx, edi
push esi
call fcn.00417cf0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.00450c80
push str.directdownload_and_install_failed
jmp 0x42623d
lea ecx, [ebp - 0x134]
call fcn.00424a60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 0x10