joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427ae6
Capabilities:
Delete file

Disassembly:
push 0xac
mov eax, 0x4958dc
call fcn.00464960
mov edi, ecx
xor esi, esi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00433804
pop ecx
pop ecx
push 0x4a89c8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], esi
call fcn.004041c2
lea eax, [ebp - 0xb8]
push eax
xor ebx, ebx
lea eax, [ebp - 0x48]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.004332fb
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.004021c5
cmp dword [ebp - 0x50], esi
je 0x427ced
cmp dword [ebp - 0x34], esi
je 0x427ced
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432b7e
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004020ed
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004021c5
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432b7e
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.004020ed
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004021c5
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041d21a
cmp eax, 0xffffffff
je 0x427ced
lea ecx, [ebp - 0x8c]
call fcn.0041e0b8
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.004279ed
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
lea ecx, [ebp - 0x8c]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.00453aee
jmp 0x427cac
lea ecx, [ebp - 0x94]
call fcn.0043f984
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432b7e
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.0041cca8
test eax, eax
je 0x427c93
push str._tencentdl.exe
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040ae6a
add esp, 0xc
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
jae 0x427c54
lea eax, [ebp - 0x7c]
push eax
call fcn.00412e56
test al, al
pop ecx
je 0x427c76
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x427c6b
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427c89
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x427c82
lea eax, [ebp - 0x28]
push eax
call fcn.004323b3
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.004021c5
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004021c5
lea ecx, [ebp - 0x94]
call fcn.0041b06d
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x9c]
call fcn.00453aee
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041ab5a
test al, al
je 0x427c04
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.0042539f
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.004021c5
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.004021c5
call fcn.004649e3
ret
Function at 0x42891c
Capabilities:
Print debug messages

Disassembly:
push 0xac
mov eax, 0x4959c2
call fcn.004648f7
mov esi, ecx
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041281e
xor ebx, ebx
cmp byte [esi + 4], bl
mov dword [ebp - 4], ebx
je 0x428ad7
mov byte [esi + 4], bl
call fcn.004914c0
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.00425121
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x70]
call fcn.00425121
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x98]
call fcn.00425121
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xc0]
call fcn.00425121
mov eax, 0x41dd99
push esi
push eax
lea ecx, [esi + 0xc]
call fcn.004241fa
lea edi, [esi + 0x1184]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4289a9
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi], ebx
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x4289b7
push 1
call fcn.0041a210
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], ebx
call fcn.00419c95
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.xxxxxxxxxxx_DownloadMgr_Stop_Start
call edi
cmp dword [esi + 0x18], ebx
je 0x428ad0
lea eax, [esi + 0x122c]
cmp dword [eax], 3
jae 0x4289e9
mov dword [eax], 5
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.0041dd76
mov ecx, dword [esi + 0x18]
push eax
call fcn.004288ac
test al, al
jne 0x428ad0
push str.xxxxxxxxxxx_DownloadMgr_thread_wait_time_out
call edi
cmp byte [esi + 0x1228], bl
je 0x428ac8
push 0x3039
call fcn.00481a0d
push ebx
call fcn.00467bf1
push eax
call fcn.00466f39
add esp, 0xc
call fcn.00466f46
cdq
mov ecx, 0x320
idiv ecx
push 1
push 2
lea ecx, [ebp - 0xb8]
sub edx, 0x20000000
mov dword [ebp - 0x10], edx
call fcn.00409b4d
push dword [ebp - 0x10]
lea eax, [ebp - 0xb8]
push 0x409200
push str.xxx_code0x
push eax
mov byte [ebp - 4], 1
call fcn.004087d7
pop ecx
pop ecx
mov ecx, eax
call fcn.00409312
mov ecx, eax
call fcn.00426ef0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00409916
cmp dword [eax + 0x18], 0x10
jb 0x428a9c
mov eax, dword [eax + 4]
jmp 0x428a9f
add eax, 4
push eax
call edi
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004020a2
push ebx
push ebx
push 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esi + 0x18]
call fcn.004911c0
push str.xxxxxxxxxxx_DownloadMgr_Stop_End
call edi
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x18], bl
je 0x428ae8
mov ecx, dword [ebp - 0x1c]
call fcn.0041262b
call fcn.004649cf
ret
Function at 0x42acc5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp + 8]
lea edi, [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x18]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x42ad2e
push dword [ebp - 0x224]
lea eax, [ebp - 0x20c]
push str.CLSID_sLocalServer32
push 0x103
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push dword [ebp - 0x224]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x42ad4f
xor al, al
jmp 0x42ad97
push ebx
lea eax, [ebp - 0x228]
push eax
push esi
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push dword [ebp - 0x220]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42ad88
xor bl, bl
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004648e8
leave
ret
Function at 0x42ada5
Capabilities:
Get file version info

Disassembly:
push 0x230
push 0x4b0098
call fcn.00467b04
xor ebx, ebx
mov word [ebp - 0x224], bx
push 0x206
push ebx
lea eax, [ebp - 0x222]
push eax
call fcn.00466400
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 4], ebx
push ebx
mov esi, 0x4a2144
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x238], eax
cmp eax, ebx
je 0x42aea1
push eax
call fcn.004667bd
pop ecx
mov edi, eax
mov dword [ebp - 0x22c], edi
cmp edi, ebx
je 0x42aea1
push dword [ebp - 0x238]
push ebx
push edi
call fcn.00466400
add esp, 0xc
push edi
push dword [ebp - 0x238]
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42aea1
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x49fa70
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42aea1
mov eax, dword [ebp - 0x23c]
cmp eax, ebx
je 0x42aea1
mov cx, word [eax + 0xa]
mov word [ebp - 0x228], cx
movzx ecx, word [eax + 8]
mov dword [ebp - 0x234], ecx
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0042af29
push 0xffffffffffffffff
push ebx
push 0x804
push 1
push 1
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x228]
mov edi, 0x4a89c8
push edi
lea eax, [ebp - 0x224]
push eax
push 0x4a2130
mov esi, 0x4a00cc
push esi
call fcn.00481e03
push edi
push ebx
push 0x1e
call fcn.004815b8
push 3
call fcn.00481637
add esp, 0x40
call fcn.00458c4b
push eax
call fcn.00481a0d
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x228]
push esi
call fcn.004017e1
add esp, 0x14
call fcn.00467b4c
ret
Function at 0x42be0f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi + 0x30], eax
jne 0x42be2e
xor eax, eax
jmp 0x42be54
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x42b77f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x42be51
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x42e9ce
Capabilities:
Read .ini file

Disassembly:
push 0xec
mov eax, 0x496321
call fcn.00464960
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00433439
push str.TDConfig.ini
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], esi
call fcn.0040ae6a
add esp, 0x14
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x42ea11
lea eax, [ebp - 0x28]
push eax
push esi
mov edi, str.fixTimeCounts
push edi
mov esi, str.Config
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp ebx, 2
jge 0x42eb36
push 0x10
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00466400
and word [ebp - 0x4e], 0
and word [ebp - 0x4c], 0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
mov word [ebp - 0x58], 0x7de
mov word [ebp - 0x56], 0xa
mov word [ebp - 0x52], 1
mov word [ebp - 0x50], 0xc
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
test eax, eax
je 0x42eb08
push 1
push 2
lea ecx, [ebp - 0xf8]
inc ebx
call fcn.0042708f
push ebx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 2
call fcn.0042dbbb
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xf8]
call fcn.0042135f
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x42eaaf
lea ecx, [ebp - 0x28]
cmp dword [eax + 0x18], 8
jb 0x42eaba
mov eax, dword [eax + 4]
jmp 0x42eabd
add eax, 4
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.004021c5
push ebx
push 0x4a2350
push 0x4a2098
push 3
push str.FixSystemTime
push 0x223
push str..DownloadProxy.cpp
call fcn.0041b51d
add esp, 0x1c
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.0041ddc9
jmp 0x42eb36
lea eax, [ebp - 0x5c]
push eax
push 0x4a0a40
push 0x4a2098
push 3
push str.FixSystemTime
push 0x227
push str..DownloadProxy.cpp
mov dword [ebp - 0x5c], 0x4a22f8
call fcn.00412cfd
add esp, 0x1c
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021c5
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004021c5
call fcn.004649e3
ret
Function at 0x42ffc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea eax, [esi + 8]
push eax
push 0x42fdb7
push ebx
push ebx
mov byte [esi + 0x18], bl
mov dword [eax], esi
call fcn.00466e8b
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x42fff8
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
jne 0x430005
mov byte [esi + 0x18], 1
xor al, al
jmp 0x430007
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x4309e7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x430a0a
xor eax, eax
jmp 0x430af3
push edi
call fcn.004667bd
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.00466400
add esp, 0x10
push dword [esi + 8]
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x430a03
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00430798
test eax, eax
je 0x430a03
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x28]
shr ecx, 0x10
mov word [esi + 0xc], cx
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [ebp - 0x24]
shr ecx, 0x10
mov word [esi + 0x10], cx
mov ecx, eax
mov word [esi + 0x16], ax
mov eax, dword [ebp - 0x20]
shr ecx, 0x10
mov word [esi + 0x1a], ax
mov word [esi + 0x14], cx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov edi, 0x104
push edi
shr ecx, 0x10
lea eax, [esi + 0x238]
push eax
mov word [esi + 0x18], cx
push 0x4a27a4
mov ecx, esi
call fcn.00430889
test eax, eax
je 0x430a03
push edi
lea eax, [esi + 0x648]
push eax
push 0x4a2784
mov ecx, esi
call fcn.00430889
test eax, eax
je 0x430a03
push edi
lea eax, [esi + 0x440]
push eax
push 0x4a276c
mov ecx, esi
call fcn.00430889
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430b8c
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x496792
call fcn.00464960
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
call fcn.004041c2
xor esi, esi
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], esi
call fcn.004041c2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.00432319
cmp dword [ebp - 0x68], 6
pop ecx
pop ecx
jb 0x430c33
push str.advfirewall_firewall_add_rule_name_
lea ecx, [ebp - 0x2c]
call fcn.004041c2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040a9ca
push str.__dirin_program_
lea ecx, [ebp - 0x2c]
call fcn.0040ae4d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a9ca
push str.__description_
lea ecx, [ebp - 0x2c]
call fcn.0040ae4d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a9ca
push str.__actionallow
jmp 0x430c7a
cmp dword [ebp - 0x68], 5
jne 0x430cb5
push str.firewall_add_allowedprogram_name_
lea ecx, [ebp - 0x2c]
call fcn.004041c2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040a9ca
push str.__program_
lea ecx, [ebp - 0x2c]
call fcn.0040ae4d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a9ca
push str.__modeENABLE_profileALL
lea ecx, [ebp - 0x2c]
call fcn.0040ae4d
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x430c8e
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x430c9a
lea eax, [ebp - 0x28]
push esi
push ecx
push eax
push str.netsh.exe
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021c5
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004021c5
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004021c5
call fcn.004649e3
ret
Function at 0x430cd1
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x496792
call fcn.00464960
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
call fcn.004041c2
xor esi, esi
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], esi
call fcn.004041c2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.00432319
cmp dword [ebp - 0x68], 6
pop ecx
pop ecx
jb 0x430d5c
push str.advfirewall_firewall_delete_rule_name_
lea ecx, [ebp - 0x2c]
call fcn.004041c2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040a9ca
push str.__dirin_program_
lea ecx, [ebp - 0x2c]
call fcn.0040ae4d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a9ca
push 0x4a2278
jmp 0x430d87
cmp dword [ebp - 0x68], 5
jne 0x430dc2
push str.firewall_delete_allowedprogram_program_
lea ecx, [ebp - 0x2c]
call fcn.004041c2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040a9ca
push str.__profileALL
lea ecx, [ebp - 0x2c]
call fcn.0040ae4d
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x430d9b
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x430da7
lea eax, [ebp - 0x28]
push esi
push ecx
push eax
push str.netsh.exe
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021c5
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004021c5
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004021c5
call fcn.004649e3
ret
Function at 0x4329e6
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x4329fa
xor eax, eax
jmp 0x432a90
cmp byte [0x4bed68], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x432a3d
cmp byte [0x4bed69], bl
jne 0x432a2d
call edi
mov ecx, dword [0x4bed6c]
cmp eax, ecx
jbe 0x432a2d
sub eax, ecx
cmp eax, dword [0x4bc01c]
jb 0x432a2d
mov byte [0x4bed68], bl
cmp byte [0x4bed68], bl
je 0x432a3d
cmp byte [0x4bed69], bl
je 0x432a8d
cmp dword [esi + 0x18], 0x10
jb 0x432a48
mov eax, dword [esi + 4]
jmp 0x432a4b
lea eax, [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2afc
jne 0x432a71
mov byte [0x4bed68], 1
call edi
mov dword [0x4bed6c], eax
jmp 0x432a80
cmp dword [0x4bed6c], ebx
je 0x432a80
mov byte [0x4bed69], 1
cmp esi, ebx
je 0x432a8d
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x432a8f
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x4332fb
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x40
mov eax, 0x496c01
call fcn.004648f7
mov ecx, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
call fcn.00401fa9
push 0x208
xor esi, esi
lea eax, [ebp]
push ebx
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], esi
call fcn.00466400
add esp, 0xc
push esi
push 0x2b
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x433406
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041c2
push str.TencentQQDownload
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], esi
call fcn.0040ae6a
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.0040a9ca
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004021c5
cmp dword [edi + 0x14], ebx
je 0x4333e8
push edi
lea eax, [ebp - 0x30]
push 0x49fa70
push eax
call fcn.0040d493
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov dword [ebp - 4], 3
call fcn.0040a9ca
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004021c5
push dword [ebp - 0x10]
call fcn.00432fa5
test al, al
pop ecx
jne 0x433400
push dword [ebp - 0x10]
call fcn.0043306e
pop ecx
jmp 0x433402
mov al, 1
cmp al, bl
jne 0x433413
mov ecx, dword [ebp - 0x10]
push 0x4a89c8
call fcn.00402180
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x20c
leave
ret
Function at 0x433439
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x5c
mov eax, 0x496c41
call fcn.004648f7
mov eax, dword [ebp + 0x420]
xor ebx, ebx
test byte [0x4bee9c], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov esi, 0x4bee80
jne 0x43349d
or dword [0x4bee9c], 1
push ebx
mov ecx, esi
mov dword [0x4bee98], 7
call fcn.004024b4
push 0x49d045
call fcn.00467202
pop ecx
cmp dword [0x4bee94], ebx
jne 0x4335a5
mov edi, 0x208
push edi
lea eax, [ebp]
push ebx
push eax
call fcn.00466400
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x433533
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.004041c2
push str.TencentTencentdl
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040ae6a
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040a9ca
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004021c5
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004021c5
push esi
call fcn.00432fa5
test al, al
pop ecx
jne 0x43352d
push esi
call fcn.0043306e
pop ecx
jmp 0x43352f
mov al, 1
cmp al, bl
jne 0x4335a5
push edi
lea eax, [ebp + 0x20a]
push ebx
push eax
mov word [ebp + 0x208], bx
call fcn.00466400
add esp, 0xc
push 0x20a
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x208]
push 0x5c
push eax
call fcn.00468ff3
cmp eax, ebx
pop ecx
pop ecx
je 0x433575
mov word [eax], bx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x68]
call fcn.004041c2
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004020ed
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.004021c5
mov ecx, dword [ebp - 0x10]
push esi
call fcn.00401fbe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.004648e8
add ebp, 0x418
leave
ret