Function at 0x1001b6b2
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push 0xc0
mov eax, 0x1005e451
call fcn.100420aa
mov eax, dword [ebp + 8]
push str.wfchost.exe
mov dword [ebp - 0x74], eax
xor ebx, ebx
lea eax, [ebp - 0x30]
mov esi, ecx
push ebx
mov edi, str.banmail.png
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], edi
call fcn.1002a396
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1001b6f7
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001b716
xor edi, edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.10006669
mov eax, edi
jmp 0x1001bacb
cmp esi, ebx
je 0x1001babe
cmp dword [ebp - 0x74], ebx
je 0x1001babe
xor eax, eax
cmp eax, edi
jne 0x1001b734
mov dword [ebp - 0x70], str.rtmessage.png
push ebx
push ebx
lea eax, [ebp - 0x94]
call fcn.1002e978
push esi
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.100057e7
mov eax, esi
push eax
lea edi, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.10003059
sub esp, 0x14
mov byte [ebp - 4], 5
mov edx, eax
mov esi, esp
mov dword [ebp - 0x6c], esp
call fcn.1002d9af
lea eax, [ebp - 0x94]
push eax
mov edx, str.title
mov byte [ebp - 4], 6
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 5
call fcn.1002dc02
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.10001e5b
push ebx
push 1
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.10006669
push dword [ebp - 0x74]
lea esi, [ebp - 0xb0]
call fcn.100057e7
mov eax, esi
push eax
lea edi, [ebp - 0xcc]
mov byte [ebp - 4], 7
call fcn.10003059
sub esp, 0x14
mov byte [ebp - 4], 8
mov edx, eax
mov esi, esp
mov dword [ebp - 0x6c], esp
call fcn.1002d9af
lea eax, [ebp - 0x94]
push eax
mov edx, 0x10064b20
mov byte [ebp - 4], 9
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 8
call fcn.1002dc02
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.10001e5b
push ebx
push 1
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.10006669
push 0x10065204
lea esi, [ebp - 0xb0]
call fcn.100057e7
mov eax, esi
mov byte [ebp - 4], 0xa
push eax
lea edi, [ebp - 0xcc]
call fcn.10003059
sub esp, 0x14
mov byte [ebp - 4], 0xb
mov edx, eax
mov esi, esp
mov dword [ebp - 0x6c], esp
call fcn.1002d9af
lea eax, [ebp - 0x94]
push eax
mov edx, str.btnText
mov byte [ebp - 4], 0xc
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.1002dc02
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.10001e5b
push ebx
push 1
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.10006669
push dword [ebp - 0x70]
lea esi, [ebp - 0xb0]
call fcn.100057e7
mov eax, esi
push eax
lea edi, [ebp - 0xcc]
mov byte [ebp - 4], 0xd
call fcn.10003059
sub esp, 0x14
mov byte [ebp - 4], 0xe
mov edx, eax
mov esi, esp
mov dword [ebp - 0x6c], esp
call fcn.1002d9af
lea eax, [ebp - 0x94]
push eax
mov edx, str.icoName
mov byte [ebp - 4], 0xf
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.1002dc02
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.10001e5b
push ebx
push 1
lea esi, [ebp - 0xb0]
call fcn.10006669
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push 1
call fcn.1002d8d0
lea eax, [ebp - 0x94]
push eax
mov edx, str.showNotAlert
mov byte [ebp - 4], 0x19
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 3
call fcn.1002dc02
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push ebx
call fcn.1002d8d0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x94]
push eax
mov edx, str.runas
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 3
call fcn.1002dc02
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push ebx
call fcn.1002d8d0
lea eax, [ebp - 0x94]
push eax
mov edx, str.fullscreen
mov byte [ebp - 4], 0x1e
call fcn.1002ec16
mov edi, eax
mov byte [ebp - 4], 3
call fcn.1002dc02
sub esp, 0x1c
lea eax, [ebp - 0x94]
mov ecx, esp
mov dword [ebp - 0x6c], esp
push eax
call fcn.1002f070
lea ebx, [ebp - 0xcc]
call fcn.10039ecf
add esp, 0x1c
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1f
call fcn.10003019
pop ecx
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x21
call fcn.10001e5b
mov ecx, dword [ebp - 0x64]
push 8
pop esi
cmp dword [ebp - 0x50], esi
jae 0x1001b9ec
lea ecx, [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1001b9f7
lea eax, [ebp - 0x2c]
push ecx
push eax
push str.__ls___common__ls
lea ecx, [ebp - 0x4c]
call fcn.100276d0
add esp, 0xc
push ebx
mov byte [ebp - 4], 0x22
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x1001ba1f
lea eax, [ebp - 0x48]
push eax
call fcn.10026cb7
cmp eax, ebx
jne 0x1001ba56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1001ba41
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x1001ba86
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x1001ba4c
lea eax, [ebp - 0x48]
push eax
call fcn.10026b6a
cmp eax, ebx
je 0x1001ba86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.10006669
push ebx
push edi
lea esi, [ebp - 0x68]
call fcn.10006669
lea esi, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.1002db7f
xor ebx, ebx
jmp 0x1001b704
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ShowClientNotify_failed:
call esi
push dword [ebp - 0x78]
call esi
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.10006669
push ebx
push edi
lea esi, [ebp - 0x68]
call fcn.10006669
lea esi, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.1002db7f
push ebx
push edi
jmp 0x1001bac1
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.10006669
xor eax, eax
call fcn.1004212d
ret