joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [0x430038]
test eax, eax
jne 0x40449e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40446d
cmp eax, 2
jne 0x404488
mov eax, dword [ebp - 4]
test esi, esi
je 0x404498
test eax, eax
je 0x404493
test al, 1
jne 0x404488
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x404498
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x404830
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42de88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x40487a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x404866
lea esi, [edi + 8]
push esi
call fcn.0041b6a3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404866
push esi
push 0
push ebx
call fcn.0041ce00
mov eax, dword [ebp + 8]
add esp, 0xc
push ebx
push edi
xor esi, esi
push esi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40496b
mov ecx, str.762A792A5E2A582A432A442A4D2A6C2A432A462A4F2A632A442A4C2A452A762A1A2A122A1A2A1E2A1A2A1E2A482A1A2A762A792A5A2A4F2A492A432A4B2A462A682A5F2A432A462A4E2A2A2A
lea edi, [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00411b20
mov edi, eax
mov dword [ebp - 4], esi
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x4048e8
mov ecx, dword [eax - 0xc]
push ecx
push edi
call fcn.00403b10
mov edi, dword [edi]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404920
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x40496b
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b6a3
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
push ecx
inc eax
push eax
push esi
call fcn.0041b6ae
mov eax, dword [ebp - 0x10]
xor edx, edx
push esi
mov word [esi + eax*2], dx
call fcn.0041b77b
push esi
mov dword [ebp - 0x18], eax
call fcn.0041b79c
add esp, 0x1c
push ebx
call fcn.0041b79c
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404990
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
cmp eax, esi
jne 0x4049ad
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
cmp ebx, esi
je 0x4049a2
lea edi, [ebx + 8]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.0041b6a3
mov esi, eax
add esp, 4
test esi, esi
je 0x4049a2
push edi
push 0
push esi
call fcn.0041ce00
mov eax, dword [ebp + 8]
add esp, 0xc
push esi
push ebx
xor edi, edi
push edi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x404a64
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x4329f8
push esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x404a64
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x404a64
movzx eax, word [ecx + 0xa]
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov edi, eax
movzx eax, word [ecx + 8]
mov ebx, edx
cdq
or edi, eax
movzx eax, word [ecx + 0xe]
or ebx, edx
shld ebx, edi, 0x10
cdq
shl edi, 0x10
or edi, eax
movzx eax, word [ecx + 0xc]
or ebx, edx
shld ebx, edi, 0x10
cdq
shl edi, 0x10
push esi
or edi, eax
or ebx, edx
call fcn.0041b79c
add esp, 4
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
push esi
call fcn.0041b79c
add esp, 4
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404de0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42ebf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call fcn.004067b0
add esp, 4
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x404e49
call fcn.00405f50
test eax, eax
je 0x404e49
mov edx, dword [esp + 0x10]
push 3
push 0
push 0x65
xor ecx, ecx
call fcn.00405bd0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call fcn.00406c50
add esp, 4
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x404e8d
push eax
call dword [0x430208]
test eax, eax
je 0x404e8d
mov edx, dword [esp + 0x14]
push edx
call dword [0x43011c]
test eax, eax
jne 0x404e8d
push 4
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x430070]
lea ecx, [esp + 0x18]
call fcn.00406610
mov byte [esp + 0x28], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x404eee
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x404ee0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x404ee0
call fcn.00403c60
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x404ed7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x404eee
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
call fcn.00403ba0
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404f13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], 0
je 0x404f3a
call fcn.00405f50
test eax, eax
je 0x404f3a
mov edx, dword [esp + 0x10]
push 3
push 0
push 0x65
xor ecx, ecx
call fcn.00405bd0
add esp, 0xc
call fcn.00404b20
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 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 0x404f8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42de1b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x228]
push eax
call dword [0x430098]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
jge 0x405583
mov eax, ebx
lea ecx, [ebp - 0x22c]
call fcn.00403ef0
mov esi, dword [ebp - 0x22c]
cmp dword [esi - 8], ebx
jge 0x405592
push 0x80070057
call fcn.00401560
xor ecx, ecx
push esi
push ecx
push ecx
push 0x1a
mov dword [esi - 0xc], ebx
push ecx
mov word [esi + 0x208], cx
call dword [0x4301fc]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0041b407
add esp, 8
test eax, eax
js 0x405588
cmp eax, dword [esi - 8]
jg 0x405588
push 0x1b
xor edx, edx
mov dword [esi - 0xc], eax
push str.TencentLogslasterror.log
lea ebx, [ebp - 0x22c]
mov word [esi + eax*2], dx
call fcn.00403e30
mov ebx, dword [ebp - 0x22c]
push 0x435544
push ebx
call fcn.0041b991
mov esi, eax
add esp, 8
test esi, esi
je 0x405664
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [0x430064]
lea edx, [ebp - 0x218]
push edx
call dword [0x43020c]
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x21e]
push edi
push eax
movzx eax, word [ebp - 0x21a]
push eax
movzx eax, word [ebp - 0x220]
push ecx
movzx ecx, word [ebp - 0x222]
push edx
movzx edx, word [ebp - 0x226]
push eax
movzx eax, word [ebp - 0x228]
push ecx
push edx
push eax
push 0x435548
push esi
call fcn.0041b807
push esi
call fcn.0041ba3f
add esp, 0x30
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405687
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
Function at 0x4064c0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dde8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, str.SpesmarlHjcrpkpesNjzupwk_Tfjezs
mov dword [ebp - 4], ebx
call fcn.00409b90
mov eax, dword [eax]
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00406260
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406539
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], bl
je 0x4065e5
cmp esi, ebx
je 0x406584
cmp word [esi], bx
je 0x406584
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x4356fc
call fcn.00409b90
mov edi, dword [eax]
add esp, 4
push esi
call dword [0x430134]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x20]
push edi
call dword [0x430004]
xor ecx, ecx
cmp eax, ebx
sete cl
mov esi, ecx
jmp 0x4065a7
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x4356fc
call fcn.00409b90
mov eax, dword [eax]
mov edi, dword [ebp - 0x20]
add esp, 4
push eax
push edi
call dword [0x430030]
neg eax
sbb esi, esi
inc esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4065c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x4065d1
push edi
call dword [0x430040]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4065f3
push eax
call dword [0x430040]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ea18
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004067b0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x406fc5
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
call fcn.00406c50
mov eax, dword [ebp - 0x14]
add esp, 4
cmp dword [eax - 0xc], 0
jne 0x407002
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406ff6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x406f98
push eax
call dword [0x430208]
or edx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x407022
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x406fea
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40703b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x407150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x20]
push eax
mov eax, str.SoftwareTencentTodayDo
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00406260
test eax, eax
jne 0x4071e9
lea ecx, [ebp - 0x14]
push ecx
call dword [0x430098]
movzx edx, word [ebp - 0x14]
movzx eax, word [ebp - 0x12]
imul edx, edx, 0x64
movzx ecx, word [ebp - 0xe]
mov edi, dword [ebp - 0x20]
add edx, eax
imul edx, edx, 0x64
add edx, ecx
push 4
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x24]
push edx
push 4
push 0
push str.Udte
push edi
call dword [0x430004]
mov esi, eax
neg esi
sbb esi, esi
test edi, edi
je 0x4071d6
push edi
call dword [0x430040]
lea eax, [esi + 1]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4071f7
push eax
call dword [0x430040]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
Function at 0x407280
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
jne 0x4072a7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
push edi
call dword [0x430104]
mov edi, dword [0x4301f8]
push 5
push 0
push 0
push esi
push str.open
push 0
call edi
cmp eax, 0x20
jg 0x40733a
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0041ce00
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [0x4301f4]
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041bce2
add esp, 0xc
push 5
push 0
push esi
lea ecx, [ebp - 0x20c]
push ecx
push str.open
push 0
call edi
cmp eax, 0x20
jle 0x40734e
push 0x3e9
call fcn.00407370
add esp, 4
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
push 0x3ea
call fcn.00407370
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret
Function at 0x407370
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ddc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push eax
push 0x435750
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404190
add esp, 8
lea ecx, [ebp - 0x24]
push ecx
mov eax, str.SoftwareTencentReport
mov dword [ebp - 0x10], ebx
call fcn.00406260
test eax, eax
jne 0x40747d
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edi
push esi
mov dword [ebp - 0x18], 4
call dword [0x430038]
mov eax, dword [ebp - 0x10]
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push ebx
inc eax
push edi
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
call dword [0x430004]
cmp esi, ebx
je 0x407439
push esi
call dword [0x430040]
xor esi, esi
mov dword [ebp - 0x24], esi
lea eax, [edi - 0x10]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40745b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x407466
push esi
call dword [0x430040]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40749f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4074ad
push eax
call dword [0x430040]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e220
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x40899f
cmp word [esi], bx
je 0x40899f
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, str.SpesmarlHjcrpkpesNjzupwkTbqrlzsPlrkjpzExnfpqeq
mov dword [ebp - 4], ebx
call fcn.00409b90
mov eax, dword [eax]
add esp, 4
lea ecx, [ebp - 0x24]
push ecx
call fcn.00406260
test eax, eax
mov eax, dword [ebp - 0x14]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4088ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], bl
je 0x408991
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00408fa0
mov esi, eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, str.SalffSthslKx
mov byte [ebp - 4], 1
call fcn.00409b90
mov edi, dword [eax]
mov esi, dword [esi]
xor eax, eax
add esp, 4
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x40890d
mov esi, dword [ebp - 0x24]
mov eax, 0xd
jmp 0x408928
push esi
call dword [0x430134]
lea edx, [eax + eax + 2]
push edx
push esi
mov esi, dword [ebp - 0x24]
push 1
push ebx
push edi
push esi
call dword [0x430004]
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 0x14]
sete cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov edi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408972
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x40897d
push esi
call dword [0x430040]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x40899f
push eax
call dword [0x430040]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4089c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x208
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x218], 0x104
mov dword [ebp - 0x214], 1
call fcn.0041ce00
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, str.SWXINARKIlnclzsQQ4667
call fcn.00409b90
mov eax, dword [eax]
add esp, 0x10
push 0
lea edx, [ebp - 0x210]
push edx
push 0
push 0x20019
push 0
push 0
push 0
push eax
push 0x80000002
call dword [0x430034]
test eax, eax
mov eax, dword [ebp - 0x21c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
pop ebx
je 0x408ac2
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x214]
push eax
push 0
push 0x43585c
push ecx
call dword [0x430038]
mov edx, dword [ebp - 0x210]
push edx
call dword [0x430040]
push str._bin
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041bce2
add esp, 0xc
push esi
lea ecx, [ebp - 0x20c]
call fcn.00403300
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0041ad7d
mov esp, ebp
pop ebp
ret