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

Disassembly:
push 0xffffffffffffffff
push 0x1007cae4
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x504]
mov dword fs:[0], eax
mov eax, dword [esp + 0x518]
mov ebp, dword [esp + 0x514]
mov edi, edx
push str.wfchost.exe
xor ebx, ebx
lea edx, [esp + 0x80]
push ebx
push edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ecx
call fcn.1004e0e1
add esp, 0xc
mov dword [esp + 0x50c], ebx
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x10002098
lea eax, [esp + 0x80]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x10002135
push 0x206
lea ecx, [esp + 0x2fa]
push ebx
push ecx
mov word [esp + 0x300], ax
call fcn.10062cf0
add esp, 0xc
lea edx, [esp + 0x2f4]
push edx
mov ebx, str.wfchost.exe
xor ecx, ecx
call fcn.1003a7d3
lea eax, [esp + 0x2f4]
push eax
call esi
test eax, eax
jne 0x10002104
cmp dword [esp + 0x94], 8
jb 0x10002973
mov ecx, dword [esp + 0x80]
push ecx
jmp 0x1000296b
lea eax, [esp + 0x2f4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002110
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2f8]
lea esi, [esp + 0x80]
call fcn.10009460
xor ebx, ebx
cmp edi, ebx
jne 0x10002141
mov dword [esp + 0x6c], 0x10083ca4
cmp ebp, ebx
je 0x10002959
and dword [esp + 0x5c], 0xfffffe00
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov eax, 0x100845ac
lea ecx, [esp + 0x38]
mov byte [esp + 0x50c], 2
call fcn.10007820
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x514], 3
call fcn.100013e0
mov byte [esp + 0x514], 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
mov edi, dword [eax + 0x14]
mov ebp, 0x10
mov dword [esp + 0x30], esp
cmp dword [eax + 0x18], ebp
jb 0x100021c1
mov eax, dword [eax + 4]
jmp 0x100021c4
add eax, 4
push eax
call fcn.10043f17
add esp, 4
mov dword [esi], eax
push str.title
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x10083ccd
mov byte [esp + 0x52c], 5
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 4
call fcn.10044719
cmp dword [esp + 0x34], ebp
jb 0x1000220d
mov edx, dword [esp + 0x20]
push edx
call fcn.1005f31a
add esp, 4
mov byte [esp + 0x50c], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x10002239
mov eax, dword [esp + 0x3c]
push eax
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x38]
call fcn.10007820
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x514], 6
call fcn.100013e0
mov byte [esp + 0x514], 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
mov edi, dword [eax + 0x14]
mov dword [esp + 0x30], esp
cmp dword [eax + 0x18], ebp
jb 0x1000228f
mov eax, dword [eax + 4]
jmp 0x10002292
add eax, 4
push eax
call fcn.10043f17
add esp, 4
mov dword [esi], eax
push str.content
lea eax, [esp + 0x70]
push eax
mov ecx, 0x10083c6f
mov byte [esp + 0x52c], 8
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 7
call fcn.10044719
cmp dword [esp + 0x34], ebp
jb 0x100022db
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1005f31a
add esp, 4
mov byte [esp + 0x50c], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x10002307
mov edx, dword [esp + 0x3c]
push edx
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x38]
call fcn.10007820
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x514], 9
call fcn.100013e0
mov byte [esp + 0x514], 0xa
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
mov edi, dword [eax + 0x14]
mov dword [esp + 0x30], esp
cmp dword [eax + 0x18], ebp
jb 0x1000235d
mov eax, dword [eax + 4]
jmp 0x10002360
add eax, 4
push eax
call fcn.10043f17
add esp, 4
mov dword [esi], eax
push str.btnText
lea edx, [esp + 0x70]
push edx
mov ecx, 0x10083cd7
mov byte [esp + 0x52c], 0xb
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 0xa
call fcn.10044719
cmp dword [esp + 0x34], ebp
jb 0x100023a9
mov eax, dword [esp + 0x20]
push eax
call fcn.1005f31a
add esp, 4
mov byte [esp + 0x50c], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x100023d5
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1005f31a
add esp, 4
mov eax, str.rtmessage.png
lea ecx, [esp + 0x38]
call fcn.10007820
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x514], 0xc
call fcn.100013e0
mov byte [esp + 0x514], 0xd
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
mov edi, dword [eax + 0x14]
mov dword [esp + 0x30], esp
cmp dword [eax + 0x18], ebp
jb 0x1000242c
mov eax, dword [eax + 4]
jmp 0x1000242f
add eax, 4
push eax
call fcn.10043f17
add esp, 4
mov dword [esi], eax
push str.icoName
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x10083cdf
mov byte [esp + 0x52c], 0xe
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 0xd
call fcn.10044719
cmp dword [esp + 0x34], ebp
jb 0x10002478
mov edx, dword [esp + 0x20]
push edx
call fcn.1005f31a
add esp, 4
mov byte [esp + 0x50c], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x100024a4
mov eax, dword [esp + 0x3c]
push eax
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x10002529
lea ecx, [esp + 0x38]
call fcn.10007820
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x514], 0xf
call fcn.100013e0
sub esp, 0x10
mov byte [esp + 0x524], 0x10
mov edx, eax
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.100444c6
push 0x10083ce0
lea eax, [esp + 0x70]
push eax
mov ecx, 0x10083ce3
mov byte [esp + 0x52c], 0x11
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 0x10
call fcn.10044719
lea ecx, [esp + 0x1c]
call fcn.100077c0
lea esi, [esp + 0x38]
mov byte [esp + 0x50c], 2
call fcn.1002fe50
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x100025a6
lea ecx, [esp + 0x38]
call fcn.10007820
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x514], 0x12
call fcn.100013e0
sub esp, 0x10
mov byte [esp + 0x524], 0x13
mov edx, eax
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.100444c6
push str.param
lea eax, [esp + 0x70]
push eax
mov ecx, 0x10083ce9
mov byte [esp + 0x52c], 0x14
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 0x13
call fcn.10044719
lea ecx, [esp + 0x1c]
call fcn.100077c0
lea esi, [esp + 0x38]
call fcn.1002fe50
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 + 0x30], 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, 0x10083cf8
mov byte [esp + 0x52c], 0x18
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 2
call fcn.10044719
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 1
and dword [eax + 8], esi
mov dword [esp + 0x30], 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, 0x10083d01
mov byte [esp + 0x52c], 0x19
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 2
call fcn.10044719
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 1
and dword [eax + 8], esi
mov dword [esp + 0x30], 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, 0x10083d0e
mov byte [esp + 0x52c], 0x1d
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 2
call fcn.10044719
sub esp, 0x18
mov eax, esp
mov byte [eax + 8], 1
and dword [eax + 8], esi
mov dword [esp + 0x30], 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 + 0x52c], 0x1e
mov ecx, 0x10083d1c
call fcn.1004535c
mov edi, eax
mov byte [esp + 0x524], 2
call fcn.10044719
lea esi, [esp + 0xd0]
call fcn.1000bae0
push 0x206
lea eax, [esp + 0xf2]
xor edx, edx
push ebx
mov byte [esp + 0x514], 0x1f
push eax
mov word [esp + 0xf8], dx
call fcn.10062cf0
add esp, 0xc
lea ecx, [esp + 0xec]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x38]
call fcn.1000bb60
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x1000273b
mov eax, dword [eax + 4]
jmp 0x1000273e
add eax, 4
push eax
lea edx, [esp + 0xf0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esp + 0x50], edi
jb 0x10002760
mov eax, dword [esp + 0x3c]
push eax
call fcn.1005f31a
add esp, 4
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call fcn.10045a67
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x514], 0x21
call fcn.1004d834
add esp, 8
mov byte [esp + 0x50c], 0x23
cmp dword [esp + 0x34], ebp
jb 0x100027a2
mov eax, dword [esp + 0x20]
push eax
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0xcc], ebp
jae 0x100027c9
lea eax, [esp + 0xb8]
mov ecx, dword [esp + 0xc8]
push ecx
push eax
lea edx, [esp + 0xf4]
push edx
call fcn.1003a877
call fcn.1003bdbc
mov esi, eax
cmp esi, ebx
je 0x10002820
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 0x10002809
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x10002817
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], edi
jae 0x10002837
lea eax, [esp + 0x80]
lea ecx, [esp + 0xec]
push ecx
push eax
push str.__ls___common__ls
lea esi, [esp + 0xa4]
call fcn.1003c4c4
add esp, 0xc
push ebx
mov byte [esp + 0x510], 0x24
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], edi
jae 0x1000287a
lea eax, [esp + 0x9c]
push eax
call fcn.1003b5b1
cmp eax, ebx
jne 0x100028bb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x1000289a
call esi
cmp eax, 0x522
jne 0x10002906
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], edi
jae 0x100028b1
lea eax, [esp + 0x9c]
push eax
call fcn.1003b464
cmp eax, ebx
je 0x10002906
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0x98]
call fcn.1002fe50
lea ecx, [esp + 0xb4]
call fcn.100077c0
lea ecx, [esp + 0xd0]
call fcn.100077c0
lea esi, [esp + 0x54]
mov byte [esp + 0x50c], bl
call fcn.10044696
lea esi, [esp + 0x7c]
call fcn.1002fe50
mov eax, 1
jmp 0x10002975
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ShowClientNotify_failed:
call esi
push 0x100845ac
call esi
lea esi, [esp + 0x98]
call fcn.1002fe50
lea ecx, [esp + 0xb4]
call fcn.100077c0
lea ecx, [esp + 0xd0]
call fcn.100077c0
lea esi, [esp + 0x54]
mov byte [esp + 0x50c], bl
call fcn.10044696
lea esi, [esp + 0x7c]
call fcn.1002fe50
jmp 0x10002973
cmp dword [esp + 0x94], 8
jb 0x10002973
mov edx, dword [esp + 0x80]
push edx
call fcn.1005f31a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x504]
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.1005ebcb
add esp, 0x4fc
ret