Function at 0x40eda0
Capabilities:
Copy file
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e64a1
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 0x40edf7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [edi + 0x60], ebx
jne 0x40ee08
cmp dword [0x515508], ebx
jne 0x40f582
call fcn.00422590
cmp dword [edi + 0x5c], ebx
jne 0x40ef1f
cmp dword [edi + 0x2c], 4
jne 0x40ef1f
lea esi, [edi + 0x94]
lea eax, [esp + 0x10]
push esi
push eax
mov ebx, 0x4f0d7c
call fcn.00413a60
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
push esi
push ecx
mov ebx, 0x4f0318
mov dword [esp + 0x888], 0
call fcn.00413a60
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 0x40ee8a
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 0x40eeb5
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.00413a60
add esp, 8
mov dword [esp + 0x878], 1
mov eax, dword [eax]
lea esi, [edi + 0xc]
push eax
mov eax, esi
call fcn.00409e20
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 0x40ef0b
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 0x40ef1d
push 1
push 0x3e7
push 1
call esi
xor ebx, ebx
lea esi, [esp + 0x2c]
call fcn.00409f60
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 0x40ef56
mov dword [esp + 0x860], 0x40e640
cmp dword [edi + 0x60], ebx
je 0x40ef66
mov dword [esp + 0x85c], 1
lea esi, [esp + 0x10]
call fcn.00416b20
mov eax, dword [eax]
push 0x103
push eax
lea edx, [esp + 0x24c]
push 0x104
push edx
call fcn.004b9b37
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 0x40efac
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.004b9b37
mov edx, dword [0x515800]
push 0x103
push edx
lea eax, [esp + 0x464]
push 0x104
push eax
call fcn.004b9b37
mov eax, dword [edi + 0x94]
push 0x103
push eax
lea ecx, [esp + 0x67c]
push 0x104
push ecx
call fcn.004b9b37
mov eax, dword [edi + 0x7c]
add esp, 0x30
cmp eax, ebx
je 0x40f014
lea edx, [esp + 0x2c]
push edx
call eax
mov eax, dword [0x5157fc]
cmp eax, ebx
je 0x40f050
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 0x40f06e
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, 0x5158b0
mov dword [edi + 0x134], eax
call fcn.00489840
mov eax, dword [edi + 0x90]
push eax
call fcn.00421df0
add esp, 0xc
test eax, eax
jne 0x40f0fe
mov eax, dword [edi + 0x90]
push eax
call fcn.00421df0
add esp, 4
test eax, eax
jne 0x40f0fe
mov eax, dword [edi + 0x90]
push eax
push str.CreateDeepDirectory__ws_
mov ecx, 0x5158b0
mov dword [edi + 8], 3
call fcn.00489840
mov eax, dword [edi + 0xf4]
add esp, 8
cmp eax, ebx
je 0x40f60a
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0dfc
push 3
push 0xa
call eax
add esp, 0x10
jmp 0x40f60a
mov ecx, edi
call fcn.0040e650
cmp dword [edi + 0x60], ebx
jne 0x40f116
cmp dword [0x515508], ebx
jne 0x40f582
push str.DownloadInstallGuideXml
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
cmp dword [edi + 0x40], ebx
jne 0x40f145
cmp dword [edi + 0x5c], ebx
jne 0x40f145
push ebx
push ebx
push edi
push 0x40e070
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x70], eax
mov eax, dword [0x5157fc]
cmp eax, ebx
je 0x40f181
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 0x40f19f
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, 0x5158b0
call fcn.00489840
add esp, 4
push ebx
call fcn.00422aa0
add esp, 4
mov esi, edi
call fcn.0040ccc0
push 1
mov esi, eax
call fcn.00422aa0
add esp, 4
push str.ExtractProductFiles_end...
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
cmp dword [edi + 0x60], ebx
jne 0x40f1f0
cmp dword [0x515508], ebx
jne 0x40f582
cmp esi, ebx
jne 0x40f249
mov eax, 0xb
cmp dword [edi + 0xbc], eax
je 0x40f20a
mov dword [edi + 8], 0xc
jmp 0x40f20d
mov dword [edi + 8], eax
push 0x4f0e78
mov ecx, 0x5158b0
call fcn.00489840
mov eax, dword [edi + 0xf4]
add esp, 4
cmp eax, ebx
je 0x40f60a
mov ecx, dword [edi + 0x98]
mov edx, dword [edi + 8]
push ecx
push 0x4f0dfc
push edx
push 0x2d
call eax
add esp, 0x10
jmp 0x40f60a
mov eax, dword [0x5157fc]
cmp eax, ebx
je 0x40f285
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 0x40f2a3
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, 0x5158b0
call fcn.00489840
add esp, 4
lea esi, [edi + 0x9c]
call fcn.00417bc0
push str.CCRC_setup_files_end...
mov ecx, 0x5158b0
mov esi, eax
call fcn.00489840
add esp, 4
cmp dword [edi + 0x60], ebx
jne 0x40f2e5
cmp dword [0x515508], ebx
jne 0x40f582
cmp esi, ebx
jne 0x40f397
push str.Fix_files_begin...
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
push ebx
mov eax, 0x37
call fcn.00422ff0
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40f328
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.00417c20
push str.Fix_files_end...
mov ecx, 0x5158b0
mov esi, eax
call fcn.00489840
add esp, 4
cmp dword [edi + 0x60], ebx
jne 0x40f359
cmp dword [0x515508], ebx
jne 0x40f582
cmp esi, ebx
jne 0x40f397
lea eax, [edi + 0xa8]
call fcn.00405150
mov eax, dword [edi + 0xf4]
cmp eax, ebx
mov dword [edi + 8], 0xd
je 0x40f60a
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0f1c
push 0xd
push 0x3c
call eax
add esp, 0x10
jmp 0x40f60a
mov eax, dword [0x5157fc]
cmp eax, ebx
je 0x40f3d3
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 0x40f3f1
mov edx, dword [edi + 0x98]
push edx
push 0x4f0f44
push ebx
push 0x3c
call eax
add esp, 0x10
cmp dword [edi], ebx
je 0x40f439
push edi
call fcn.0040ec60
cmp eax, ebx
jne 0x40f439
push str.Blueray__
mov ecx, 0x5158b0
call fcn.00489840
mov eax, dword [edi + 0xf4]
add esp, 4
cmp eax, ebx
je 0x40f60a
mov ecx, dword [edi + 0x98]
push ecx
push 0x4f0f70
push 0xa
push 0x3c
call eax
add esp, 0x10
jmp 0x40f60a
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x40f445
call eax
cmp dword [edi + 0x60], ebx
jne 0x40f456
cmp dword [0x515508], ebx
jne 0x40f582
push ebx
mov eax, 0x4b
call fcn.00422ff0
mov eax, dword [edi + 0xf4]
cmp eax, ebx
je 0x40f47f
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 0x40f48e
mov eax, dword [edi + 0x3c]
push eax
push edi
call fcn.00411d00
cmp dword [edi + 0x60], ebx
jne 0x40f49f
cmp dword [0x515508], ebx
jne 0x40f582
push str.BackupSetup_begin
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
mov ebx, edi
call fcn.004126b0
push str.BackupSetup_end
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
push 0x4f0fb8
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
mov ecx, edi
call fcn.00412f50
push 0x4f0fc8
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
push 0
mov eax, 0x50
call fcn.00422ff0
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x40f520
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 0x40f573
call fcn.00418530
test eax, eax
jne 0x40f573
push 0x4f0fd8
mov ecx, 0x5158b0
mov dword [edi + 8], 0xf
call fcn.00489840
mov eax, dword [edi + 0xf4]
add esp, 4
test eax, eax
je 0x40f60a
mov edx, dword [edi + 0x98]
push edx
push 0x4f0ffc
push 0xf
push 0x64
call eax
add esp, 0x10
jmp 0x40f60a
cmp dword [edi + 0x60], 0
jne 0x40f591
cmp dword [0x515508], 0
je 0x40f591
push edi
mov dword [edi + 8], 0x10
call fcn.00413430
jmp 0x40f60a
mov ebx, edi
call fcn.00412e00
push str.Superfetch_begin
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
lea eax, [edi + 0x90]
push eax
lea eax, [esp + 0x28]
push eax
mov ebx, str.QQPCTray.exe
call fcn.00413a60
add esp, 8
mov ecx, 2
mov dword [esp + 0x878], ecx
mov eax, dword [eax]
mov edx, eax
call fcn.0048ca20
lea ecx, [esp + 0x24]
mov dword [esp + 0x878], 0xffffffff
call fcn.004016d0
push str.Superfetch_end
mov ecx, 0x5158b0
call fcn.00489840
add esp, 4
call fcn.0040bcc0
mov dword [edi + 8], 0
mov esi, edi
call fcn.0040a7a0
mov ecx, edi
call fcn.0040f640
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.004b83ee
mov esp, ebp
pop ebp
ret