Function at 0x41b350
Capabilities:
Check if file exists
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498860
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4ba110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x70], ecx
call eax
push str.setup.exe
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.0040ce40
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x41b3b0
mov esi, dword [eax]
jmp 0x41b3b2
mov esi, eax
mov edx, dword [0x4bb674]
mov dword [ebp - 0x68], edx
test esi, esi
je 0x41b405
mov eax, esi
shr eax, 0x10
test eax, eax
jne 0x41b3d6
movzx eax, si
push eax
lea ecx, [ebp - 0x68]
call fcn.00401720
jmp 0x41b405
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b405
push ebx
lea ecx, [ebp - 0x68]
call fcn.00401970
test eax, eax
je 0x41b405
mov ecx, dword [ebp - 0x68]
lea eax, [ebx + ebx]
push eax
push esi
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
mov edi, dword [ebp - 0x70]
push str.setup.exe
add edi, 0x10c
lea edx, [ebp - 0x48]
push edi
push edx
mov byte [ebp - 4], 2
call fcn.0040cb20
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x41b432
mov esi, dword [eax]
jmp 0x41b434
mov esi, eax
mov eax, dword [0x4bb674]
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x41b486
mov ecx, esi
shr ecx, 0x10
test ecx, ecx
jne 0x41b457
movzx eax, si
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401720
jmp 0x41b486
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b486
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00401970
test eax, eax
je 0x41b486
mov edx, dword [ebp - 0x6c]
lea eax, [ebx + ebx]
push eax
push esi
add eax, 2
push eax
push edx
call fcn.00401020
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [0x4bb674]
push ecx
mov esi, esp
mov dword [esi], eax
mov eax, 0x4a67bc
shr eax, 0x10
mov dword [ebp - 0x7c], esp
mov dword [ebp - 0x74], eax
test ax, ax
jne 0x41b4b9
mov ecx, 0x4a67bc
movzx eax, cx
push eax
mov ecx, esi
call fcn.00401720
jmp 0x41b4ee
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b4ee
push ebx
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x41b4ee
mov edx, dword [esi]
lea eax, [ebx + ebx]
push eax
push 0x4a67bc
add eax, 2
push eax
push edx
call fcn.00401020
add esp, 0x10
cmp word [ebp - 0x74], 0
mov byte [ebp - 4], 5
mov eax, dword [0x4bb674]
push ecx
mov ebx, esp
mov dword [ebp - 0x78], esp
mov dword [ebx], eax
jne 0x41b518
mov ecx, 0x4a67bc
movzx eax, cx
push eax
mov ecx, ebx
call fcn.00401720
jmp 0x41b54d
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41b54d
push esi
mov ecx, ebx
call fcn.00401970
test eax, eax
je 0x41b54d
mov edx, dword [ebx]
lea eax, [esi + esi]
push eax
push 0x4a67bc
add eax, 2
push eax
push edx
call fcn.00401020
add esp, 0x10
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x6c]
add eax, 0x40
push edx
push eax
xor cl, cl
mov byte [ebp - 4], 4
call fcn.00417a20
mov eax, dword [ebp - 0x6c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41b58c
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b58c
push esi
call fcn.00473f58
add esp, 4
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x41b5a2
mov edx, dword [ebp - 0x48]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
mov ebx, 7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
cmp ecx, dword [0x4bb670]
je 0x41b5e1
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b5dc
push esi
call fcn.00473f58
add esp, 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41b5f2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], esi
jb 0x41b61a
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00473515
add esp, 4
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [ebp - 0x64]
push eax
call edx
push str.chrome.packed.7z
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 6
call fcn.0040ce40
add esp, 0xc
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], esi
jb 0x41b64e
mov esi, dword [eax]
jmp 0x41b650
mov esi, eax
mov ecx, dword [0x4bb674]
mov dword [ebp - 0x6c], ecx
test esi, esi
je 0x41b6a3
mov edx, esi
shr edx, 0x10
test edx, edx
jne 0x41b674
movzx eax, si
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401720
jmp 0x41b6a3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b6a3
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00401970
test eax, eax
je 0x41b6a3
lea eax, [ebx + ebx]
push eax
add eax, 2
push esi
push eax
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00401020
add esp, 0x10
push str.chrome.packed.7z
lea ecx, [ebp - 0x2c]
push edi
push ecx
mov byte [ebp - 4], 8
call fcn.0040cb20
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x41b6c7
mov esi, dword [eax]
jmp 0x41b6c9
mov esi, eax
mov edx, dword [0x4bb674]
mov dword [ebp - 0x68], edx
test esi, esi
je 0x41b71c
mov eax, esi
shr eax, 0x10
test eax, eax
jne 0x41b6ed
movzx eax, si
push eax
lea ecx, [ebp - 0x68]
call fcn.00401720
jmp 0x41b71c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b71c
push ebx
lea ecx, [ebp - 0x68]
call fcn.00401970
test eax, eax
je 0x41b71c
mov ecx, dword [ebp - 0x68]
lea eax, [ebx + ebx]
push eax
push esi
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
cmp word [ebp - 0x74], 0
mov byte [ebp - 4], 0xa
mov edx, dword [0x4bb674]
push ecx
mov esi, esp
mov dword [ebp - 0x78], esp
mov dword [esi], edx
jne 0x41b747
mov eax, 0x4a67bc
movzx eax, ax
push eax
mov ecx, esi
call fcn.00401720
jmp 0x41b77c
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b77c
push ebx
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x41b77c
mov ecx, dword [esi]
lea eax, [ebx + ebx]
push eax
push 0x4a67bc
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
cmp word [ebp - 0x74], 0
mov byte [ebp - 4], 0xb
mov edx, dword [0x4bb674]
push ecx
mov ebx, esp
mov dword [ebp - 0x7c], esp
mov dword [ebx], edx
jne 0x41b7a7
mov eax, 0x4a67bc
movzx eax, ax
push eax
mov ecx, ebx
call fcn.00401720
jmp 0x41b7dc
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41b7dc
push esi
mov ecx, ebx
call fcn.00401970
test eax, eax
je 0x41b7dc
mov ecx, dword [ebx]
lea eax, [esi + esi]
push eax
push 0x4a67bc
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x70]
add eax, 0x40
push eax
xor cl, cl
mov byte [ebp - 4], 0xa
call fcn.00417a20
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41b81b
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b81b
push esi
call fcn.00473f58
add esp, 4
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41b831
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x6c]
lea ecx, [eax - 0xc]
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
cmp ecx, dword [0x4bb670]
je 0x41b870
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b86b
push esi
call fcn.00473f58
add esp, 4
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x41b881
mov edx, dword [ebp - 0x48]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x41b8a9
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00473515
add esp, 4
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 0x50]
lea eax, [ebp - 0x64]
push eax
call edx
push str.MPCBrowserUpdater.exe
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 0xc
call fcn.0040ce40
add esp, 0xc
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], esi
jb 0x41b8dd
mov esi, dword [eax]
jmp 0x41b8df
mov esi, eax
mov ecx, dword [0x4bb674]
mov dword [ebp - 0x6c], ecx
test esi, esi
je 0x41b932
mov edx, esi
shr edx, 0x10
test edx, edx
jne 0x41b903
movzx eax, si
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401720
jmp 0x41b932
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b932
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00401970
test eax, eax
je 0x41b932
lea eax, [ebx + ebx]
push eax
add eax, 2
push esi
push eax
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00401020
add esp, 0x10
push str.MPCBrowserUpdater.exe
lea ecx, [ebp - 0x2c]
push edi
push ecx
mov byte [ebp - 4], 0xe
call fcn.0040cb20
add esp, 0xc
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x41b956
mov esi, dword [eax]
jmp 0x41b958
mov esi, eax
mov edx, dword [0x4bb674]
mov dword [ebp - 0x68], edx
test esi, esi
je 0x41b9ab
mov eax, esi
shr eax, 0x10
test eax, eax
jne 0x41b97c
movzx eax, si
push eax
lea ecx, [ebp - 0x68]
call fcn.00401720
jmp 0x41b9ab
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41b9ab
push ebx
lea ecx, [ebp - 0x68]
call fcn.00401970
test eax, eax
je 0x41b9ab
mov ecx, dword [ebp - 0x68]
lea eax, [ebx + ebx]
push eax
push esi
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
mov edi, dword [ebp - 0x74]
mov byte [ebp - 4], 0x10
mov edx, dword [0x4bb674]
push ecx
mov esi, esp
mov dword [ebp - 0x78], esp
mov dword [esi], edx
test di, di
jne 0x41b9d7
mov eax, 0x4a67bc
movzx eax, ax
push eax
mov ecx, esi
call fcn.00401720
jmp 0x41ba0c
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41ba0c
push ebx
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x41ba0c
mov ecx, dword [esi]
lea eax, [ebx + ebx]
push eax
push 0x4a67bc
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
mov byte [ebp - 4], 0x11
mov edx, dword [0x4bb674]
push ecx
mov ebx, esp
mov dword [ebp - 0x7c], esp
mov dword [ebx], edx
test di, di
jne 0x41ba35
mov eax, 0x4a67bc
movzx eax, ax
push eax
mov ecx, ebx
call fcn.00401720
jmp 0x41ba6a
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41ba6a
push esi
mov ecx, ebx
call fcn.00401970
test eax, eax
je 0x41ba6a
mov ecx, dword [ebx]
lea eax, [esi + esi]
push eax
push 0x4a67bc
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
mov edi, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x68]
push eax
lea eax, [edi + 0x40]
push eax
xor cl, cl
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0x10
call fcn.00417a20
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41baac
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41baac
push esi
call fcn.00473f58
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x41babe
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x6c]
lea ecx, [eax - 0xc]
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
cmp ecx, dword [0x4bb670]
je 0x41baf8
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41baf8
push esi
call fcn.00473f58
add esp, 4
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x41bb0e
mov edx, dword [ebp - 0x48]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x41bb36
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00473515
add esp, 4
mov ebx, dword [edi + 0x190]
test ebx, ebx
je 0x41bb49
mov edx, dword [ebp - 0x70]
push edx
call fcn.004095f0
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
je 0x41bb5c
mov eax, dword [ebp - 0x70]
push eax
call fcn.00407b80
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call edx
push str.Application_
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x12
call fcn.0040ce40
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x41bb92
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
setne bl
cmp dword [ebp - 0x18], esi
jb 0x41bbb0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00473515
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], esi
jb 0x41bbdc
mov eax, dword [ebp - 0x64]
push eax
call fcn.00473515
add esp, 4
test bl, bl
je 0x41bc55
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call edx
push str.Application_
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x13
call fcn.0040ce40
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x41bc0d
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x18], esi
jb 0x41bc29
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00473515
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], esi
jb 0x41bc55
mov eax, dword [ebp - 0x64]
push eax
call fcn.00473515
add esp, 4
mov ecx, dword [0x4bb674]
mov edx, str.http:__files.playfree.org_tools_hp_pt.exe
shr edx, 0x10
mov dword [ebp - 0x6c], ecx
test edx, edx
jne 0x41bc7d
mov eax, str.http:__files.playfree.org_tools_hp_pt.exe
movzx eax, ax
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401720
jmp 0x41bcb4
push str.http:__files.playfree.org_tools_hp_pt.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41bcb4
push esi
lea ecx, [ebp - 0x6c]
call fcn.00401970
test eax, eax
je 0x41bcb4
mov ecx, dword [ebp - 0x6c]
lea eax, [esi + esi]
push eax
push str.http:__files.playfree.org_tools_hp_pt.exe
add eax, 2
push eax
push ecx
call fcn.00401020
add esp, 0x10
mov dword [ebp - 4], 0x14
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call edx
push str.hp_pt.exe
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040ce40
add esp, 0xc
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
jb 0x41bcec
mov esi, dword [eax]
jmp 0x41bcee
mov esi, eax
mov ecx, dword [0x4bb674]
mov dword [ebp - 0x68], ecx
test esi, esi
je 0x41bd41
mov edx, esi
shr edx, 0x10
test edx, edx
jne 0x41bd12
movzx eax, si
push eax
lea ecx, [ebp - 0x68]
call fcn.00401720
jmp 0x41bd41
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41bd41
push ebx
lea ecx, [ebp - 0x68]
call fcn.00401970
test eax, eax
je 0x41bd41
lea eax, [ebx + ebx]
push eax
add eax, 2
push esi
push eax
mov eax, dword [ebp - 0x68]
push eax
call fcn.00401020
add esp, 0x10
cmp word [ebp - 0x74], 0
push ecx
mov byte [ebp - 4], 0x17
mov ecx, dword [0x4bb674]
mov esi, esp
mov dword [ebp - 0x78], esp
mov dword [esi], ecx
jne 0x41bd6c
mov edx, 0x4a67bc
movzx eax, dx
push eax
mov ecx, esi
call fcn.00401720
jmp 0x41bda1
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41bda1
push ebx
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x41bda1
lea eax, [ebx + ebx]
push eax
add eax, 2
push 0x4a67bc
push eax
mov eax, dword [esi]
push eax
call fcn.00401020
add esp, 0x10
cmp word [ebp - 0x74], 0
push ecx
mov byte [ebp - 4], 0x18
mov ecx, dword [0x4bb674]
mov ebx, esp
mov dword [ebp - 0x7c], esp
mov dword [ebx], ecx
jne 0x41bdcc
mov edx, 0x4a67bc
movzx eax, dx
push eax
mov ecx, ebx
call fcn.00401720
jmp 0x41be01
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41be01
push esi
mov ecx, ebx
call fcn.00401970
test eax, eax
je 0x41be01
lea eax, [esi + esi]
push eax
add eax, 2
push 0x4a67bc
push eax
mov eax, dword [ebx]
push eax
call fcn.00401020
add esp, 0x10
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x68]
push edx
push eax
xor cl, cl
mov byte [ebp - 4], 0x17
call fcn.00417a20
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41be3d
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41be3d
push esi
call fcn.00473f58
add esp, 4
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x41be53
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x41be79
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00473515
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
xor edx, edx
lea ecx, [eax - 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp ecx, dword [0x4bb670]
je 0x41beb5
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41beb5
push esi
call fcn.00473f58
add esp, 4
mov edx, dword [0x4bb674]
mov eax, str.http:__files.playfree.org_tools_hp_pt_1.exe
shr eax, 0x10
mov dword [ebp - 0x6c], edx
test eax, eax
jne 0x41bedd
mov ecx, str.http:__files.playfree.org_tools_hp_pt_1.exe
movzx eax, cx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401720
jmp 0x41bf14
push str.http:__files.playfree.org_tools_hp_pt_1.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41bf14
push esi
lea ecx, [ebp - 0x6c]
call fcn.00401970
test eax, eax
je 0x41bf14
mov edx, dword [ebp - 0x6c]
lea eax, [esi + esi]
push eax
push str.http:__files.playfree.org_tools_hp_pt_1.exe
add eax, 2
push eax
push edx
call fcn.00401020
add esp, 0x10
mov dword [ebp - 4], 0x19
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call edx
push str.hp_pt_1.exe
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040ce40
add esp, 0xc
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], ebx
jb 0x41bf4b
mov esi, dword [eax]
jmp 0x41bf4d
mov esi, eax
mov ecx, dword [0x4bb674]
mov dword [ebp - 0x68], ecx
test esi, esi
je 0x41bfa0
mov edx, esi
shr edx, 0x10
test edx, edx
jne 0x41bf71
movzx eax, si
push eax
lea ecx, [ebp - 0x68]
call fcn.00401720
jmp 0x41bfa0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41bfa0
push ebx
lea ecx, [ebp - 0x68]
call fcn.00401970
test eax, eax
je 0x41bfa0
lea eax, [ebx + ebx]
push eax
add eax, 2
push esi
push eax
mov eax, dword [ebp - 0x68]
push eax
call fcn.00401020
add esp, 0x10
mov edi, dword [ebp - 0x74]
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, dword [0x4bb674]
mov esi, esp
mov dword [ebp - 0x78], esp
mov dword [esi], ecx
test di, di
jne 0x41bfcc
mov edx, 0x4a67bc
movzx eax, dx
push eax
mov ecx, esi
call fcn.00401720
jmp 0x41c000
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x41c000
push ebx
mov ecx, esi
call fcn.00401970
test eax, eax
je 0x41c000
mov eax, dword [esi]
add ebx, ebx
push ebx
push 0x4a67bc
add ebx, 2
push ebx
push eax
call fcn.00401020
add esp, 0x10
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, dword [0x4bb674]
mov ebx, esp
mov dword [ebp - 0x7c], esp
mov dword [ebx], ecx
test di, di
jne 0x41c029
mov edx, 0x4a67bc
movzx eax, dx
push eax
mov ecx, ebx
call fcn.00401720
jmp 0x41c05d
push 0x4a67bc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x41c05d
push esi
mov ecx, ebx
call fcn.00401970
test eax, eax
je 0x41c05d
mov eax, dword [ebx]
add esi, esi
push esi
push 0x4a67bc
add esi, 2
push esi
push eax
call fcn.00401020
add esp, 0x10
mov ebx, dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x68]
push edx
push ebx
xor cl, cl
mov byte [ebp - 4], 0x1c
call fcn.00417a20
mov eax, dword [ebp - 0x68]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x41c099
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c099
push esi
call fcn.00473f58
add esp, 4
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x41c0af
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00473515
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], edi
jb 0x41c0d5
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00473515
add esp, 4
mov eax, dword [ebp - 0x6c]
xor edx, edx
lea ecx, [eax - 0xc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
cmp ecx, dword [0x4bb670]
je 0x41c10a
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c10a
push esi
call fcn.00473f58
add esp, 4
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x78]
push eax
push 0
push ebx
push 0x422c50
push 0
push 0
call fcn.00478f26
add esp, 0x18
mov dword [ebx + 0x38], eax
test eax, eax
je 0x41c13f
mov ecx, dword [ebx + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047421a
mov esp, ebp
pop ebp
ret