Function at 0x4492b0
Capabilities:
Check if file exists
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4f70
call fcn.00543e90
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x90], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x4ea4], eax
cmp dword [ebp - 0x4ea4], 0
jge 0x4492e8
xor eax, eax
jmp 0x449e65
lea ecx, [ebp - 0x70]
call fcn.0040ee90
lea eax, [ebp - 0x70]
push eax
call fcn.004478c0
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
je 0x449317
lea edx, [ebp - 0x70]
push edx
call fcn.00447b30
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.004a5c50
lea ecx, [ebp - 0x70]
call fcn.004a5b90
lea ecx, [ebp - 0x279c]
call fcn.00451e90
lea ecx, [ebp - 0x6c]
call fcn.0040ee90
push 0
push ecx
mov ecx, esp
push str.SOFTWARERuanMeiMyTime
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x279c]
call fcn.00451fe0
test eax, eax
je 0x44939d
push ecx
mov ecx, esp
push 0x5805c4
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x5805c8
call fcn.0041c8a0
lea eax, [ebp - 0x4ef8]
push eax
lea ecx, [ebp - 0x279c]
call fcn.00452240
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041c8e0
lea ecx, [ebp - 0x4ef8]
call fcn.0040f740
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044a0a0
add esp, 4
lea edx, [ebp - 0x27a8]
push edx
call fcn.0044a990
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.0044ad60
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0044ae90
add esp, 4
lea edx, [ebp - 0x4eb4]
push edx
call fcn.0044aee0
add esp, 4
lea eax, [ebp - 0x4eb0]
push eax
call fcn.0044b070
add esp, 4
lea ecx, [ebp - 0x24]
push ecx
call fcn.0044b240
add esp, 4
call fcn.0044b290
mov dword [ebp - 0x68], eax
call fcn.0044b9d0
mov dword [ebp - 0x27a4], eax
mov dword [ebp - 0x78], 0
push 0
push ecx
mov ecx, esp
push 0x5805e8
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x279c]
call fcn.00451fe0
test eax, eax
je 0x44948b
push ecx
mov ecx, esp
push 0x5805e4
call fcn.0041c8a0
push ecx
mov ecx, esp
push str.MyTime
call fcn.0041c8a0
lea edx, [ebp - 0x4eb8]
push edx
lea ecx, [ebp - 0x279c]
call fcn.00452240
lea ecx, [ebp - 0x4eb8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449480
mov dword [ebp - 0x78], 1
lea ecx, [ebp - 0x4eb8]
call fcn.0040f740
push 0
push ecx
mov ecx, esp
push 0x580654
call fcn.0041c8a0
push SysReAllocString
lea ecx, [ebp - 0x279c]
call fcn.00451fe0
push 1
push ecx
mov ecx, esp
push 0x580684
call fcn.0041c8a0
lea ecx, [ebp - 0x279c]
call fcn.00452d70
test eax, eax
setne al
mov byte [ebp - 5], al
mov dword [ebp - 0x27ac], 0
mov dword [ebp - 0x4eac], 0
push 0
lea ecx, [ebp - 0x2784]
push ecx
call fcn.004476c0
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.0040ee90
lea ecx, [ebp - 0x48]
call fcn.0040ee90
lea ecx, [ebp - 0x40]
call fcn.0040ee90
mov edx, dword [ebp - 0x4eac]
push edx
mov eax, dword [ebp - 0x27ac]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x4eb0]
push ecx
mov edx, dword [ebp - 0x4eb4]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x27a8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x2784]
push eax
push str.version:_s_business:magictray_setup:_s_cpu:_s_memory:_s_disk:_s_partition:_s_resolution:_s_mac:_s_os:_s_ie:_s_process:_d_autorun:_d_browser:_d_defaultbrowser:_d_
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004ea900
add esp, 0x40
push str.enablemainpage:0_enablesearch:0_protectmainpage:_protectsearch:_
lea edx, [ebp - 0x48]
push edx
call fcn.004ea900
add esp, 8
movzx eax, byte [ebp - 5]
push eax
push str.append1:_d_append2:_append3:_append4:_append5:_
lea ecx, [ebp - 0x40]
push ecx
call fcn.004ea900
add esp, 0xc
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004a5630
push 0
lea ecx, [ebp - 0x4c]
call fcn.0041cbc0
push eax
call fcn.00443160
add esp, 8
mov dword [ebp - 0x18], eax
push 0
push 0x5807dc
lea ecx, [ebp - 0x2780]
call fcn.00452f90
mov eax, dword [ebp - 0x18]
push eax
call fcn.0053e8e0
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x80000007
jns 0x4495de
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
je 0x4495ff
mov edx, dword [ebp - 0x20]
and edx, 0x80000007
jns 0x4495f2
dec edx
or edx, 0xfffffff8
inc edx
mov eax, 8
sub eax, edx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
lea edx, [ecx*8 + 1]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x4f10], eax
mov ecx, dword [ebp - 0x4f10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x4f14], eax
mov eax, dword [ebp - 0x4f14]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x4f18], eax
mov edx, dword [ebp - 0x4f18]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x3c]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0053ef70
add esp, 0xc
mov edx, dword [ebp - 0x3c]
push edx
push 0
mov eax, dword [ebp - 0x8c]
push eax
call fcn.0053ef70
add esp, 0xc
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.0053ef70
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00544f70
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4f1c], edx
mov eax, dword [ebp - 0x4f1c]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x2780]
call fcn.004534e0
mov eax, dword [ebp - 0x20]
shl eax, 3
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2780]
call fcn.004534c0
push eax
lea ecx, [ebp - 0x2780]
call fcn.00453390
mov edx, dword [ebp - 0x20]
shl edx, 3
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x2780]
call fcn.004533f0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x4f20], edx
mov eax, dword [ebp - 0x4f20]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x38], 0
push str.http:__union.ruanmei.com_receive_postdata.aspx_uid
lea ecx, [ebp - 0x88]
call fcn.0041c8a0
cmp dword [ebp + 8], 1
jne 0x449766
push str.http:__union.ruanmei.com_receive_install.aspx_uninstall1uid
lea ecx, [ebp - 0x88]
call fcn.0041cec0
jmp 0x44977c
cmp dword [ebp + 8], 0
jne 0x44977c
push str.http:__union.ruanmei.com_receive_install.aspx_uid
lea ecx, [ebp - 0x88]
call fcn.0041cec0
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004a5650
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4f24], edx
mov eax, dword [ebp - 0x4f24]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x4f28], ecx
mov edx, dword [ebp - 0x4f28]
push edx
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0041cbc0
push eax
call fcn.00443160
add esp, 8
mov dword [ebp - 0x84], eax
push 0
push 0x58086c
lea ecx, [ebp - 0x4ea0]
call fcn.00452f90
mov eax, dword [ebp - 0x84]
push eax
call fcn.0053e8e0
add esp, 4
mov dword [ebp - 0x4ea8], eax
mov ecx, dword [ebp - 0x4ea8]
and ecx, 0x80000007
jns 0x449825
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
je 0x44984f
mov edx, dword [ebp - 0x4ea8]
and edx, 0x80000007
jns 0x44983c
dec edx
or edx, 0xfffffff8
inc edx
mov eax, 8
sub eax, edx
add eax, dword [ebp - 0x4ea8]
mov dword [ebp - 0x4ea8], eax
mov ecx, dword [ebp - 0x4ea8]
lea edx, [ecx*8 + 1]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x4f2c], eax
mov ecx, dword [ebp - 0x4f2c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x4f30], eax
mov eax, dword [ebp - 0x4f30]
mov dword [ebp - 0x27b0], eax
mov ecx, dword [ebp - 0x4ea8]
add ecx, 1
push ecx
call fcn.004f4318
add esp, 4
mov dword [ebp - 0x4f34], eax
mov edx, dword [ebp - 0x4f34]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0053ef70
add esp, 0xc
mov edx, dword [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp - 0x27b0]
push eax
call fcn.0053ef70
add esp, 0xc
mov ecx, dword [ebp - 0x4ea8]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.0053ef70
add esp, 0xc
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00544f70
add esp, 8
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x4f38], edx
mov eax, dword [ebp - 0x4f38]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x84], 0
push 0
mov ecx, dword [ebp - 0x4ea8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x4ea0]
call fcn.004534e0
mov eax, dword [ebp - 0x4ea8]
shl eax, 3
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4ea0]
call fcn.004534c0
push eax
lea ecx, [ebp - 0x4ea0]
call fcn.00453390
mov edx, dword [ebp - 0x4ea8]
shl edx, 3
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x27b0]
push ecx
lea ecx, [ebp - 0x4ea0]
call fcn.004533f0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x4f3c], edx
mov eax, dword [ebp - 0x4f3c]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x28], 0
push 0x580a28
lea ecx, [ebp - 0x88]
call fcn.0041c900
mov ecx, dword [ebp - 0x27b0]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004a5650
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4f40], edx
mov eax, dword [ebp - 0x4f40]
push eax
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x27b0]
mov dword [ebp - 0x4f44], ecx
mov edx, dword [ebp - 0x4f44]
push edx
call fcn.0053e96b
add esp, 4
mov dword [ebp - 0x27b0], 0
lea ecx, [ebp - 0x1c]
call fcn.0040ee90
push 0
call fcn.00449fa0
add esp, 4
push eax
call fcn.00547983
add esp, 4
call fcn.00547995
push eax
push str.r_d
lea eax, [ebp - 0x1c]
push eax
call fcn.004ea900
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004a5630
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x449a6a
push str.t1
lea ecx, [ebp - 0x88]
call fcn.0041c900
jmp 0x449a7a
push str.t0
lea ecx, [ebp - 0x88]
call fcn.0041c900
call fcn.00451f00
test eax, eax
je 0x449a95
push str.t11
lea ecx, [ebp - 0x88]
call fcn.0041c900
jmp 0x449aa5
push str.t10
lea ecx, [ebp - 0x88]
call fcn.0041c900
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x64]
call fcn.004524b0
push ecx
mov ecx, esp
push str.driversANDROIDUSB.sys
call fcn.0041c8a0
push ecx
push esp
lea ecx, [ebp - 0x64]
call fcn.00455220
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
call fcn.00452750
mov dword [ebp - 0x27a0], 0
lea ecx, [ebp - 0x27a0]
push ecx
call fcn.00449fc0
add esp, 4
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x80]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449b14
mov edx, dword [ebp - 0x44]
or edx, 2
mov dword [ebp - 0x44], edx
jmp 0x449bdf
lea ecx, [ebp - 0x4ed0]
call fcn.00451e90
push 0
push ecx
mov ecx, esp
push str.SYSTEMCurrentControlSetEnumUSBSTOR
call fcn.0041c8a0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4ed0]
call fcn.00451fe0
test eax, eax
je 0x449bd4
lea ecx, [ebp - 0x4edc]
call fcn.004b2990
lea eax, [ebp - 0x4edc]
push eax
lea ecx, [ebp - 0x4ed0]
call fcn.004550f0
mov dword [ebp - 0x4ee0], 0
jmp 0x449b7e
mov ecx, dword [ebp - 0x4ee0]
add ecx, 1
mov dword [ebp - 0x4ee0], ecx
lea ecx, [ebp - 0x4edc]
call fcn.004b2b30
cmp dword [ebp - 0x4ee0], eax
jge 0x449bc9
push 0
push str.android
mov edx, dword [ebp - 0x4ee0]
push edx
lea ecx, [ebp - 0x4edc]
call fcn.004b2c50
mov ecx, eax
call fcn.004a5b10
mov ecx, eax
call fcn.004a5a90
test eax, eax
jl 0x449bc7
mov eax, dword [ebp - 0x44]
or eax, 2
mov dword [ebp - 0x44], eax
jmp 0x449bc9
jmp 0x449b6f
lea ecx, [ebp - 0x4edc]
call fcn.004ea9f0
lea ecx, [ebp - 0x4ed0]
call fcn.00451f50
call fcn.00451f00
test eax, eax
je 0x449c0c
push 0
push ecx
mov ecx, esp
push str.SOFTWAREWow6432NodeApple_Computer__Inc.iPodRegisteredApps4
call fcn.0041c8a0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x279c]
call fcn.00451fe0
mov dword [ebp - 0x7c], eax
jmp 0x449c2e
push 0
push ecx
mov ecx, esp
push str.SOFTWAREApple_Computer__Inc.iPodRegisteredApps4
call fcn.0041c8a0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x279c]
call fcn.00451fe0
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x449c9c
push ecx
mov ecx, esp
push 0x580aac
call fcn.0041c8a0
push ecx
mov ecx, esp
push 0x580afc
call fcn.0041c8a0
lea ecx, [ebp - 0x4ee4]
push ecx
lea ecx, [ebp - 0x279c]
call fcn.00452240
lea ecx, [ebp - 0x4ee4]
call fcn.0041cc40
movzx edx, al
test edx, edx
jne 0x449c91
lea ecx, [ebp - 0x4ee4]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449c91
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x4ee4]
call fcn.0040f740
push 0
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftZune
call fcn.0041c8a0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x279c]
call fcn.00451fe0
test eax, eax
je 0x449d15
push ecx
mov ecx, esp
push 0x580c20
call fcn.0041c8a0
push ecx
mov ecx, esp
push str.Installation_Directory
call fcn.0041c8a0
lea ecx, [ebp - 0x4ee8]
push ecx
lea ecx, [ebp - 0x279c]
call fcn.00452240
lea ecx, [ebp - 0x4ee8]
call fcn.0041cb20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449d0a
mov edx, dword [ebp - 0x44]
or edx, 4
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x4ee8]
call fcn.0040f740
cmp dword [ebp - 0x7c], 0
je 0x449d2a
mov eax, dword [ebp - 0x27a0]
push eax
call fcn.0044a030
add esp, 4
lea ecx, [ebp - 4]
call fcn.0040ee90
mov ecx, dword [ebp - 0x44]
push ecx
push str.t2_d
lea edx, [ebp - 4]
push edx
call fcn.004ea900
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x88]
call fcn.004a5630
lea ecx, [ebp - 0x74]
call fcn.0040ee90
mov ecx, dword [ebp - 0x27a4]
push ecx
push str.t3_d
lea edx, [ebp - 0x74]
push edx
call fcn.004ea900
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x88]
call fcn.004a5630
push 0
push 0
lea ecx, [ebp - 0x88]
call fcn.0041cb20
push eax
call fcn.00449e80
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x4f70], 1
lea ecx, [ebp - 0x74]
call fcn.0040f740
lea ecx, [ebp - 4]
call fcn.0040f740
lea ecx, [ebp - 0x80]
call fcn.0040f740
lea ecx, [ebp - 0x64]
call fcn.004524d0
lea ecx, [ebp - 0x1c]
call fcn.0040f740
lea ecx, [ebp - 0x88]
call fcn.0040f740
lea ecx, [ebp - 0x40]
call fcn.0040f740
lea ecx, [ebp - 0x48]
call fcn.0040f740
lea ecx, [ebp - 0x4c]
call fcn.0040f740
lea ecx, [ebp - 0x2784]
call fcn.0040f740
lea ecx, [ebp - 0x24]
call fcn.0040f740
lea ecx, [ebp - 0x4eb0]
call fcn.0040f740
lea ecx, [ebp - 0x4eb4]
call fcn.0040f740
lea ecx, [ebp - 0x2c]
call fcn.0040f740
lea ecx, [ebp - 0xc]
call fcn.0040f740
lea ecx, [ebp - 0x27a8]
call fcn.0040f740
lea ecx, [ebp - 0x10]
call fcn.0040f740
lea ecx, [ebp - 0x6c]
call fcn.0040f740
lea ecx, [ebp - 0x279c]
call fcn.00451f50
lea ecx, [ebp - 0x70]
call fcn.0040f740
mov eax, dword [ebp - 0x4f70]
mov ecx, dword [ebp - 0x90]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret