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

Disassembly:
push 0xffffffffffffffff
push 0x1004062a
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004e060]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf8]
mov ebp, dword [esp + 0xf0]
mov edi, dword [esp + 0xf4]
mov esi, edx
push str.wfchost.exe
xor ebx, ebx
lea edx, [esp + 0x8c]
push ebx
push edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x64], str.install.png
call fcn.10024130
add esp, 0xc
mov dword [esp + 0xe8], ebx
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x10002f11
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100035e9
cmp edi, ebx
jne 0x10002f2c
mov dword [esp + 0x54], 0x10043aac
cmp esi, ebx
je 0x100035e9
cmp ebp, ebx
je 0x100035e9
xor ecx, ecx
cmp ecx, str.install.png
jne 0x10002f4e
mov dword [esp + 0x58], str.rtmessage.png
and dword [esp + 0x64], 0xfffffe00
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov eax, esi
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 2
call fcn.10001aa0
lea edx, [esp + 0x38]
push edx
lea esi, [esp + 0x20]
mov byte [esp + 0xec], 3
call fcn.10002d90
mov byte [esp + 0xec], 4
sub esp, 0x14
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 0x10002fc2
mov eax, dword [eax + 4]
jmp 0x10002fc5
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push str.title
lea eax, [esp + 0x78]
push eax
mov ecx, 0x10043ad5
mov byte [esp + 0x108], 5
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 4
call fcn.1001d30c
cmp dword [esp + 0x34], ebp
jb 0x1000300e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002889e
add esp, 4
mov byte [esp + 0xe8], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x1000303a
mov edx, dword [esp + 0x3c]
push edx
call fcn.1002889e
add esp, 4
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x20]
mov byte [esp + 0xec], 6
call fcn.10002d90
mov byte [esp + 0xec], 7
sub esp, 0x14
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 0x10003092
mov eax, dword [eax + 4]
jmp 0x10003095
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push str.content
lea ecx, [esp + 0x78]
push ecx
mov ecx, 0x10043adf
mov byte [esp + 0x108], 8
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 7
call fcn.1001d30c
cmp dword [esp + 0x34], ebp
jb 0x100030de
mov edx, dword [esp + 0x20]
push edx
call fcn.1002889e
add esp, 4
mov byte [esp + 0xe8], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x1000310a
mov eax, dword [esp + 0x3c]
push eax
call fcn.1002889e
add esp, 4
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea ecx, [esp + 0x38]
push ecx
lea esi, [esp + 0x20]
mov byte [esp + 0xec], 9
call fcn.10002d90
mov byte [esp + 0xec], 0xa
sub esp, 0x14
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 0x1000315f
mov eax, dword [eax + 4]
jmp 0x10003162
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push str.btnText
lea edx, [esp + 0x78]
push edx
mov ecx, 0x10043ae7
mov byte [esp + 0x108], 0xb
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 0xa
call fcn.1001d30c
cmp dword [esp + 0x34], ebp
jb 0x100031ab
mov eax, dword [esp + 0x20]
push eax
call fcn.1002889e
add esp, 4
mov byte [esp + 0xe8], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x100031d7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1002889e
add esp, 4
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea edx, [esp + 0x38]
push edx
lea esi, [esp + 0x20]
mov byte [esp + 0xec], 0xc
call fcn.10002d90
mov byte [esp + 0xec], 0xd
sub esp, 0x14
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 0x1000322c
mov eax, dword [eax + 4]
jmp 0x1000322f
add eax, 4
push eax
call fcn.1001cb3c
add esp, 4
mov dword [esi], eax
push str.icoName
lea eax, [esp + 0x78]
push eax
mov ecx, 0x10043aef
mov byte [esp + 0x108], 0xe
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 0xd
call fcn.1001d30c
cmp dword [esp + 0x34], ebp
jb 0x10003278
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002889e
add esp, 4
mov byte [esp + 0xe8], 2
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x100032a4
mov edx, dword [esp + 0x3c]
push edx
call fcn.1002889e
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x1000332b
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x20]
mov byte [esp + 0xec], 0xf
call fcn.10002d90
sub esp, 0x14
mov byte [esp + 0x100], 0x10
mov edx, eax
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.1001d0b9
push 0x10043af0
lea ecx, [esp + 0x78]
push ecx
mov ecx, 0x10043af3
mov byte [esp + 0x108], 0x11
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 0x10
call fcn.1001d30c
lea ecx, [esp + 0x1c]
call fcn.10001a70
lea esi, [esp + 0x38]
mov byte [esp + 0xe8], 2
call fcn.10001b10
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x100033a7
lea ecx, [esp + 0x38]
call fcn.10001aa0
lea edx, [esp + 0x38]
push edx
lea esi, [esp + 0x20]
mov byte [esp + 0xec], 0x12
call fcn.10002d90
sub esp, 0x14
mov byte [esp + 0x100], 0x13
mov edx, eax
mov esi, esp
mov dword [esp + 0x30], esp
call fcn.1001d0b9
push str.param
lea eax, [esp + 0x78]
push eax
mov ecx, 0x10043af9
mov byte [esp + 0x108], 0x14
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 0x13
call fcn.1001d30c
lea ecx, [esp + 0x1c]
call fcn.10001a70
lea esi, [esp + 0x38]
call fcn.10001b10
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 + 0x114], 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 + 0x78]
push ecx
mov ecx, 0x10043b08
mov byte [esp + 0x108], 0x18
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 2
call fcn.1001d30c
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 + 0x78]
push edx
mov ecx, 0x10043b11
mov byte [esp + 0x108], 0x19
call fcn.1001decf
mov edi, eax
mov byte [esp + 0x100], 2
call fcn.1001d30c
sub esp, 0x1c
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.1001e553
lea edi, [esp + 0x38]
call fcn.10023f57
add esp, 0x1c
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0xec], 0x1d
call fcn.10002c90
add esp, 4
mov byte [esp + 0xe8], 0x1f
cmp dword [esp + 0x34], ebp
jb 0x1000349d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1002889e
add esp, 4
mov ecx, dword [esp + 0xc4]
mov edi, 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0xd8], edi
jae 0x100034c9
lea ecx, [esp + 0xc4]
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], edi
jae 0x100034e0
lea eax, [esp + 0x8c]
push ecx
push eax
push str.__ls___common__ls
lea esi, [esp + 0xb0]
call fcn.10018acf
add esp, 0xc
push ebx
mov byte [esp + 0xec], 0x20
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0xbc], edi
jae 0x1000351c
lea eax, [esp + 0xa8]
push eax
call fcn.1001829e
cmp eax, ebx
jne 0x1000355d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 5
je 0x1000353c
call esi
cmp eax, 0x522
jne 0x1000359f
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0xbc], edi
jae 0x10003553
lea eax, [esp + 0xa8]
push eax
call fcn.10018157
cmp eax, ebx
je 0x1000359f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [esp + 0xa4]
call fcn.10001b10
lea esi, [esp + 0xc0]
call fcn.10001b10
lea esi, [esp + 0x5c]
mov byte [esp + 0xe8], bl
call fcn.1001d289
lea esi, [esp + 0x88]
call fcn.10001b10
mov eax, 1
jmp 0x10003605
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.ShowClientNotify_failed:
call esi
mov edx, dword [esp + 0x78]
push edx
call esi
lea esi, [esp + 0xa4]
call fcn.10001b10
lea esi, [esp + 0xc0]
call fcn.10001b10
lea esi, [esp + 0x5c]
mov byte [esp + 0xe8], bl
call fcn.1001d289
lea esi, [esp + 0x88]
call fcn.10001b10
jmp 0x10003603
cmp dword [esp + 0xa0], 8
jb 0x10003603
mov eax, dword [esp + 0x8c]
push eax
call fcn.1002889e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.100283ef
add esp, 0xd8
ret