Function at 0x407a70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f5ea
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x482524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x304], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], cx
mov dword [ebp - 4], ecx
mov edx, dword [eax + 0x48]
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov ecx, edx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407ad4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404010
push str.IsWow64Process
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x407b56
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x407b56
cmp dword [ebp - 0x14], 0
je 0x407b56
push str.Wow64DisableWow64FsRedirection
xorps xmm0, xmm0
push str.kernel32
movlpd qword [ebp - 0x34], xmm0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x407b56
lea ecx, [ebp - 0x30]
push ecx
call eax
push 7
xor eax, eax
mov dword [ebp - 0x3c], 0
push str.silent_
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00404010
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x4c]
cmp edi, 8
push dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov edx, esi
push eax
push ecx
call fcn.00402360
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x407c1b
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
cmp esi, edx
jb 0x4084c4
sub esi, edx
lea eax, [ebp - 0x2c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x31c]
lea eax, [eax + edx*2]
push eax
call fcn.00404010
lea ecx, [ebp - 0x2c]
call fcn.004043b0
movups xmm0, xmmword [ebp - 0x31c]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x30c]
movq qword [ebp - 0x1c], xmm0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmp edi, 8
cmovae ecx, eax
cmp esi, 7
jne 0x407c41
push esi
mov edx, str.install
call fcn.00402450
add esp, 4
test eax, eax
je 0x407c61
mov eax, dword [ebp - 0x2c]
cmp edi, 8
lea ecx, [ebp - 0x2c]
cmovae ecx, eax
cmp esi, 9
jne 0x407ca1
push esi
mov edx, str.uninstall
call fcn.00402450
add esp, 4
test eax, eax
jne 0x407c9e
cmp edi, 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp esi, 7
jne 0x407c90
push esi
mov edx, str.install
call fcn.00402450
add esp, 4
test eax, eax
jne 0x407c90
lea eax, [ebp - 0x64]
push eax
call fcn.00405110
jmp 0x407d21
lea eax, [ebp - 0x64]
push eax
call fcn.00405840
jmp 0x407d21
mov eax, dword [ebp - 0x2c]
cmp edi, 8
lea ecx, [ebp - 0x2c]
cmovae ecx, eax
cmp esi, 5
jne 0x407cc4
push esi
mov edx, str.start
call fcn.00402450
add esp, 4
test eax, eax
je 0x407cec
mov eax, dword [ebp - 0x2c]
cmp edi, 8
lea ecx, [ebp - 0x2c]
cmovae ecx, eax
cmp esi, 4
jne 0x407ea6
push esi
mov edx, str.stop
call fcn.00402450
add esp, 4
test eax, eax
jne 0x407eae
cmp edi, 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmp esi, 5
jne 0x407d11
push esi
mov edx, str.start
call fcn.00402450
add esp, 4
mov byte [ebp - 0x14], 1
test eax, eax
je 0x407d15
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x14]
call fcn.00404f00
cmp dword [ebp - 0x1c], 0
je 0x407f32
test al, al
jne 0x4083e9
cmp dword [ebp - 0x30], 0
je 0x407e91
lea eax, [ebp - 0x2c]
mov edx, str.Could_not
push eax
lea ecx, [ebp - 0x334]
call fcn.00406990
push str._service._nError:
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x300]
call fcn.00402310
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x31c]
call fcn.00402920
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x407d87
mov eax, dword [eax]
push 0x10
push 0x476078
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x308]
cmp edx, 8
jb 0x407dd7
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407dcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084c9
push edx
push ecx
call fcn.00438535
add esp, 8
mov edx, dword [ebp - 0x2ec]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
cmp edx, 8
jb 0x407e34
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407e2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084ce
push edx
push ecx
call fcn.00438535
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
cmp edx, 8
jb 0x407e91
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407e87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084d3
push edx
push ecx
call fcn.00438535
add esp, 8
mov eax, dword [ebp - 0x304]
mov dword [eax + 0xe4], 1
jmp 0x4083e9
test esi, esi
je 0x407f32
lea eax, [ebp - 0x2c]
mov edx, str.Unrecognized_command_line_option
push eax
lea ecx, [ebp - 0x334]
call fcn.00406990
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x407ecd
mov eax, dword [eax]
push 0x10
push 0x476078
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x320]
cmp edx, 8
jb 0x407f1d
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407f13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084d8
push edx
push ecx
call fcn.00438535
add esp, 8
mov eax, dword [ebp - 0x304]
mov dword [eax + 0xe4], 2
jmp 0x4083e9
lea eax, [ebp - 0x64]
push eax
call fcn.00404ac0
test al, al
jne 0x40811d
lea eax, [ebp - 0x2c]
mov edx, str.Could_not
push eax
lea ecx, [ebp - 0x334]
call fcn.00406990
add esp, 4
push str._service._nError:
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004028a0
mov dword [ebp - 0x30c], 0
xor ecx, ecx
mov dword [ebp - 0x308], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x31c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x31c]
call fcn.00402c00
mov dword [ebp - 0x2f0], 0
xor ecx, ecx
mov dword [ebp - 0x2ec], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x300], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2f0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x300]
cmp dword [ebp - 0x2ec], 8
push ecx
cmovae eax, dword [ebp - 0x300]
push 0x10
push eax
call fcn.0041ae0e
mov edx, dword [ebp - 0x2ec]
cmp edx, 8
jb 0x40805a
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408050
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084dd
push edx
push ecx
call fcn.00438535
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
cmp edx, 8
jb 0x4080b7
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4080ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084e2
push edx
push ecx
call fcn.00438535
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
cmp edx, 8
jb 0x4083e9
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40810e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084e7
push edx
push ecx
call fcn.00438535
add esp, 8
jmp 0x4083e9
mov esi, dword [ebp - 0x304]
lea eax, [ebp - 0x334]
push eax
mov ecx, esi
call fcn.004077b0
push str.Proxifier.exe
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004028a0
mov dword [ebp - 0x2f0], 0
xor ecx, ecx
mov dword [ebp - 0x2ec], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x300], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2f0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x300]
cmp dword [ebp - 0x2ec], 8
cmovae eax, dword [ebp - 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x2ec]
cmp eax, 0xffffffff
sete byte [ebp - 0x2e5]
cmp edx, 8
jb 0x4081e4
mov ecx, dword [ebp - 0x300]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4081da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084ec
push edx
push ecx
call fcn.00438535
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
cmp edx, 8
jb 0x408245
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40823b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084f1
push edx
push ecx
call fcn.00438535
add esp, 8
cmp byte [ebp - 0x2e5], 0
je 0x408261
push 0
push 0x10
push str.Proxifier.exe_not_found._n_nPlease_place_this_tool_to_the_working_directory_of_Proxifier.
call fcn.0041ae0e
jmp 0x4083e9
call fcn.0041b14d
mov ecx, esi
call fcn.0041a435
push 0
call fcn.0041b53d
add esp, 4
mov ecx, esi
push 0x4761e0
call fcn.0041c88b
push 0x280
lea eax, [ebp - 0x2e4]
push 0
push eax
call fcn.0043c350
add esp, 0xc
lea ecx, [ebp - 0x2e4]
push 0
push 0x66
call fcn.004112d8
push 0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x2e4], 0x475db0
push eax
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call dword [sym.imp.USER32.dll_CopyRect]
movaps xmm0, xmmword [0x4773d0]
movups xmmword [ebp - 0x21c], xmm0
mov byte [ebp - 0x220], 0
mov dword [ebp - 0x2e4], 0x477044
mov dword [ebp - 0x204], 0
mov dword [ebp - method.CFont.virtual_0], vtable.CFont.0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1f8]
push 0x475da8
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0xffffffff
call fcn.0040fe90
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0xb
call fcn.00412e98
mov dword [ebp - method.CEdit.virtual_0], vtable.CEdit.0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0xc
call fcn.00412e98
mov dword [ebp - method.CRichEditCtrl.virtual_0], vtable.CRichEditCtrl.0
push 0x475da8
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xd
call fcn.0040fe90
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00412e98
mov dword [ebp - 0xec], vtable.CComboBox.0
push 0x475da8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.0040fe90
mov byte [ebp - 4], 0x10
call fcn.0041f3b1
call fcn.0041f3b1
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 0x11
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.00411885
lea ecx, [ebp - 0x2e4]
call fcn.00408510
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x408423
mov edx, dword [ebp - 0x4c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408419
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084f6
push ecx
push edx
call fcn.00438535
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40845d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408453
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4084fb
push edx
push ecx
call fcn.00438535
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x4084a7
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40849d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408500
push edx
push ecx
call fcn.00438535
add esp, 8
xor eax, eax
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.00438524
mov esp, ebp
pop ebp
ret
call fcn.00402280
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
call fcn.004447fc
int3