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

Disassembly:
push 0xffffffffffffffff
push 0x10027981
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x20], edi
push esi
mov dword [esp + 0x18], edi
call fcn.10006d70
mov dword [esp + 0x20], edi
mov eax, dword [0x100786a8]
mov edx, dword [eax + 0xc]
mov ebx, 1
mov ecx, 0x100786a8
mov dword [esp + 0x14], ebx
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push str.logService
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x30]
push 0x1002c248
push ecx
call fcn.100033e0
test eax, eax
je 0x10002bbd
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x14]
call fcn.10002220
lea edi, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.100073c0
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002b72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x1002c6e8
call fcn.10009b30
push esi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x2c], 3
call fcn.10004130
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002bbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20], 0
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 0x10002be2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x10002c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10027929
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x38], ebx
push esi
mov dword [esp + 0x20], ebx
call fcn.10006d70
mov dword [esp + 0x38], ebx
mov eax, dword [0x100786a8]
mov edx, dword [eax + 0xc]
mov edi, 1
mov ecx, 0x100786a8
mov dword [esp + 0x1c], edi
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push str.DelayedService
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x48]
push 0x1002c248
push ecx
call fcn.100033e0
test eax, eax
je 0x10002d31
lea edx, [esp + 0x40]
push edx
mov ecx, 0x1002c6e8
call fcn.10009b30
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x44], 2
call fcn.10004130
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002ccf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], eax
cmp dword [esi + 0xc], eax
jbe 0x10002ce0
call fcn.10014d0c
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi]
mov dword [esp + 0x20], ecx
cmp dword [esi + 0xc], ebx
jbe 0x10002cf3
call fcn.10014d0c
mov edi, dword [esi + 0xc]
mov ebp, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x10002d02
call fcn.10014d0c
mov eax, dword [esi]
push ebx
push ebp
push edi
push eax
lea ebx, [esp + 0x38]
call fcn.10007fb0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
add esp, 0x10
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push esi
lea ebx, [esp + 0x34]
call fcn.10006e80
xor ebx, ebx
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002d55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x10002d70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100278e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [0x100786a8]
mov edx, dword [eax + 0xc]
mov ecx, 0x100786a8
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
push str.logService
lea eax, [esp + 0x2c]
push eax
push 0x1002c248
xor ebx, ebx
push ebp
mov dword [esp + 0x30], ebx
call fcn.100033e0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10002220
lea edi, [esp + 0x28]
mov byte [esp + 0x20], 1
call fcn.100073c0
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002e0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x1002c6e8
lea ecx, [esp + 0x30]
push ecx
call fcn.10007d30
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10007d30
lea ebx, [esp + 0x28]
call fcn.100071a0
mov ebx, eax
call fcn.10007270
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x1002c6e8
call fcn.10009b30
lea ecx, [esp + 0x2c]
lea esi, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.100038d0
xor bl, bl
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002e87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10002080
lea edi, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.100073c0
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002ec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x1002c248
push str.logService
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002f0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x10002f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100278a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, ecx
mov eax, dword [0x100786a8]
mov edx, dword [eax + 0xc]
mov ecx, 0x100786a8
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
push str.DelayedService
lea eax, [esp + 0x30]
push eax
push 0x1002c248
xor ebx, ebx
push edi
mov dword [esp + 0x34], ebx
call fcn.100033e0
test eax, eax
je 0x10003053
mov eax, dword [ebp]
push 0x1002d0d4
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.100066f0
lea edx, [esp + 0x18]
push edx
mov ecx, 0x1002c6e8
call fcn.10009b30
lea ecx, [esp + 0x18]
lea esi, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.100038d0
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002fee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x2c]
call fcn.100071a0
mov ebx, eax
call fcn.10007270
mov ecx, dword [edi]
mov eax, dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push 0
push 0
push eax
call esi
mov edi, dword [edi]
mov ecx, dword [esp + 0x2c]
push edi
push ecx
push 0x1002c248
push str.DelayedService
call esi
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000304f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x1000307d
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000307b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x100033e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100275d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.10006f40
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x28]
mov esi, eax
cmp dword [esp + 0x24], eax
jbe 0x1000342c
call fcn.10014d0c
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, eax
jbe 0x1000343d
call fcn.10014d0c
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp edi, esi
je 0x10003453
xor edx, edx
mov word [ecx], dx
add ecx, 2
cmp ecx, esi
jne 0x10003443
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
sar eax, 1
mov esi, dword [ecx]
jne 0x10003466
call fcn.10014d0c
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push esi
push 0xa000
push edx
push 0x1002c6ec
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, eax
sub edx, ecx
sar edx, 1
jne 0x100034a3
call fcn.10014d0c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp word [ecx], 0xa
jne 0x100034ed
mov edx, eax
sub edx, ecx
sar edx, 1
cmp edx, 1
ja 0x100034c1
call fcn.10014d0c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp word [ecx + 2], bp
jne 0x100034ed
push ecx
call fcn.10013ff7
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.10013ff7
add esp, 4
xor eax, eax
jmp 0x1000355a
sub eax, ecx
sar eax, 1
jne 0x100034fc
call fcn.10014d0c
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
jne 0x10003504
xor eax, eax
jmp 0x1000351f
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x10003510
sub eax, esi
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x48]
push ecx
call fcn.10009a50
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x1000353c
push eax
call fcn.10013ff7
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.10013ff7
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10

Function at 0x10003570
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x10031210]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push eax
push 0x20
lea edx, [esp + 8]
push edx
push 0x1002c6ec
push 0x1002c214
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp], 0xa
jne 0x100035bf
cmp word [esp + 2], 0
jne 0x100035bf
xor eax, eax
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10014002
add esp, 0x44
ret 4
lea eax, [esp]
push eax
call fcn.10014b14
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esi], eax
xor ecx, esp
mov dword [esi + 4], edx
mov eax, 1
call fcn.10014002
add esp, 0x44
ret 4
Function at 0x100035f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10027238
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x100786a8]
mov edx, dword [eax + 0xc]
mov ecx, 0x100786a8
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push 0x1002c6f0
lea edi, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.10007f90
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov esi, dword [esp + 0x18]
add esp, 0xc
push eax
mov eax, dword [esp + 0x30]
push esi
push 0x1002c214
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000368e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10

Function at 0x10003870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov dword [esp + 4], 0
cmp dword [0x100792c0], 0
jne 0x100038bd
mov eax, 1
mov dword [0x100792c0], eax
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0x100792c8
lea ecx, [esp + 0xc]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
mov ecx, 0x100792c8
call fcn.10009b30
mov eax, esi
add esp, 8
ret
Function at 0x10003e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10027cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.10001f40
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
push ecx
mov ecx, str.kxesc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10009b30
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x20]
call fcn.10003570
cmp eax, 1
mov eax, dword [esp + 0x18]
sete byte [esp + 0x13]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], bl
je 0x10003f98
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.kxescore
call fcn.10009b30
mov byte [esp + 0x30], 1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.100035f0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003f41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.kxescore
call fcn.10009b30
lea ebx, [esp + 0x18]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.100030a0
test eax, eax
jne 0x10003f73
mov edx, ebx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10002d70
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003f98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
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 0x10003fc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x10003fe0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ecx
push esi
push edi
xor edi, edi
xor eax, eax
mov cl, 0x5e
lea esp, [esp]
xor byte [eax + 0x10032998], cl
inc eax
cmp eax, 0x22f48
jb 0x10003ff0
mov eax, dword [esp + 0x10]
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004047
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x22f48
push 0x10032998
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10004040
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10004060
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x10031210]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
call fcn.10003c80
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10015cf0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push str.kxesc
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100040da
lea ecx, [esp + 0x10]
push ecx
call fcn.10003a60
add esp, 4
mov esi, str.kxescore
call fcn.1000a270
call fcn.1000a840
mov esi, 0x1002c318
call fcn.1000a270
call fcn.1000a840
xor ebx, ebx
mov ecx, str.360cfzz.dll
call fcn.10005a10
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10014002
mov esp, ebp
pop ebp
ret
Function at 0x10004900
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x10031210]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
lea ecx, [esp + 8]
call fcn.10004340
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10015cf0
mov ecx, dword [esp + 0x14]
push ecx
push str._sSoftMgr_somextrainfo.ini
mov ecx, 0x104
lea ebx, [esp + 0x20]
call fcn.10009340
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x14
mov edx, ebx
push edx
push 0
push str.DisabledTime
push str.QQPCTray
call esi
test eax, eax
je 0x100049a2
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004986
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10014002
add esp, 0x210
ret
lea ecx, [esp + 0xc]
push ecx
push 0
push str.DisabledTime
push str.QQPCRTP
call esi
test eax, eax
je 0x100049cf
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1000497a
lea ecx, [esp + 0xc]
push ecx
push 0
push str.DisabledTime
push str.QQPCFixSvc
call esi
test eax, eax
mov eax, dword [esp + 8]
je 0x100049ff
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1000497a
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004a1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10014002
add esp, 0x210
ret
Function at 0x10004a40
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10027beb
mov eax, dword fs:[0]
push eax
sub esp, 0xa40
mov eax, dword [0x10031210]
xor eax, esp
mov dword [esp + 0xa3c], eax
push ebx
push esi
push edi
mov eax, dword [0x10031210]
xor eax, esp
push eax
lea eax, [esp + 0xa50]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.10004340
xor eax, eax
mov dword [esp + 0xa58], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10014b7b
push 0x208
lea edx, [esp + 0x84c]
push 0
push edx
call fcn.10015cf0
call fcn.10014b8d
push eax
push 0x1002c6e0
mov ecx, 0x104
lea ebx, [esp + 0x85c]
call fcn.10009340
lea edi, [esp + 0x2c]
lea esi, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.1000b6b0
push 0x208
lea eax, [esp + 0x450]
push 0
push eax
call fcn.10015cf0
add esp, 0x24
push 0x104
lea ecx, [esp + 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea edx, [esp + 0x28]
push 0
push edx
call fcn.10015cf0
add esp, 0xc
cmp dword [esp + 0x10], 6
lea ebx, [esp + 0x24]
jb 0x10004b53
movzx eax, word [esp + 0x434]
push eax
push str._C:UsersDefaultAppDataLocaldefend
jmp 0x10004b61
movzx ecx, word [esp + 0x434]
push ecx
push str._C:Documents_and_SettingsDefault_UserLocal_Settingsdefend
mov ecx, 0x104
call fcn.10009340
add esp, 8
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x208
lea eax, [esp + 0x230]
push 0
push eax
call fcn.10015cf0
lea ecx, [esp + 0x850]
push ecx
lea edx, [esp + 0x34]
push edx
push str._s_s.exe
mov ecx, 0x104
lea ebx, [esp + 0x244]
call fcn.10009340
push 0x208
lea eax, [esp + 0x658]
push 0
push eax
call fcn.10015cf0
lea ecx, [esp + 0x48]
push ecx
push str._s_saferundll.exe
mov ecx, 0x104
lea ebx, [esp + 0x668]
call fcn.10009340
lea edx, [esp + 0x258]
push edx
call fcn.10003fe0
add esp, 0x30
test eax, eax
je 0x10004c23
lea eax, [esp + 0x22c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004c00
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x230]
push ecx
call fcn.10001020
jmp 0x10004c29
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x63c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
push 0
lea eax, [esp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [esp + 0xa58], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004c74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa3c]
xor ecx, esp
call fcn.10014002
add esp, 0xa4c
ret