Function at 0x10003750
Capabilities:
Check if file exists
Get common file path
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x10053404
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x10065060]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10065060]
xor eax, esp
push eax
lea eax, [esp + 0x500]
mov dword fs:[0], eax
mov eax, dword [esp + 0x510]
mov edi, dword [esp + 0x518]
mov ebp, dword [esp + 0x514]
push str.wfchost.exe
mov dword [esp + 0x38], eax
xor ebx, ebx
lea eax, [esp + 0x9c]
push ebx
push eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], str.install.png
call fcn.1003475e
add esp, 0xc
mov dword [esp + 0x508], ebx
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x100037f5
lea eax, [esp + 0x9c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x10003897
push 0x206
lea edx, [esp + 0x2fa]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x300], cx
call fcn.1003c500
add esp, 0xc
push 0x104
lea eax, [esp + 0x2f8]
push eax
mov ebx, str.wfchost.exe
xor ecx, ecx
call fcn.10025772
lea ecx, [esp + 0x2f4]
push ecx
call esi
test eax, eax
jne 0x10003868
cmp dword [esp + 0xb0], 8
jb 0x10004249
mov edx, dword [esp + 0x9c]
push edx
jmp 0x10004241
lea eax, [esp + 0x2f4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003872
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2f8]
lea esi, [esp + 0x9c]
call fcn.100023a0
xor ebx, ebx
cmp edi, ebx
jne 0x100038a3
mov dword [esp + 0x70], 0x10057d00
cmp dword [esp + 0x34], ebx
je 0x1000422f
cmp ebp, ebx
je 0x1000422f
xor eax, eax
cmp eax, str.install.png
jne 0x100038c6
mov dword [esp + 0x6c], str.rtmessage.png
and dword [esp + 0x5c], 0xfffffe00
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
mov byte [esp + 0x508], 2
call fcn.10001aa0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x510], 3
call fcn.10002ed0
mov byte [esp + 0x510], 4
sub esp, 0x10
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [eax + 0x18], 0x10
mov edi, dword [eax + 0x14]
mov dword [esp + 0x2c], esp
jb 0x10003939
mov eax, dword [eax + 4]
jmp 0x1000393c
add eax, 4
push eax
call fcn.1002d140
add esp, 4
mov dword [esi], eax
push str.title
lea eax, [esp + 0x70]
push eax
mov ecx, 0x10057d29
mov byte [esp + 0x528], 5
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 4
call fcn.1002d91e
cmp dword [esp + 0x30], 0x10
jb 0x10003986
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1003a2e7
add esp, 4
mov byte [esp + 0x508], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x100039b2
mov edx, dword [esp + 0x3c]
push edx
call fcn.1003a2e7
add esp, 4
mov eax, ebp
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x510], 6
call fcn.10002ed0
mov byte [esp + 0x510], 7
sub esp, 0x10
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [eax + 0x18], 0x10
mov edi, dword [eax + 0x14]
mov dword [esp + 0x2c], esp
jb 0x10003a07
mov eax, dword [eax + 4]
jmp 0x10003a0a
add eax, 4
push eax
call fcn.1002d140
add esp, 4
mov dword [esi], eax
push str.content
lea edx, [esp + 0x70]
push edx
mov ecx, 0x10057d33
mov byte [esp + 0x528], 8
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 7
call fcn.1002d91e
cmp dword [esp + 0x30], 0x10
jb 0x10003a54
mov eax, dword [esp + 0x1c]
push eax
call fcn.1003a2e7
add esp, 4
mov byte [esp + 0x508], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x10003a80
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x510], 9
call fcn.10002ed0
mov byte [esp + 0x510], 0xa
sub esp, 0x10
mov esi, esp
mov byte [esi + 8], 4
mov ebp, 0x100
or dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [eax + 0x18], 0x10
mov edi, dword [eax + 0x14]
mov dword [esp + 0x2c], esp
jb 0x10003ad8
mov eax, dword [eax + 4]
jmp 0x10003adb
add eax, 4
push eax
call fcn.1002d140
add esp, 4
mov dword [esi], eax
push str.btnText
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x10057d3b
mov byte [esp + 0x528], 0xb
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 0xa
call fcn.1002d91e
cmp dword [esp + 0x30], 0x10
jb 0x10003b25
mov edx, dword [esp + 0x1c]
push edx
call fcn.1003a2e7
add esp, 4
mov byte [esp + 0x508], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x10003b51
mov eax, dword [esp + 0x3c]
push eax
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x510], 0xc
call fcn.10002ed0
mov byte [esp + 0x510], 0xd
sub esp, 0x10
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [eax + 0x18], 0x10
mov edi, dword [eax + 0x14]
mov dword [esp + 0x2c], esp
jb 0x10003ba4
mov eax, dword [eax + 4]
jmp 0x10003ba7
add eax, 4
push eax
call fcn.1002d140
add esp, 4
mov dword [esi], eax
push str.icoName
lea eax, [esp + 0x70]
push eax
mov ecx, 0x10057d43
mov byte [esp + 0x528], 0xe
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 0xd
call fcn.1002d91e
cmp dword [esp + 0x30], 0x10
jb 0x10003bf1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1003a2e7
add esp, 4
mov ebp, 8
mov byte [esp + 0x508], 2
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x50], ebp
jb 0x10003c21
mov edx, dword [esp + 0x3c]
push edx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x10003ccf
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x510], 0xf
call fcn.10002ed0
sub esp, 0x10
mov byte [esp + 0x520], 0x10
mov edx, eax
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.1002d6cb
push 0x10057d44
lea edx, [esp + 0x70]
push edx
mov ecx, 0x10057d47
mov byte [esp + 0x528], 0x11
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 0x10
call fcn.1002d91e
cmp dword [esp + 0x30], 0x10
jb 0x10003ca4
mov eax, dword [esp + 0x1c]
push eax
call fcn.1003a2e7
add esp, 4
mov byte [esp + 0x508], 2
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x50], ebp
jb 0x10003ccf
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x10003d75
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x510], 0x12
call fcn.10002ed0
sub esp, 0x10
mov byte [esp + 0x520], 0x13
mov edx, eax
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.1002d6cb
push str.param
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x10057d4d
mov byte [esp + 0x528], 0x14
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 0x13
call fcn.1002d91e
cmp dword [esp + 0x30], 0x10
jb 0x10003d52
mov edx, dword [esp + 0x1c]
push edx
call fcn.1003a2e7
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x50], ebp
jb 0x10003d75
mov eax, dword [esp + 0x3c]
push eax
call fcn.1003a2e7
add esp, 4
sub esp, 0x18
mov ecx, esp
mov esi, 0xfffffeff
xor eax, eax
mov byte [ecx + 8], 1
and dword [ecx + 8], esi
cmp dword [esp + 0x534], ebx
mov dword [esp + 0x2c], esp
setne al
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
push str.showNotAlert
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x10057d5c
mov byte [esp + 0x528], 0x18
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 2
call fcn.1002d91e
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 1
and dword [eax + 8], esi
mov dword [esp + 0x2c], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
push str.runas
lea edx, [esp + 0x70]
push edx
mov ecx, 0x10057d65
mov byte [esp + 0x528], 0x19
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 2
call fcn.1002d91e
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 1
and dword [eax + 8], esi
mov dword [esp + 0x2c], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
push str.fullscreen
lea eax, [esp + 0x70]
push eax
mov ecx, 0x10057d72
mov byte [esp + 0x528], 0x1d
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 2
call fcn.1002d91e
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 1
and dword [eax + 8], esi
mov dword [esp + 0x2c], esp
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea ecx, [esp + 0x6c]
push str.closeExpired
push ecx
mov byte [esp + 0x528], 0x1e
mov ecx, 0x10057d80
call fcn.1002e4e1
mov edi, eax
mov byte [esp + 0x520], 2
call fcn.1002d91e
lea esi, [esp + 0xd0]
call fcn.1000c410
push 0x206
lea eax, [esp + 0xf2]
xor edx, edx
push ebx
mov byte [esp + 0x510], 0x1f
push eax
mov word [esp + 0xf8], dx
call fcn.1003c500
add esp, 0xc
lea ecx, [esp + 0xec]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x38]
call fcn.1000c490
cmp dword [eax + 0x18], ebp
jb 0x10003f05
mov eax, dword [eax + 4]
jmp 0x10003f08
add eax, 4
push eax
lea edx, [esp + 0xf0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x50], ebp
jb 0x10003f2a
mov eax, dword [esp + 0x3c]
push eax
call fcn.1003a2e7
add esp, 4
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1002eb64
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x510], 0x21
call fcn.10034534
add esp, 8
mov edi, 0x10
mov byte [esp + 0x508], 0x23
cmp dword [esp + 0x30], edi
jb 0x10003f71
mov eax, dword [esp + 0x1c]
push eax
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0xcc], edi
jae 0x10003f98
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0xc8]
push ecx
push eax
lea edx, [esp + 0xf4]
push edx
call fcn.1002581b
call fcn.100269bd
mov esi, eax
cmp esi, ebx
je 0x10003fef
push esi
push 4
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x10003fd8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x10003fe6
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.1003a2e7
add esp, 4
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], ebp
jae 0x10004006
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xec]
push ecx
push eax
push str.__ls___common__ls
lea esi, [esp + 0x88]
call fcn.10026d81
add esp, 0xc
push ebx
mov byte [esp + 0x50c], 0x24
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebp
jae 0x10004049
lea eax, [esp + 0x80]
push eax
call fcn.1002607e
cmp eax, ebx
jne 0x10004092
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x1000406d
call esi
cmp eax, 0x522
jne 0x10004162
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebp
jae 0x10004084
lea eax, [esp + 0x80]
push eax
call fcn.10025f31
cmp eax, ebx
je 0x10004162
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x94], ebp
jb 0x100040b2
mov edx, dword [esp + 0x80]
push edx
call fcn.1003a2e7
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
cmp dword [esp + 0xcc], edi
jb 0x100040e7
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.1003a2e7
add esp, 4
mov esi, 0xf
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0xe8], edi
jb 0x1000411a
mov edx, dword [esp + 0xd4]
push edx
call fcn.1003a2e7
add esp, 4
mov dword [esp + 0xe8], esi
lea esi, [esp + 0x54]
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0x508], bl
call fcn.1002d89b
cmp dword [esp + 0xb0], ebp
jb 0x10004158
mov eax, dword [esp + 0x9c]
push eax
call fcn.1003a2e7
add esp, 4
mov eax, 1
jmp 0x1000424b
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ShowClientNotify_failed:
call esi
mov ecx, dword [esp + 0x34]
push ecx
call esi
cmp dword [esp + 0x94], ebp
jb 0x1000418f
mov edx, dword [esp + 0x80]
push edx
call fcn.1003a2e7
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], ax
cmp dword [esp + 0xcc], edi
jb 0x100041c4
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.1003a2e7
add esp, 4
mov esi, 0xf
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0xe8], edi
jb 0x100041f7
mov edx, dword [esp + 0xd4]
push edx
call fcn.1003a2e7
add esp, 4
mov dword [esp + 0xe8], esi
lea esi, [esp + 0x54]
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov byte [esp + 0x508], bl
call fcn.1002d89b
cmp dword [esp + 0xb0], ebp
jb 0x10004249
mov eax, dword [esp + 0x9c]
push eax
jmp 0x10004241
cmp dword [esp + 0xb0], 8
jb 0x10004249
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.1003a2e7
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x500]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e8]
xor ecx, esp
call fcn.10039e38
add esp, 0x4f8
ret