Function at 0x69063590
Capabilities:
Check if file exists
Get file attributes
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x430]
mov esi, eax
push ebx
sub esp, 0x48c
mov dword [ebp - 0x434], 0
call fcn.6905da50
test eax, eax
je 0x69063ff3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x430]
lea edx, [ebp - 0x434]
lea edi, [ebp - 0x220]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.6904b060
mov edi, dword [0x690a0778]
mov dword [ebp - 0x450], eax
mov ebx, eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x464], edi
mov dword [esp], eax
call edi
sub esp, 4
test ebx, ebx
je 0x69063ff3
lea eax, [ebp - 0x438]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x50]
mov dword [esp], eax
call dword [sym.imp.shell32.dll_SHGetIDListFromObject]
sub esp, 8
mov ebx, eax
test eax, eax
js 0x69063d55
test byte [0x6907609c], 8
jne 0x69063a1b
mov ecx, dword [ebp - 0x450]
mov dword [esp + 4], 0
xor edi, edi
mov eax, dword fs:[0x18]
lea edx, [ecx*4]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, dword [ebp - 0x434]
mov dword [ebp - 0x458], eax
sub esp, 0xc
lea esi, [esi]
lea eax, [ebp - 0x428]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x440], 0
mov dword [esp], eax
call fcn.6904a880
mov eax, dword [esi + 0x24]
mov edx, eax
and edx, 0x1100
cmp edx, 0x100
sete dl
movzx edx, dl
add edx, 1
mov dword [esp + 0x14], edx
xor edx, edx
cmp dword [esi + 8], 1
sete dl
and ah, 0xef
add edi, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 8], eax
lea eax, [ebp - 0x440]
mov dword [esp + 4], eax
lea eax, [ebp - 0x428]
mov dword [esp], eax
call fcn.6904b580
cmp dword [ebp - 0x450], edi
mov dword [ebp - 0x454], eax
seta byte [ebp - 0x44c]
cmp eax, 2
je 0x69063890
lea eax, [ebp - 0x428]
mov dword [esp], eax
call dword [section..bss]
mov ecx, dword [ebp - 0x458]
sub esp, 4
mov dword [ecx + edi*4 - 4], eax
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x690638f0
cmp dword [ebp - 0x454], 1
mov byte [ebp - 0x44c], 0
jne 0x690638cf
cmp word [ebx], 0
je 0x69063d96
mov eax, ebx
add eax, 2
cmp word [eax], 0
jne 0x69063760
sub eax, ebx
and eax, 0x1fffe
add eax, 2
add ebx, eax
cmp byte [ebp - 0x44c], 0
jne 0x69063680
mov edx, dword [ebp - 0x434]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x460], eax
call eax
mov eax, dword [ebp - 0x438]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.shell32.dll_ILFree]
mov dword [ebp - 0x45c], eax
call eax
sub esp, 4
cmp dword [ebp - 0x454], 1
sete al
test byte [esi + 0x24], 0x20
je 0x690637e4
test al, al
jne 0x69063adc
cmp dword [ebp - 0x454], 2
je 0x69063adc
cmp dword [ebp - 0x454], 3
je 0x69063e52
test al, al
jne 0x69063dea
test byte [0x6907609c], 2
jne 0x69063ec7
lea esi, [esi]
nop
mov ebx, 0x80004005
xor esi, esi
mov dword [ebp - 0x44c], ebx
mov edi, dword [ebp - 0x458]
mov ebx, esi
mov esi, dword [ebp - 0x45c]
lea esi, [esi]
nop
mov edx, dword [edi + ebx*4]
add ebx, 1
mov dword [esp], edx
call esi
sub esp, 4
cmp dword [ebp - 0x450], ebx
jne 0x69063838
mov edi, dword [ebp - 0x458]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov ebx, dword [ebp - 0x44c]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x460]
call eax
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esi + 8], 1
je 0x69063910
mov eax, dword [esi + 0x24]
and eax, 0x1100
cmp eax, 0x1000
je 0x69063c26
lea eax, [ebp - 0x428]
mov dword [esp], eax
call dword [section..bss]
mov ecx, dword [ebp - 0x458]
sub esp, 4
mov dword [ecx + edi*4 - 4], eax
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x690638da
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
cmp word [ebx], 0
jne 0x6906375e
mov eax, 2
jmp 0x69063773
cmp word [ebx], 0
je 0x69063a76
mov byte [ebp - 0x44c], 0
jmp 0x6906375e
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x69063a4e
mov ecx, dword [esi + 0x64]
mov dword [ebp - 0x45c], ecx
test ecx, ecx
je 0x690638a9
xor edx, edx
mov ecx, 0x2e
jmp 0x6906393f
movzx ecx, word [edx + 0x6907b416]
mov word [ebp + edx - 0x220], cx
add edx, 2
test cx, cx
jne 0x69063938
cmp word [ebp - 0x220], 0
lea edx, [ebp - 0x220]
je 0x69063969
nop
add edx, 2
cmp word [edx], 0
jne 0x69063960
mov dword [ebp - 0x460], ebx
mov ebx, dword [ebp - 0x45c]
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69063978
lea eax, [ebp - 0x220]
mov ebx, dword [ebp - 0x460]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x428]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_PathFindExtensionW]
mov ecx, dword [ebp - 0x45c]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x690638a9
cmp word [ebp - 0x428], 0
lea edx, [ebp - 0x428]
je 0x690639e9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x690639e0
mov dword [ebp - 0x460], ebx
mov ebx, dword [ebp - 0x45c]
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69063a00
mov ebx, dword [ebp - 0x460]
jmp 0x690638a9
mov eax, dword [ebp - 0x450]
mov dword [esp + 0xc], str.Acting_on__d_file_s_._n
mov dword [esp + 8], str.on_default_action
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x6906363b
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x30]
mov edx, dword [eax + edx*8 + 4]
lea eax, [ebp - 0x220]
call fcn.6905db70
mov dword [ebp - 0x45c], eax
test eax, eax
je 0x690638a9
jmp 0x6906399a
mov edx, dword [ebp - 0x434]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x460], eax
call eax
mov eax, dword [ebp - 0x438]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.shell32.dll_ILFree]
mov dword [ebp - 0x45c], eax
call eax
sub esp, 4
cmp dword [ebp - 0x454], 1
sete al
test byte [esi + 0x24], 0x20
je 0x690637f1
test al, al
je 0x690637f1
lea eax, [ebp - 0x43c]
mov dword [esp], eax
call dword [sym.imp.shell32.dll_SHGetDesktopFolder]
sub esp, 4
test eax, eax
js 0x69063818
mov eax, dword [esi + 0x44]
test eax, eax
je 0x69063b0f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esi + 0x44], 0
sub esp, 4
lea eax, [esi + 0x44]
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x458]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x450]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x43c]
mov dword [esp + 4], eax
call dword [sym.imp.shell32.dll_SHCreateShellItemArray]
mov ebx, eax
mov eax, dword [ebp - 0x43c]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x69063818
mov eax, dword [esi + 0x24]
test al, 0x20
je 0x69063b99
mov eax, dword [esi + 0x44]
lea edi, [ebp - 0x428]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x20000000
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0x10
test eax, eax
jne 0x69064145
mov eax, dword [esi + 0x24]
test al, 2
je 0x69063ba7
cmp dword [esi + 8], 1
je 0x69063f1d
test byte [0x6907609c], 8
jne 0x69063ef0
mov ebx, dword [esi + 0x34]
lea edi, [esi + 0x34]
cmp edi, ebx
jne 0x69063bf3
jmp 0x6906400c
mov eax, dword [ebx + 8]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
test eax, eax
jns 0x69063be9
cmp eax, 0x80004001
jne 0x69063818
mov ebx, dword [ebx]
cmp ebx, edi
je 0x69063ffd
test byte [0x6907609c], 8
je 0x69063bc8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Notifying__p_n
mov dword [esp + 8], str.events_OnFileOk
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x69063bc8
lea eax, [ebp - 0x428]
mov dword [esp], eax
mov eax, dword [sym.imp.shlwapi.dll_PathFileExistsW]
mov dword [ebp - 0x45c], eax
call eax
sub esp, 4
test eax, eax
jne 0x690638a9
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x460], eax
test eax, eax
je 0x69063d02
cmp word [ebp - 0x428], 0
lea edx, [ebp - 0x428]
je 0x69063c79
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x69063c70
xor eax, eax
mov ecx, 0x2e
jmp 0x69063c8f
movzx ecx, word [eax + 0x6907b416]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69063c88
cmp word [ebp - 0x428], 0
lea edx, [ebp - 0x428]
je 0x69063cb9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x69063cb0
mov dword [ebp - 0x468], ebx
mov ebx, dword [ebp - 0x460]
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x69063cd0
lea eax, [ebp - 0x428]
mov ebx, dword [ebp - 0x468]
mov dword [esp], eax
mov eax, dword [ebp - 0x45c]
call eax
sub esp, 4
test eax, eax
jne 0x690638a9
mov dword [esp + 8], 0x7b
mov dword [esp + 4], 0
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call fcn.6904b4d0
lea eax, [ebp - 0x428]
mov dword [esp], eax
call dword [section..bss]
mov ecx, dword [ebp - 0x458]
sub esp, 4
mov dword [ecx + edi*4 - 4], eax
cmp word [ebx], 0
je 0x69063d96
mov byte [ebp - 0x44c], 0
mov dword [ebp - 0x454], 1
jmp 0x6906375e
test byte [0x6907609c], 2
jne 0x69063e29
mov edx, dword [ebp - 0x434]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x434]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x460], eax
call eax
mov eax, dword [ebp - 0x438]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.shell32.dll_ILFree]
mov dword [ebp - 0x45c], eax
call eax
sub esp, 4
test byte [esi + 0x24], 0x20
jne 0x69063adc
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp - 0x440]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x38]
sub esp, 0xc
test eax, eax
js 0x69063e8d
mov eax, dword [ebp - 0x440]
mov ebx, 0x80004005
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x6906381d
mov dword [esp + 0xc], str.Failed_to_get_pidl_for_current_directory._n
mov dword [esp + 8], str.on_default_action
mov dword [esp + 4], 0x6907609c
mov dword [esp], 1
call fcn.6905de70
jmp 0x69063d62
test byte [0x6907609c], 1
je 0x69063818
mov dword [esp + 0xc], str.Filtering_not_implemented._n
mov ebx, 0x80004005
mov dword [esp + 8], str.on_default_action
mov dword [esp + 4], 0x6907609c
mov dword [esp], 0
call fcn.6905de70
jmp 0x6906381d
test byte [0x6907609c], 2
je 0x69063e0e
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_browse_to_directory:__08lx_n
mov dword [esp + 8], str.on_default_action
mov dword [esp + 4], 0x6907609c
mov dword [esp], 1
call fcn.6905de70
jmp 0x69063e0e
mov dword [esp + 0xc], str.Failed._n
mov dword [esp + 8], str.on_default_action
mov dword [esp + 4], 0x6907609c
mov dword [esp], 1
call fcn.6905de70
jmp 0x69063818
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6907afcb
mov dword [esp + 8], str.events_OnFileOk
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x69063bb4
mov dword [ebp - 0x454], 0
lea eax, [esi + 0x34]
mov dword [ebp - 0x46c], eax
jmp 0x69063fc2
mov edi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
mov eax, dword [edi]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x80058000
mov dword [esp], edi
call dword [eax + 0x14]
sub esp, 0xc
test eax, eax
jns 0x69064013
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
mov dword [esp + 4], 0x1000000
mov dword [esp + 8], ecx
mov dword [esp], edi
call dword [eax + 0x18]
not eax
sub esp, 0xc
shr eax, 0x1f
add dword [ebp - 0x454], 1
mov ecx, dword [ebp - 0x454]
cmp dword [ebp - 0x450], ecx
mov edi, dword [ebp - 0x42c]
seta byte [ebp - 0x44c]
test eax, eax
jne 0x69064053
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
cmp byte [ebp - 0x44c], 0
je 0x690641b7
mov eax, dword [esi + 0x44]
lea edi, [ebp - 0x42c]
mov edx, dword [eax]
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x454]
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [edx + 0x20]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x69063818
jmp 0x69063f35
mov ebx, 0x80004005
jmp 0x69063880
cmp eax, 0x80004001
je 0x6906400c
test eax, eax
jne 0x69063818
xor ebx, ebx
jmp 0x6906381d
mov eax, dword [ebp - 0x428]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x428]
sub esp, 4
cmp eax, 0xffffffff
setne al
mov dword [esp], edx
movzx eax, al
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x464]
call eax
mov eax, dword [ebp - 0x44c]
sub esp, 4
jmp 0x69063f82
mov dword [ebp - 0x428], 0
test byte [0x6907609c], 8
jne 0x69064292
mov edx, dword [esi + 0x34]
cmp dword [ebp - 0x46c], edx
je 0x690642c3
mov dword [ebp - 0x468], esi
mov esi, edx
jmp 0x690640d8
mov eax, dword [esi + 8]
lea ebx, [ebp - 0x428]
mov ecx, dword [eax]
mov dword [esp + 0xc], ebx
mov ebx, dword [ebp - 0x468]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [ecx + 0x24]
sub esp, 0x10
mov ebx, eax
test byte [0x6907609c], 8
jne 0x6906410e
mov eax, ebx
shr eax, 0x1f
cmp ebx, 0x80004001
setne cl
test cl, al
jne 0x69064215
mov esi, dword [esi]
cmp esi, dword [ebp - 0x46c]
je 0x690641c8
test byte [0x6907609c], 8
je 0x69064083
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Notifying__p_n
mov dword [esp + 8], str.events_OnOverwrite
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x69064083
mov eax, dword [ebp - 0x428]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.____hr_lx_response_u_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.events_OnOverwrite
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x690640b4
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], 0x40
mov ebx, 0x80004005
mov dword [esp + 8], eax
mov eax, dword [0x6908d004]
mov dword [esp + 4], 0x7c
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
mov dword [esp + 0xc], 0x30
mov eax, dword [esi + 0x68]
mov dword [esp + 8], eax
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
mov eax, dword [esi + 0x44]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esi + 0x44], 0
sub esp, 4
jmp 0x6906381d
test ebx, ebx
jns 0x69063ba7
jmp 0x69063818
mov esi, dword [ebp - 0x468]
cmp ebx, 0x80004001
je 0x690642c3
test ebx, ebx
js 0x6906421b
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x69064224
movzx edi, byte [ebp - 0x44c]
cmp eax, 2
mov eax, 0
cmove edi, eax
mov eax, edi
mov byte [ebp - 0x44c], al
mov eax, 0x80004005
cmove ebx, eax
mov edi, dword [ebp - 0x42c]
jmp 0x69063faa
mov esi, dword [ebp - 0x468]
mov byte [ebp - 0x44c], 0
jmp 0x6906420a
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], eax
mov eax, dword [0x6908d004]
mov dword [esp + 4], 0x77
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
mov dword [esp + 0xc], 0x34
mov eax, dword [esi + 0x68]
mov dword [esp + 8], eax
lea eax, [ebp - 0x220]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
cmp eax, 7
je 0x69064281
cmp eax, 2
jne 0x6906420a
mov byte [ebp - 0x44c], 0
mov ebx, 0x80004005
jmp 0x6906420a
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p__p_n
mov dword [esp + 8], str.events_OnOverwrite
mov dword [esp + 4], 0x6907609c
mov dword [esp], 3
call fcn.6905de70
jmp 0x6906406a
xor ebx, ebx
jmp 0x690641de