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

Disassembly:
push 0x4f8
mov eax, 0x1005c2d5
call fcn.100418da
mov eax, dword [ebp + 8]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0x20]
mov esi, str.wfchost.exe
push esi
mov dword [ebp - 0x4b0], eax
xor ebx, ebx
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.10022ad0
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x428], 8
mov eax, dword [ebp - 0x43c]
jae 0x10003431
lea eax, [ebp - 0x43c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x100034c3
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.10042870
add esp, 0xc
push 0x104
lea eax, [ebp - 0x424]
push eax
mov ebx, esi
xor ecx, ecx
call fcn.10031f41
lea eax, [ebp - 0x424]
push eax
call edi
test eax, eax
jne 0x10003499
xor edi, edi
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x440]
call fcn.1000233f
mov eax, edi
jmp 0x10003a88
lea eax, [ebp - 0x424]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100034a2
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x424]
lea edx, [ebp - 0x440]
call fcn.100025f8
xor ebx, ebx
cmp dword [ebp - 0x4a0], ebx
jne 0x100034d5
mov dword [ebp - 0x4a0], 0x1006209c
cmp dword [ebp - 0x49c], ebx
je 0x10003a78
cmp dword [ebp - 0x4ac], ebx
je 0x10003a78
cmp dword [ebp - 0x4a4], ebx
jne 0x100034ff
mov dword [ebp - 0x4a4], str.rtmessage.png
push ebx
push ebx
lea eax, [ebp - 0x4cc]
call fcn.10029909
push dword [ebp - 0x49c]
lea esi, [ebp - 0x4e8]
mov byte [ebp - 4], 3
call fcn.10002030
mov eax, esi
push eax
lea eax, [ebp - 0x504]
push eax
mov byte [ebp - 4], 4
call fcn.1000121f
sub esp, 0x10
mov byte [ebp - 4], 5
mov edx, eax
mov esi, esp
mov dword [ebp - 0x498], esp
call fcn.10028a1c
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.title
mov byte [ebp - 4], 6
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 5
call fcn.10028c6f
push ebx
push 1
lea ecx, [ebp - 0x504]
call fcn.10002243
push ebx
push 1
lea esi, [ebp - 0x4e8]
mov byte [ebp - 4], 3
call fcn.1000233f
push dword [ebp - 0x4ac]
lea esi, [ebp - 0x4e8]
call fcn.10002030
mov eax, esi
push eax
lea eax, [ebp - 0x504]
push eax
mov byte [ebp - 4], 7
call fcn.1000121f
sub esp, 0x10
mov byte [ebp - 4], 8
mov edx, eax
mov esi, esp
mov dword [ebp - 0x498], esp
call fcn.10028a1c
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.content
mov byte [ebp - 4], 9
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 8
call fcn.10028c6f
push ebx
push 1
lea ecx, [ebp - 0x504]
call fcn.10002243
push ebx
push 1
lea esi, [ebp - 0x4e8]
mov byte [ebp - 4], 3
call fcn.1000233f
push dword [ebp - 0x4a0]
lea esi, [ebp - 0x4e8]
call fcn.10002030
mov byte [ebp - 4], 0xa
mov eax, esi
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.1000121f
sub esp, 0x10
mov byte [ebp - 4], 0xb
mov edx, eax
mov esi, esp
mov dword [ebp - 0x498], esp
call fcn.10028a1c
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.btnText
mov byte [ebp - 4], 0xc
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.10028c6f
push ebx
push 1
lea ecx, [ebp - 0x504]
call fcn.10002243
push ebx
push 1
lea esi, [ebp - 0x4e8]
mov byte [ebp - 4], 3
call fcn.1000233f
push dword [ebp - 0x4a4]
lea esi, [ebp - 0x4e8]
call fcn.10002030
mov eax, esi
push eax
lea eax, [ebp - 0x504]
push eax
mov byte [ebp - 4], 0xd
call fcn.1000121f
sub esp, 0x10
mov byte [ebp - 4], 0xe
mov edx, eax
mov esi, esp
mov dword [ebp - 0x498], esp
call fcn.10028a1c
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.icoName
mov byte [ebp - 4], 0xf
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.10028c6f
push ebx
push 1
lea ecx, [ebp - 0x504]
call fcn.10002243
push ebx
push 1
lea esi, [ebp - 0x4e8]
call fcn.1000233f
xor eax, eax
cmp dword [ebp + 0x18], ebx
setne al
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x498], esp
push eax
call fcn.1002893d
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.showNotAlert
mov byte [ebp - 4], 0x19
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10028c6f
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x498], esp
push ebx
call fcn.1002893d
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.runas
mov byte [ebp - 4], 0x1a
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10028c6f
cmp dword [ebp - 0x4b0], ebx
je 0x100037dc
push dword [ebp - 0x4b0]
lea esi, [ebp - 0x4e8]
call fcn.10002030
mov eax, esi
push eax
lea eax, [ebp - 0x504]
push eax
mov byte [ebp - 4], 0x1b
call fcn.1000121f
sub esp, 0x10
mov byte [ebp - 4], 0x1c
mov edx, eax
mov esi, esp
mov dword [ebp - 0x498], esp
call fcn.10028a1c
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.singleton
mov byte [ebp - 4], 0x1d
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 0x1c
call fcn.10028c6f
push ebx
push 1
lea ecx, [ebp - 0x504]
call fcn.10002243
push ebx
push 1
lea esi, [ebp - 0x4e8]
call fcn.1000233f
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x498], esp
push ebx
call fcn.1002893d
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.fullscreen
mov byte [ebp - 4], 0x1e
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10028c6f
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x498], esp
push ebx
call fcn.1002893d
lea eax, [ebp - 0x4cc]
push eax
mov edx, str.closeExpired
mov byte [ebp - 4], 0x1f
call fcn.10029ba7
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10028c6f
lea esi, [ebp - 0x494]
call fcn.10005f4c
xor eax, eax
mov byte [ebp - 4], 0x20
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.10042870
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x504]
call fcn.10005fac
cmp dword [eax + 0x18], 8
jb 0x10003893
mov eax, dword [eax + 4]
jmp 0x10003896
add eax, 4
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x504]
call fcn.1000233f
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x504]
call fcn.1002a06c
push eax
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 0x22
call fcn.10036fcf
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 0x24
call fcn.10002243
cmp dword [ebp - 0x460], 0x10
mov eax, dword [ebp - 0x474]
jae 0x100038ff
lea eax, [ebp - 0x474]
push dword [ebp - 0x464]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10031ff3
lea eax, [ebp - 0x21c]
push eax
call fcn.10033cc5
cmp dword [ebp - 0x428], 8
mov eax, dword [ebp - 0x43c]
jae 0x10003933
lea eax, [ebp - 0x43c]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push str.__ls___common__ls
lea ecx, [ebp - 0x45c]
call fcn.1003416b
add esp, 0xc
push ebx
mov byte [ebp - 4], 0x25
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x1000396e
lea eax, [ebp - 0x458]
push edi
push eax
call fcn.100331ee
mov esi, eax
cmp esi, ebx
jne 0x100039b6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x10003995
call esi
cmp eax, 0x522
jne 0x10003a2a
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x100039aa
lea eax, [ebp - 0x458]
push eax
call fcn.100330a1
mov esi, eax
cmp esi, ebx
je 0x10003a2a
cmp dword [ebp - 0x4a8], ebx
je 0x100039e9
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100039dc
mov eax, dword [ebp - 0x4a8]
mov dword [eax], 0x3f2
jmp 0x100039e9
push dword [ebp - 0x4a8]
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
lea esi, [ebp - 0x45c]
call fcn.1000233f
push ebx
push edi
lea ecx, [ebp - 0x478]
call fcn.10002243
push ebx
push edi
lea ecx, [ebp - 0x494]
call fcn.10002243
lea esi, [ebp - 0x4cc]
mov byte [ebp - 4], bl
call fcn.10028bec
jmp 0x10003484
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ShowClientNotify_failed:
call esi
push dword [ebp - 0x49c]
call esi
push ebx
push edi
lea esi, [ebp - 0x45c]
call fcn.1000233f
push ebx
push edi
lea ecx, [ebp - 0x478]
call fcn.10002243
push ebx
push edi
lea ecx, [ebp - 0x494]
call fcn.10002243
lea esi, [ebp - 0x4cc]
mov byte [ebp - 4], bl
call fcn.10028bec
push ebx
push edi
jmp 0x10003a7b
push ebx
push 1
lea esi, [ebp - 0x440]
call fcn.1000233f
xor eax, eax
call fcn.1004195d
ret