Function at 0x40eb50
Capabilities:
Copy file
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e65a1
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x870]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x12c]
xor ebx, ebx
cmp eax, ebx
je 0x40eba7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 0x60], ebx
jne 0x40ebb8
cmp dword [0x5154e8], ebx
jne 0x40f332
call fcn.004225b0
cmp dword [edi + 0x5c], ebx
jne 0x40eccf
cmp dword [edi + 0x2c], 4
jne 0x40eccf
lea esi, [edi + 0x94]
lea eax, [esp + 0x10]
push esi
push eax
mov ebx, 0x4f0d7c
call fcn.00413810
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
push esi
push ecx
mov ebx, 0x4f0318
mov dword [esp + 0x888], 0
call fcn.00413810
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [eax]
add esp, 0x10
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x878], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push esi
push ecx
mov ebx, str.QQPCDetector_
call fcn.00413810
add esp, 8
mov dword [esp + 0x878], 1
mov eax, dword [eax]
lea esi, [edi + 0xc]
push eax
mov eax, esi
call fcn.00409c00
mov dword [esp + 0x878], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ecbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 4]
test esi, esi
je 0x40eccd
push 1
push 0x3e7
push 1
call esi
xor ebx, ebx
lea esi, [esp + 0x2c]
call fcn.00409d40
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x5c]
cmp eax, ebx
mov edx, dword [edi + 0x9c]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
je 0x40ed06
mov dword [esp + 0x860], 0x40e3f0
cmp dword [edi + 0x60], ebx
je 0x40ed16
mov dword [esp + 0x85c], 1
lea esi, [esp + 0x10]
call fcn.00416a40
mov eax, dword [eax]
push 0x103
push eax
lea edx, [esp + 0x24c]
push 0x104
push edx
call fcn.004b9c7c
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x90]
push 0x103
push eax
lea ecx, [esp + 0x44]
push 0x104
push ecx
call fcn.004b9c7c
mov edx, dword [0x5157e0]
push 0x103
push edx
lea eax, [esp + 0x464]
push 0x104
push eax
call fcn.004b9c7c
mov eax, dword [edi + 0x94]
push 0x103
push eax
lea ecx, [esp + 0x67c]
push 0x104
push ecx
call fcn.004b9c7c
mov eax, dword [edi + 0x7c]
add esp, 0x30
cmp eax, ebx
je 0x40edc4
lea edx, [esp + 0x2c]
push edx
call eax
mov eax, dword [0x5157dc]
cmp eax, ebx
je 0x40ee00
lea edx, [esp + 0x18]
push edx
push ebx
push 0x4a
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x2711
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40ee1e
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0dc0
push ebx
push 5
call eax
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [edi + 0x90]
push edx
push 0x4f0dcc
mov ecx, 0x515890
mov dword [edi + 0x134], eax
call fcn.004899e0
mov eax, dword [edi + 0x90]
push eax
call fcn.00421e10
add esp, 0xc
test eax, eax
jne 0x40eeae
mov eax, dword [edi + 0x90]
push eax
call fcn.00421e10
add esp, 4
test eax, eax
jne 0x40eeae
mov eax, dword [edi + 0x90]
push eax
push str.CreateDeepDirectory__ws_
mov ecx, 0x515890
mov dword [edi + 8], 3
call fcn.004899e0
mov eax, dword [edi + 0xf4]
add esp, 8
cmp eax, ebx
je 0x40f3ba
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0dfc
push 3
push 0xa
call eax
add esp, 0x10
jmp 0x40f3ba
mov ecx, edi
call fcn.0040e400
cmp dword [edi + 0x60], ebx
jne 0x40eec6
cmp dword [0x5154e8], ebx
jne 0x40f332
push str.DownloadInstallGuideXml
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
cmp dword [edi + 0x40], ebx
jne 0x40eef5
cmp dword [edi + 0x5c], ebx
jne 0x40eef5
push ebx
push ebx
push edi
push 0x40de20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x70], eax
mov eax, dword [0x5157dc]
cmp eax, ebx
je 0x40ef31
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x4a
lea edx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x23
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x2711
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40ef4f
mov edx, dword [edi + 0x98]
push edx
push str.ck_W_e
push ebx
push 0x23
call eax
add esp, 0x10
push str.ExtractProductFiles_begin...
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
push ebx
call fcn.00422ac0
add esp, 4
mov esi, edi
call fcn.0040ca70
push 1
mov esi, eax
call fcn.00422ac0
add esp, 4
push str.ExtractProductFiles_end...
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
cmp dword [edi + 0x60], ebx
jne 0x40efa0
cmp dword [0x5154e8], ebx
jne 0x40f332
cmp esi, ebx
jne 0x40eff9
mov eax, 0xb
cmp dword [edi + 0xbc], eax
je 0x40efba
mov dword [edi + 8], 0xc
jmp 0x40efbd
mov dword [edi + 8], eax
push 0x4f0e78
mov ecx, 0x515890
call fcn.004899e0
mov eax, dword [edi + 0xf4]
add esp, 4
cmp eax, ebx
je 0x40f3ba
mov ecx, dword [edi + 0x98]
mov edx, dword [edi + 8]
push ecx
push 0x4f0dfc
push edx
push 0x2d
call eax
add esp, 0x10
jmp 0x40f3ba
mov eax, dword [0x5157dc]
cmp eax, ebx
je 0x40f035
lea edx, [esp + 0x18]
push edx
push ebx
push 0x4a
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x32
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x2711
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40f053
mov ecx, dword [edi + 0x98]
push ecx
push str.ck_W_h
push ebx
push 0x32
call eax
add esp, 0x10
push str.CRC_setup_files_begin...
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
lea esi, [edi + 0x9c]
call fcn.00417b80
push str.CCRC_setup_files_end...
mov ecx, 0x515890
mov esi, eax
call fcn.004899e0
add esp, 4
cmp dword [edi + 0x60], ebx
jne 0x40f095
cmp dword [0x5154e8], ebx
jne 0x40f332
cmp esi, ebx
jne 0x40f147
push str.Fix_files_begin...
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
push ebx
mov eax, 0x37
call fcn.00423010
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40f0d8
mov edx, dword [edi + 0x98]
push edx
push 0x4f0ee8
push ebx
push 0x37
call eax
add esp, 0x10
lea eax, [edi + 0x9c]
push eax
call fcn.00417be0
push str.Fix_files_end...
mov ecx, 0x515890
mov esi, eax
call fcn.004899e0
add esp, 4
cmp dword [edi + 0x60], ebx
jne 0x40f109
cmp dword [0x5154e8], ebx
jne 0x40f332
cmp esi, ebx
jne 0x40f147
lea eax, [edi + 0xa8]
call fcn.004050e0
mov eax, dword [edi + 0xf4]
cmp eax, ebx
mov dword [edi + 8], 0xd
je 0x40f3ba
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0f1c
push 0xd
push 0x3c
call eax
add esp, 0x10
jmp 0x40f3ba
mov eax, dword [0x5157dc]
cmp eax, ebx
je 0x40f183
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x4a
lea edx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x2711
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40f1a1
mov edx, dword [edi + 0x98]
push edx
push 0x4f0f44
push ebx
push 0x3c
call eax
add esp, 0x10
cmp dword [edi], ebx
je 0x40f1e9
push edi
call fcn.0040ea10
cmp eax, ebx
jne 0x40f1e9
push str.Blueray__
mov ecx, 0x515890
call fcn.004899e0
mov eax, dword [edi + 0xf4]
add esp, 4
cmp eax, ebx
je 0x40f3ba
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0f70
push 0xa
push 0x3c
call eax
add esp, 0x10
jmp 0x40f3ba
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x40f1f5
call eax
cmp dword [edi + 0x60], ebx
jne 0x40f206
cmp dword [0x5154e8], ebx
jne 0x40f332
push ebx
mov eax, 0x4b
call fcn.00423010
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40f22f
mov edx, dword [edi + 0x98]
push edx
push str.ck_WL
push ebx
push 0x4b
call eax
add esp, 0x10
cmp dword [edi + 0x5c], ebx
jne 0x40f23e
mov eax, dword [edi + 0x3c]
push eax
push edi
call fcn.00411ab0
cmp dword [edi + 0x60], ebx
jne 0x40f24f
cmp dword [0x5154e8], ebx
jne 0x40f332
push str.BackupSetup_begin
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
mov ebx, edi
call fcn.00412460
push str.BackupSetup_end
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
push 0x4f0fb8
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
mov ecx, edi
call fcn.00412d00
push 0x4f0fc8
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
push 0
mov eax, 0x50
call fcn.00423010
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x40f2d0
mov ecx, dword [edi + 0x98]
push ecx
push str.ck_WL
push 0
push 0x50
call eax
add esp, 0x10
cmp dword [edi + 0xe4], 0
je 0x40f323
call fcn.004184f0
test eax, eax
jne 0x40f323
push 0x4f0fd8
mov ecx, 0x515890
mov dword [edi + 8], 0xf
call fcn.004899e0
mov eax, dword [edi + 0xf4]
add esp, 4
test eax, eax
je 0x40f3ba
mov edx, dword [edi + 0x98]
push edx
push 0x4f0ffc
push 0xf
push 0x64
call eax
add esp, 0x10
jmp 0x40f3ba
cmp dword [edi + 0x60], 0
jne 0x40f341
cmp dword [0x5154e8], 0
je 0x40f341
push edi
mov dword [edi + 8], 0x10
call fcn.004131e0
jmp 0x40f3ba
mov ebx, edi
call fcn.00412bb0
push str.Superfetch_begin
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
lea eax, [edi + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
mov ebx, str.QQPCTray.exe
call fcn.00413810
add esp, 8
mov ecx, 2
mov dword [esp + 0x878], ecx
mov eax, dword [eax]
mov edx, eax
call fcn.0048cb60
lea ecx, [esp + 0x24]
mov dword [esp + 0x878], 0xffffffff
call fcn.00416ce0
push str.Superfetch_end
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
call fcn.0040baa0
mov dword [edi + 8], 0
mov esi, edi
call fcn.0040a580
mov ecx, edi
call fcn.0040f3f0
mov ecx, dword [esp + 0x870]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.004b84de
mov esp, ebp
pop ebp
ret