Function at 0x10025900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4798
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100d10d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x250], esi
push dword [esi]
push str.kHelper_enter_app_s
call fcn.1000d740
push dword [esi + 8]
call fcn.10040710
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.10040460
add esp, 0x1c
mov dword [ebp - 4], 0
push dword [ebp - 0x258]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100259aa
push dword [ebp - 0x258]
push str.kHelper_rootdir_s_is_not_exist
call fcn.1000d740
add esp, 8
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jmp 0x10026245
mov eax, dword [esi + 0x4c]
cmp dword [eax - 0xc], 0
jne 0x100259c2
push str.kHelper_drivename_empty
call fcn.1000d740
add esp, 4
jmp 0x1002598a
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push ecx
push eax
call fcn.10026940
add esp, 8
test eax, eax
js 0x10025a43
cmp dword [ebp - 0x244], 0
je 0x10025a43
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
push dword [esi + 0x4c]
call fcn.10026850
add esp, 8
test eax, eax
js 0x10025a43
cmp dword [ebp - 0x244], 0
je 0x10025a43
lea eax, [ebp - 0x234]
push eax
push dword [esi + 0x4c]
call fcn.100266a0
add esp, 8
test eax, eax
js 0x10025a43
cmp dword [ebp - 0x230], 4
jne 0x10025a43
push str.kHelper_drive_ok
call fcn.1000d740
add esp, 4
jmp 0x1002598a
mov eax, dword [0x100d346c]
test al, 1
jne 0x10025a66
or eax, 1
mov dword [0x100d346c], eax
mov byte [ebp - 4], 4
mov dword [0x100d3468], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 0x23d], 0
push eax
call fcn.10042189
mov byte [ebp - 4], 5
lea eax, [ebp - 0x248]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x23d]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push 0x10025180
push 0x100d3468
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x100262e8
mov byte [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
call fcn.100421c3
add esp, 4
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x1002631f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24c]
push 0x100d3470
call fcn.10025710
test al, al
jne 0x10025b30
mov ecx, 0x100d3470
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025b10
sub ecx, edx
sar ecx, 1
push ecx
push 0x100d3470
lea ecx, [ebp - 0x24c]
call fcn.10014ae0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 0x23d], 0
call fcn.10042189
mov byte [ebp - 4], 9
lea eax, [ebp - 0x248]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x23d]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push 0x10008c50
push 0x100d24e8
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x100262cf
mov byte [ebp - 4], 8
lea eax, [ebp - 0x248]
push eax
call fcn.100421c3
mov ecx, dword [0x100d24e4]
lea eax, [ebp - 0x24c]
add esp, 4
push 0
push esi
push eax
call fcn.10039e40
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x24c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025bd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006e460
add esp, 0xc
cmp dword [section..data], 0
je 0x10025cdc
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10025cd2
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x23c]
push ecx
movups xmmword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x22c], xmm0
call eax
mov ax, word [ebp - 0x23c]
cmp ax, 9
je 0x10025cc8
cmp ax, 6
je 0x10025cc8
cmp ax, 0xc
je 0x10025cc8
push str.IsWow64Process2
push 0x100adee0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x10025cbf
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x264]
test eax, eax
je 0x10025cbf
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x244], cx
sete al
mov dword [0x100d3464], eax
jmp 0x10025cd2
xor eax, eax
mov dword [0x100d3464], eax
jmp 0x10025cd2
mov dword [0x100d3464], 1
mov dword [section..data], 0
xor eax, eax
cmp dword [0x100d3464], eax
setne al
lea eax, [eax*4 + 0x44]
push dword [eax + esi]
lea eax, [ebp - 0x218]
push dword [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10025d80
lea eax, [ebp - 0x218]
push eax
push str.kHelper_drivepath_s_is_not_fail
call fcn.1000d740
add esp, 8
lea ecx, [ebp - 0x23d]
call fcn.10025440
push eax
lea ecx, [ebp - 0x250]
call fcn.1000a1a0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x250]
push 0
push esi
push eax
call fcn.10025840
mov ecx, eax
call fcn.10039e40
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025d7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002622d
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
push dword [esi + 0x4c]
call fcn.10026940
add esp, 8
test eax, eax
js 0x10025dad
cmp dword [ebp - 0x244], 0
jne 0x10025f79
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x10026329
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10025710
test al, al
jne 0x10025e12
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025df0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10014ae0
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x24c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10025e32
mov dword [ebp - 0x244], eax
jmp 0x10025ee5
lea eax, [ebp - 0x248]
mov byte [ebp - 0x23d], 0
push eax
call fcn.10042189
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x248]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x23d]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push 0x10024a40
push 0x100d345c
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x100262b3
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x248]
push eax
call fcn.100421c3
mov ecx, dword [0x100d3458]
add esp, 4
push esi
call fcn.10018610
test eax, eax
jne 0x10025ebe
push str.check_sign_fail
call fcn.1000d740
add esp, 4
mov dword [ebp - 0x244], 0
jmp 0x10025ee5
mov eax, dword [ebp - 0x250]
push 0
push 0
push esi
mov eax, dword [eax + 0x4c]
push 1
push eax
push eax
call fcn.10026770
xor ecx, ecx
add esp, 0x18
test eax, eax
setns cl
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10025f00
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x244], 0
jne 0x10025f73
push str.kHelper_install_fail
call fcn.1000d740
add esp, 4
lea ecx, [ebp - 0x23d]
call fcn.10025620
push eax
lea ecx, [ebp - 0x244]
call fcn.1000a1a0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x244]
mov esi, dword [ebp - 0x250]
push 0
push esi
push eax
call fcn.10025840
mov ecx, eax
call fcn.10039e40
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025f6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002622d
mov esi, dword [ebp - 0x250]
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0
push eax
push dword [esi + 0x4c]
call fcn.10026850
add esp, 8
test eax, eax
js 0x10025fa2
cmp dword [ebp - 0x250], 0
jne 0x10026017
push 0
push dword [esi + 0x4c]
call fcn.10026540
add esp, 8
test eax, eax
jns 0x10026017
push str.kHelper_Enable_fail
call fcn.1000d740
add esp, 4
lea ecx, [ebp - 0x23d]
call fcn.10025350
push eax
lea ecx, [ebp - 0x250]
call fcn.1000a1a0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x250]
push 0
push esi
push eax
call fcn.10025840
mov ecx, eax
call fcn.10039e40
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026012
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002622d
lea eax, [ebp - 0x234]
push eax
push dword [esi + 0x4c]
call fcn.100266a0
add esp, 8
test eax, eax
js 0x10026036
cmp dword [ebp - 0x230], 4
je 0x100260ab
push 0
push dword [esi + 0x4c]
call fcn.10026a20
add esp, 8
test eax, eax
jns 0x100260ab
push str.kHelper_StartPlusWaiting_fail
call fcn.1000d740
add esp, 4
lea ecx, [ebp - 0x23d]
call fcn.10025530
push eax
lea ecx, [ebp - 0x250]
call fcn.1000a1a0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x250]
push 0
push esi
push eax
call fcn.10025840
mov ecx, eax
call fcn.10039e40
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100260a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002622d
mov eax, dword [0x100d350c]
test al, 1
jne 0x100260ce
or eax, 1
mov dword [0x100d350c], eax
mov byte [ebp - 4], 0x1d
mov dword [0x100d3508], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x254]
mov byte [ebp - 0x23d], 0
push eax
call fcn.10042189
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x254]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x23d]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push 0x10024c40
push 0x100d3508
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x10026297
mov byte [ebp - 4], 0
lea eax, [ebp - 0x254]
push eax
call fcn.100421c3
add esp, 4
call fcn.1000db70
mov ecx, eax
test ecx, ecx
je 0x10026333
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x24c]
push 0x100d3510
call fcn.10025710
test al, al
jne 0x10026190
mov ecx, 0x100d3510
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026170
sub ecx, edx
sar ecx, 1
push ecx
push 0x100d3510
lea ecx, [ebp - 0x24c]
call fcn.10014ae0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 0x23d], 0
call fcn.10042189
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x254]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x23d]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push 0x10008c50
push 0x100d24e8
call fcn.10042e51
add esp, 0x10
test eax, eax
je 0x1002627b
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x254]
push eax
call fcn.100421c3
mov ecx, dword [0x100d24e4]
lea eax, [ebp - 0x24c]
add esp, 4
push 0
push esi
push eax
call fcn.10039e40
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x24c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002622d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1002624f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
push str.kHelper_end_app_s
call fcn.1000d740
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061eb3
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x254]
push eax
call fcn.100421e4
add esp, 4
test al, al
je 0x10026361
jmp 0x1002633d
lea eax, [ebp - 0x254]
push eax
call fcn.100421e4
add esp, 4
test al, al
jne 0x10026366
jmp 0x10026361
lea eax, [ebp - 0x248]
push eax
call fcn.100421e4
add esp, 4
test al, al
jne 0x1002638a
jmp 0x10026361
lea eax, [ebp - 0x248]
push eax
call fcn.100421e4
add esp, 4
test al, al
jne 0x100263ae
jmp 0x10026361
lea eax, [ebp - 0x248]
push eax
call fcn.100421e4
add esp, 4
test al, al
je 0x10026361
sub esp, 8
lea eax, [ebp - 0x248]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
call fcn.10017ed0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
push 0x80004005
call fcn.1000d6a0
sub esp, 8
lea eax, [ebp - 0x254]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x22
call fcn.10017ed0
call fcn.10042e69
sub esp, 8
lea eax, [ebp - 0x254]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x1e
call fcn.10017ed0
sub esp, 8
lea eax, [ebp - 0x248]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
call fcn.10017ed0
sub esp, 8
lea eax, [ebp - 0x248]
mov ecx, esp
mov dword [ebp - 0x264], esp
push eax
call fcn.1000afd0
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
call fcn.10017ed0
int3