Function at 0x10098662
Capabilities:
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6b38
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
lea ecx, [ebp - 0x18]
call fcn.10003bae
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003bae
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10003bae
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10003bae
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
call fcn.100967ed
test eax, eax
je 0x10098a4b
push 0x1438
call fcn.1006f147
pop ecx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x20], eax
push 0x1438
push 0
push dword [ebp - 0x20]
call fcn.10072050
add esp, 0xc
push 0xe0
call fcn.1006f147
pop ecx
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x1009872f
mov ecx, dword [ebp - 0x24c]
call fcn.1003e5a8
mov dword [ebp - 0x280], eax
jmp 0x10098736
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24], eax
push 0x100c47d3
push str.DComProxyUrl
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x10]
call fcn.100b347a
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x288]
lea ecx, [ebp - 0x18]
call fcn.10003c5d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.10003c4c
push 0x100c47e2
push str.DComProxyMd5
lea eax, [ebp - 0x254]
push eax
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x10]
call fcn.100b347a
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x290]
lea ecx, [ebp - 0x14]
call fcn.10003c5d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.10003c4c
push str._appdata_TencentQMDownloadDownload_
push 0x100c6a68
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x10]
call fcn.100b347a
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x298]
lea ecx, [ebp - 0x10]
call fcn.10003c5d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.10003c4c
push 0x100c6a78
push 0x100c6a84
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x27c]
mov ecx, dword [eax + 0x10]
call fcn.100b347a
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x1c]
call fcn.10003c5d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.10003c4c
push 0x100c6a94
lea eax, [ebp - 0x18]
push eax
call fcn.100378c9
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x10098a4b
push 0x100c6a98
lea eax, [ebp - 0x14]
push eax
call fcn.100378c9
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x10098a4b
and word [ebp - 0x23c], 0
push 0x208
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.10072050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x240]
call fcn.10003be1
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x240]
call fcn.1003f7e4
lea ecx, [ebp - 0x240]
call fcn.1001e65e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
call fcn.1001e65e
push eax
mov ecx, dword [ebp - 0x24]
call fcn.1000a066
lea ecx, [ebp - 0x240]
call fcn.1001e65e
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.1000a066
lea ecx, [ebp - 0x240]
call fcn.1001e65e
push eax
push 0x104
mov eax, dword [ebp - 0x20]
add eax, 0x90
push eax
call fcn.10072a31
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1001e65e
push eax
push 0x40
mov eax, dword [ebp - 0x20]
add eax, 0x2a0
push eax
call fcn.10072a31
add esp, 0xc
mov eax, dword [ebp - 0x20]
and dword [eax + 0x320], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0x186a2
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x27c]
add ecx, 0x34
call fcn.1003f8ff
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
push 0
push str.DelPackageFlag
mov eax, dword [ebp - 0x27c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x27c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10098a3c
lea ecx, [ebp - 0x240]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x278]
call fcn.100016fb
mov byte [ebp - 4], 9
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x27c]
add ecx, 0xe0
call fcn.10038009
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x278]
call fcn.10001769
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.10003c4c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10003c4c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10003c4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003c4c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10003c4c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1006f3d1
leave
ret