Function at 0x420d0c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488a25
mov eax, dword fs:[0]
push eax
sub esp, 0xbec
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb74], ecx
push 8
lea ecx, [ebp - 0x32c]
call fcn.00401320
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0xb74]
add ecx, 0x48c
call fcn.00401910
mov ecx, eax
call fcn.0040b4e0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne case.0x420853.6
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xb84], ecx
mov edx, dword [ebp - 0xb84]
sub edx, 0x64
mov dword [ebp - 0xb84], edx
cmp dword [ebp - 0xb84], 0xc9
ja case.0x420853.6
mov eax, dword [ebp - 0xb84]
movzx ecx, byte [eax + 0x421030]
jmp dword [ecx*4 + 0x420ff0]
cmp dword [0x4c6f68], 0
jne 0x42086f
mov dword [ebp - 0xb94], 1
jmp 0x420879
mov dword [ebp - 0xb94], 0
mov edx, dword [ebp - 0xb94]
mov dword [0x4c6f68], edx
cmp dword [0x4c6f68], 0
je 0x42089a
mov dword [ebp - 0xbb4], 0xffffffff
jmp 0x4208a4
mov dword [ebp - 0xbb4], 0xfffffffe
push 3
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xbb4]
push eax
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + 0x25c]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x420853.6
push 0x414
lea ecx, [ebp - 0x770]
call fcn.00401320
lea ecx, [ebp - 0x770]
call fcn.0044b2d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb74]
mov ecx, dword [eax + 0x25c]
push ecx
lea ecx, [ebp - 0x770]
call dword [sym.imp.soui.dll_public_virtual:_int___thiscall_SOUI::SHostDialog::DoModal_struct_HWND____]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x770]
call fcn.0044b410
jmp case.0x420853.6
mov ecx, dword [ebp - 0xb74]
call fcn.004219b0
jmp case.0x420853.6
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.004720a0
add esp, 0xc
mov dword [ebp - 0x338], 0x104
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, 0x1c
mov ecx, str.aHR0cDovL2FiY2thbnR1LmNvbS8
call fcn.00456230
add esp, 8
call fcn.00437030
mov dword [ebp - 0xbc0], eax
push 4
lea ecx, [ebp - 0x330]
call fcn.00401320
lea edx, [ebp - 0x114]
mov dword [ebp - 0xb8c], edx
cmp dword [ebp - 0xb8c], 0
jne 0x4209ac
mov dword [ebp - 0xbac], 0
jmp 0x420a64
mov eax, dword [ebp - 0xb8c]
mov dword [ebp - 0xb7c], eax
mov ecx, dword [ebp - 0xb7c]
add ecx, 1
mov dword [ebp - 0xbb8], ecx
mov edx, dword [ebp - 0xb7c]
mov al, byte [edx]
mov byte [ebp - 0xb75], al
add dword [ebp - 0xb7c], 1
cmp byte [ebp - 0xb75], 0
jne 0x4209c7
mov ecx, dword [ebp - 0xb7c]
sub ecx, dword [ebp - 0xbb8]
mov dword [ebp - 0xbbc], ecx
mov edx, dword [ebp - 0xbbc]
add edx, 1
mov dword [ebp - 0xb88], edx
cmp dword [ebp - 0xb88], 0x3fffffff
jle 0x420a1e
mov dword [ebp - 0xbb0], 0
jmp 0x420a58
mov eax, dword [ebp - 0xb88]
shl eax, 1
call fcn.004856e0
mov dword [ebp - 0xbc4], esp
mov eax, dword [ebp - 0xbc0]
push eax
mov ecx, dword [ebp - 0xb88]
push ecx
mov edx, dword [ebp - 0xb8c]
push edx
mov eax, dword [ebp - 0xbc4]
push eax
call fcn.00436fe0
mov dword [ebp - 0xbb0], eax
mov ecx, dword [ebp - 0xbb0]
mov dword [ebp - 0xbac], ecx
mov edx, dword [ebp - 0xbac]
push edx
lea ecx, [ebp - 0x330]
call fcn.00401c80
push 3
push 0
push 0
lea ecx, [ebp - 0x330]
call fcn.00401d70
push eax
push 0x49fc28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x330]
call fcn.00401c60
jmp case.0x420853.6
xor eax, eax
mov word [ebp - 0x31c], ax
push 0x206
push 0
lea ecx, [ebp - 0x31a]
push ecx
call fcn.004720a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x31c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Update.exe
lea ecx, [ebp - 0x31c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x31c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420b25
push 1
push 0
push str._Update0
lea eax, [ebp - 0x31c]
push eax
push 0x49fc60
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.0x420853.6
push 4
lea ecx, [ebp - 0x320]
call fcn.00401320
lea ecx, [ebp - 0x320]
call fcn.00401d20
mov byte [ebp - 4], 2
mov ecx, 0x4c6d2c
call fcn.00401d70
lea edx, [ebp - 0x320]
mov ecx, eax
call fcn.00455650
lea ecx, [ebp - 0x320]
call fcn.004022c0
test eax, eax
jle 0x420bbe
lea ecx, [ebp - 0x320]
push ecx
push 0x49fc6c
lea edx, [ebp - 0xbd0]
push edx
call fcn.00428ad0
add esp, 0xc
mov dword [ebp - 0xbc8], eax
mov eax, dword [ebp - 0xbc8]
mov dword [ebp - 0xbcc], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xbcc]
push ecx
lea ecx, [ebp - 0x320]
call fcn.00429160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbd0]
call fcn.00401c60
push 0x400
lea ecx, [ebp - 0xb70]
call fcn.00401320
lea ecx, [ebp - 0x320]
call fcn.00401d70
push eax
lea ecx, [ebp - 0xb70]
call fcn.0043d370
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xb74]
mov eax, dword [edx + 0x25c]
push eax
lea ecx, [ebp - 0xb70]
call dword [sym.imp.soui.dll_public_virtual:_int___thiscall_SOUI::SHostDialog::DoModal_struct_HWND____]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb70]
call fcn.0043d460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.00401c60
jmp case.0x420853.6
push 0x20
call fcn.004595c4
add esp, 4
mov dword [ebp - 0xb80], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb74]
mov edx, dword [ecx + 0x440]
push edx
mov ecx, dword [ebp - 0xb80]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::EventCmd::constructor_class_SOUI::SObjectImpl_struct_SOUI::IObject___]
mov eax, dword [ebp - 0xb80]
mov dword [eax], vtable.SOUI::EventCmd.1.0
mov ecx, dword [ebp - 0xb80]
mov dword [ecx + 8], vtable.SOUI::EventCmd.0
mov edx, dword [ebp - 0xb80]
mov dword [ebp - 0xba8], edx
jmp 0x420c83
mov eax, dword [ebp - 0xba8]
mov dword [ebp - 0xbd4], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xbd4]
mov dword [ebp - 0xb90], ecx
mov edx, dword [ebp - 0xb90]
push edx
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SNotifyCenter____cdecl_SOUI::SSingleton_class_SOUI::SNotifyCenter_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SNotifyCenter::FireEventAsync_class_SOUI::EventArgs__]
mov eax, dword [ebp - 0xb90]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb90]
mov eax, dword [edx + 4]
call eax
jmp case.0x420853.6
mov ecx, dword [ebp - 0xb74]
call fcn.00424a50
jmp case.0x420853.6
mov ecx, dword [ebp - 0xb74]
call fcn.00421fd0
jmp case.0x420853.6
mov ecx, dword [ebp - 0xb74]
call fcn.00423540
jmp case.0x420853.6
mov ecx, dword [ebp - 0xb74]
call fcn.004237e0
jmp case.0x420853.6
push 4
lea ecx, [ebp - 0x324]
call fcn.00401320
lea ecx, [ebp - 0x32c]
call fcn.00401910
mov ecx, eax
call fcn.00411170
push eax
lea ecx, [ebp - 0x324]
call fcn.00401c80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x324]
call fcn.00401d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420d77
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x324]
call fcn.00401c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.0040c400
jmp 0x420fcc
mov dword [ebp - 0xba4], 3
lea ecx, [ebp - 0x32c]
call fcn.00401910
add eax, 0x1c
mov ecx, eax
call fcn.00401910
push eax
call dword [sym.imp.FreeImage.dll__FreeImage_GetWidth_4]
mov dword [ebp - 0xbd8], eax
lea ecx, [ebp - 0x32c]
call fcn.00401910
add eax, 0x1c
mov ecx, eax
call fcn.00401910
push eax
call dword [sym.imp.FreeImage.dll__FreeImage_GetHeight_4]
mov dword [ebp - 0xbe0], eax
lea ecx, [ebp - 0x35c]
call fcn.0040a080
lea ecx, [ebp - 0x35c]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x35c]
call fcn.00437080
cmp eax, dword [ebp - 0xbd8]
jbe 0x420e14
lea ecx, [ebp - 0x35c]
call fcn.00437060
cmp eax, dword [ebp - 0xbe0]
jbe 0x420e14
mov dword [ebp - 0xba4], 0
mov edx, dword [ebp - 0xba4]
lea ecx, [ebp - 0x324]
call fcn.00455740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x324]
call fcn.00401c60
jmp case.0x420853.6
lea ecx, [ebp - 0x32c]
call fcn.00401910
mov ecx, eax
call fcn.00411170
mov ecx, eax
call fcn.00455ba0
jmp case.0x420853.6
push 4
lea ecx, [ebp - 0x334]
call fcn.00401320
lea ecx, [ebp - 0x32c]
call fcn.00401910
mov ecx, eax
call fcn.00411170
push eax
lea ecx, [ebp - 0x334]
call fcn.00401c80
mov byte [ebp - 4], 7
push 0x10
lea ecx, [ebp - 0x34c]
call fcn.00401320
lea ecx, [ebp - 0x34c]
call fcn.00452d60
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0x334]
call fcn.004022e0
push eax
lea ecx, [ebp - 0xbf8]
call fcn.00428920
mov byte [ebp - 4], 9
lea edx, [ebp - 0xbf8]
push edx
lea ecx, [ebp - 0x34c]
call fcn.00452e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbf8]
call fcn.004113b0
cmp dword [ebp + 0xc], 0xcf
jne 0x420ef5
mov dword [ebp - 0xba0], 2
jmp 0x420eff
mov dword [ebp - 0xba0], 3
mov eax, dword [ebp - 0xba0]
mov dword [ebp - 0xbdc], eax
lea ecx, [ebp - 0xbdc]
push ecx
lea ecx, [ebp - 0x34c]
call fcn.004531e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34c]
call fcn.00452e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x334]
call fcn.00401c60
jmp case.0x420853.6
cmp dword [ebp + 0xc], 0x12d
jne 0x420f52
mov dword [ebp - 0xb9c], 0
jmp 0x420f5c
mov dword [ebp - 0xb9c], 1
mov edx, dword [ebp - 0xb9c]
mov dword [ebp - 0xb98], edx
mov eax, dword [ebp - 0xb98]
push eax
mov ecx, dword [ebp - 0xb74]
add ecx, 0x478
call fcn.00451320
mov ecx, dword [ebp - 0xb98]
mov dword [0x4c6f6c], ecx
mov ecx, 0x4c6d28
call fcn.00439da0
mov dword [ebp - 0x33c], 8
push 0
push 0
mov edx, dword [0x4c6b7c]
push edx
lea eax, [ebp - 0x33c]
push eax
push 0x10
call dword [sym.imp.USER32.dll_BroadcastSystemMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.0040c400
lea esp, [ebp - 0xbfc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret 0xc