joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e050
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
mov dword [ebp - 4], 0
and ecx, 0xfffffffc
xor al, al
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.004027a0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 1
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.004027a0
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x4a35ac
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4a35bd
push 0x40
push esi
call fcn.00546044
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa7e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
xor edi, edi
push eax
push 0x2001f
push edi
push dword [0x60263c]
mov dword [ebp - 0x210], edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4aa842
push dword [0x602640]
mov edi, dword [ebp - 0x210]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x4aa842
push edi
call ebx
xor edi, edi
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x4aa950
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0054b380
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00559d1c
add esp, 0x18
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x214]
push eax
push 0x2001f
push 0
push dword [0x60263c]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4aa8cd
test edi, edi
je 0x4aa8ab
push edi
call ebx
mov edi, dword [ebp - 0x214]
test eax, eax
jne 0x4aa8cd
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa8c0
jmp 0x4aa92c
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x218], 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [0x60263c]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4aa950
test edi, edi
je 0x4aa90e
push edi
call ebx
mov edi, dword [ebp - 0x218]
test eax, eax
jne 0x4aa950
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa921
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push dword [0x602640]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4aa957
push edi
call ebx
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop edi
pop esi
pop ebx
test eax, eax
jg 0x4aa975
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret

Function at 0x4aa9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4aaa01
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4aa9f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x4aaed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e651
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push str.SOFTWAREKingsoftOffice6.0CommonBackup
push 0x80000001
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4ab02d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0
test eax, eax
je 0x4ab010
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push str.AutoRecoverFilePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4aaf7e
cmp eax, 2
jne 0x4ab002
mov ecx, esi
call fcn.00429490
mov edx, dword [ebp - 0x10]
shr edx, 1
add edx, 1
js 0x4ab023
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x4aafae
push edx
mov ecx, esi
call fcn.004296d0
mov edi, dword [esi]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push str.AutoRecoverFilePath
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab002
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x4aaff0
push dword [eax - 8]
push eax
call fcn.00555593
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4ab023
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4ab023
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4ab010
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004293d0
push 0x80004005
call fcn.004293d0
int3
Function at 0x4ab6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 4
test eax, eax
je 0x4ab725
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.2019icdisable
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab722
cmp dword [ebp - 0xc], 4
jne 0x4ab722
mov eax, dword [ebp - 4]
xor ebx, ebx
cmp dword [ebp - 0x10], 1
sete bl
jmp 0x4ab727
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x4ab732
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ab740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e700
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push dword [0x602650]
mov dword [ebp - 0x18], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4ab8b2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov ebx, dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ab873
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4ab7e4
cmp eax, 2
jne 0x4ab873
lea ecx, [ebp - 0x10]
call fcn.00429490
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x4ab8bc
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4ab81a
push edx
lea ecx, [ebp - 0x10]
call fcn.004296d0
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ab873
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00555593
add esp, 8
test eax, eax
js 0x4ab8bc
cmp eax, dword [esi - 8]
jg 0x4ab8bc
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x5b01ec
push esi
mov word [esi + eax*2], cx
call fcn.00555852
xor ebx, ebx
add esp, 8
test eax, eax
sete bl
jmp 0x4ab875
xor ebx, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ab891
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4ab89f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
push 0x80070057
call fcn.004293d0
int3
Function at 0x4ad000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e961
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4ad250
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0x98]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
test eax, eax
je 0x4ad07c
push eax
call ebx
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push str.SOFTWAREKingsoftWPSClouduserinfo
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa4], 0
test eax, eax
je 0x4ad18a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0xa4]
push ecx
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push str.userid
push eax
call ebx
mov eax, dword [ebp - 0x9c]
cmp eax, 1
je 0x4ad0e9
cmp eax, 2
jne 0x4ad184
lea ecx, [ebp - 0xa0]
call fcn.00429490
mov edx, dword [ebp - 0xa4]
shr edx, 1
add edx, 1
js 0x4ad246
mov esi, dword [ebp - 0xa0]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4ad12e
push edx
lea ecx, [ebp - 0xa0]
call fcn.004296d0
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0xa4]
push eax
push esi
lea eax, [ebp - 0x9c]
push eax
push 0
push str.userid
push dword [ebp - 0x98]
call ebx
test eax, eax
jne 0x4ad184
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00555593
add esp, 8
test eax, eax
js 0x4ad246
cmp eax, dword [esi - 8]
jg 0x4ad246
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [ebp - 0x90]
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.0044cfd0
mov edx, dword [ebp - 0x94]
mov ecx, edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [ebp - 4], 2
lea eax, [ecx + 1]
mov byte [edi], 0
mov dword [ebp - 0x9c], eax
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ad1d0
sub ecx, dword [ebp - 0x9c]
push ecx
push edx
mov ecx, edi
call fcn.00437dd0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x4ad1ff
push eax
call fcn.00554cf4
add esp, 4
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ad21b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4ad228
push ecx
call ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004293d0
push 0x80004005
call fcn.004293d0
int3
Function at 0x4ad260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4ad3dd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x4ad2c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x5c0f68
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4ad38d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.usertype
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4ad315
cmp eax, 2
jne 0x4ad38d
lea ecx, [ebp - 0x14]
call fcn.00429490
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4ad3e7
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4ad34b
push edx
lea ecx, [ebp - 0x14]
call fcn.004296d0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.usertype
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4ad38d
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00555593
add esp, 8
test eax, eax
js 0x4ad3e7
cmp eax, dword [esi - 8]
jg 0x4ad3e7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x4ad39e
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov edi, eax
jmp 0x4ad3a0
xor edi, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4ad3bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4ad3ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
push 0x80070057
call fcn.004293d0
int3
Function at 0x4ad400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e9bd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4ad5a6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0x2001f
push 0
push dword [0x60263c]
mov dword [ebp - 0x21c], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ad589
mov edi, dword [ebp - 0x21c]
push 0x208
push eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], edi
call fcn.0054b380
add esp, 0xc
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push dword [0x602640]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ad57e
mov eax, dword [ebp - 0x228]
cmp eax, 1
je 0x4ad529
cmp eax, 2
jne 0x4ad57e
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4ad546
test al, 1
jne 0x4ad57e
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4ad54f
jmp 0x4ad57e
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4ad560
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ad560
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00429870
test edi, edi
je 0x4ad589
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x4adb30
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eb60
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x538], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 4], 1
mov word [esi], ax
push eax
push eax
push eax
push eax
push 0x5ac698
mov dword [ebp - 0x538], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x534], ebx
test ebx, ebx
je 0x4add63
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push 0x4000000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4add5c
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4add55
jmp 0x4adc10
mov eax, dword [ebp - 0x530]
test eax, eax
je 0x4add4f
cmp eax, 0x400
jae 0x4addbc
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x52c]
lea eax, [ebp - 0x528]
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x410]
push 0xfde9
push eax
call fcn.0044ce70
mov edx, dword [ebp - 0x52c]
xor eax, eax
mov word [ebp - 0x428], ax
mov eax, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4adc80
sub eax, ebx
lea ecx, [ebp - 0x428]
sar eax, 1
push eax
push edx
call fcn.0042daa0
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.0043eb30
mov edx, dword [ebp - 0x414]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4add06
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4adcfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4addb7
push edx
push ecx
call fcn.00546044
add esp, 8
mov eax, dword [ebp - 0x52c]
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x4add23
push eax
call fcn.00554cf4
add esp, 4
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4adc10
mov ebx, dword [ebp - 0x534]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4add99
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4add8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4addb7
push edx
push ecx
call fcn.00546044
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
call fcn.00555394
call fcn.00546bda
int3
Function at 0x4b2480
Capabilities:
Create process on windows

Disassembly:
push 4
push 0
push 0
push str.http:__www.wps.cn_product_newfeatures
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4b2530
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597028
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b25d4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push dword [edi]
push str.unregister_dll_path:_s_n
push eax
call fcn.0042bf70
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
push dword [ebp + 0xc]
push edi
call fcn.004a87f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edi, eax
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4b25c1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x4b48f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f651
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], esi
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4b4ae8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push eax
call fcn.00476360
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x424]
js 0x4b4abb
test eax, eax
je 0x4b4acb
cmp eax, 0xffffffff
je 0x4b4abb
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 2
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov eax, dword [ebp - 0x428]
je 0x4b4a95
test eax, eax
je 0x4b4a97
cmp eax, 0xffffffff
je 0x4b4a95
push eax
push dword [ebp - 0x424]
call fcn.004787b0
add esp, 8
test eax, eax
je 0x4b4a30
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004373e0
push edi
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
jmp 0x4b4a8f
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x4b4a8f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.004373e0
push edi
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x4b4a8f
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x428]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4b4aa7
cmp eax, 0xffffffff
je 0x4b4aa7
push eax
call edi
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4b4acb
cmp eax, 0xffffffff
je 0x4b4acb
push eax
call edi
jmp 0x4b4acb
test eax, eax
je 0x4b4acb
cmp eax, 0xffffffff
je 0x4b4acb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3