joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a440
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc57b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046cf80
add esp, 0x18
mov dword [ebp - 0x428], 0
xor eax, eax
mov dword [ebp - 0x424], 7
lea ecx, [ebp - 0x438]
mov word [ebp - 0x438], ax
push eax
push 0x6568a4
call fcn.00403240
xor esi, esi
mov dword [ebp - 4], 0
push esi
push 0x17
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a55b
push 0x5d4b64
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x5d6c94
push eax
call fcn.00405db0
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a510
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00403240
push 8
push 0x5d4b64
lea ecx, [ebp - 0x438]
call fcn.004058f0
push 4
push 0x5d6ca4
lea ecx, [ebp - 0x438]
call fcn.004058f0
mov esi, 1
push 0
push 0x19
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a5e8
push 0x5d4b64
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x5d6c94
push eax
call fcn.00405db0
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a5a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00403240
push 8
push 0x5d4b64
lea ecx, [ebp - 0x438]
call fcn.004058f0
push 4
push 0x5d6ca4
lea ecx, [ebp - 0x438]
call fcn.004058f0
jmp 0x41a5ec
test esi, esi
je 0x41a612
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a612
mov esi, 1
jmp 0x41a614
xor esi, esi
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x41a650
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a66c
push edx
push ecx
call fcn.0044a315
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret
call fcn.00470179
int3
Function at 0x41a9d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc688
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004523d4
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x41aa14
mov eax, dword [eax]
push 0x6568a4
push str.5c9be
push str.BKOI
push eax
lea eax, [ebp - 0x40]
push 0x5d4df4
push eax
call fcn.00464f63
add esp, 0x18
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41aa73
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab6d
push edx
push ecx
call fcn.0044a315
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x30], eax
je 0x41ab1d
call fcn.00404470
mov ecx, eax
call fcn.0044f059
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aab7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403240
push 0xb
push str.BKRtron.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004058f0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004580a9
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
call fcn.00402fe0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41ab53
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ab72
push edx
push ecx
call fcn.0044a315
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret
call fcn.00470179
call fcn.00470179
int3
Function at 0x41d230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x41d2b7
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.BKrmir
push dword [ebp - 8]
call esi
test eax, eax
jne 0x41d2b7
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x41d2ad
push eax
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x41d2b7
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x41d570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d5fd
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.BKrmir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41d5c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x426200
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd700
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x664340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], ax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], 7
mov dword [ebp - 4], eax
mov word [edx + 0x1c], ax
lea ecx, [edx + 0x34]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
xor esi, esi
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], 7
mov word [edx + 0x4c], si
lea ebx, [edx + 0x64]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edi, [edx + 0x7c]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edx + 0x94]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push eax
push 0x6568a4
mov byte [ebp - 4], 6
mov dword [edx], eax
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568a4
lea ecx, [ecx + 0x4c]
call fcn.00403240
push 0
push 0x6568a4
mov ecx, ebx
call fcn.00403240
push 0
push 0x6568a4
mov ecx, edi
call fcn.00403240
push 0
push 0x6568a4
mov ecx, esi
call fcn.00403240
mov eax, dword [ebp - 0x10]
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 0x429a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa3c
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0xa0c]
push edi
mov edi, dword [ebp + 8]
push 0x800
push 0
push eax
mov dword [ebp - 0xa3c], ecx
mov dword [ebp - 0xa2c], 0
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xa30], 0x800
push 0
push eax
call fcn.0046cf80
add esp, 0x18
mov dword [ebp - 0xa38], 0x208
xor ebx, ebx
mov dword [ebp - 0xa34], 1
cmp dword [esi + 0x14], 8
jb 0x429a9d
mov esi, dword [esi]
lea eax, [ebp - 0xa2c]
push eax
push 0xf013f
push 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
call esi
test eax, eax
jne 0x429c92
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push 0x6568a4
push dword [ebp - 0xa2c]
call edi
mov ecx, str.BKPDF_Shell
lea eax, [ebp - 0xa0c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429b18
test dx, dx
je 0x429b14
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429b18
add eax, 4
add ecx, 4
test dx, dx
jne 0x429af2
xor eax, eax
jmp 0x429b1d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x429c90
push 0x800
push eax
lea eax, [ebp - 0xa0c]
push eax
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0xa30], 0x800
lea eax, [ebp - 0xa28]
mov dword [ebp - 0xa28], ebx
push eax
push 0xf013f
push 0
push str.InprocServer32
push dword [ebp - 0xa2c]
call esi
test eax, eax
jne 0x429bbd
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push 0x6568a4
push dword [ebp - 0xa28]
call edi
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push str.ThreadingModel
push dword [ebp - 0xa28]
call edi
push dword [ebp - 0xa28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xa3c]
lea eax, [ebp - 0xa24]
push eax
call fcn.0042da30
cmp dword [ebp - 0xa10], 8
lea eax, [ebp - 0xa24]
lea ecx, [ebp - 0xa0c]
cmovae eax, dword [ebp - 0xa24]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x429c16
test dx, dx
je 0x429c12
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x429c16
add ecx, 4
add eax, 4
test dx, dx
jne 0x429bf0
xor eax, eax
jmp 0x429c1b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x429c81
mov ecx, str.Apartment
lea eax, [ebp - 0x20c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429c68
test dx, dx
je 0x429c52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429c68
add eax, 4
add ecx, 4
test dx, dx
jne 0x429c30
lea ecx, [ebp - 0xa24]
xor esi, esi
call fcn.00402fe0
xor ebx, ebx
test esi, esi
sete bl
jmp 0x429c92
sbb esi, esi
lea ecx, [ebp - 0xa24]
or esi, 1
call fcn.00402fe0
xor ebx, ebx
test esi, esi
sete bl
jmp 0x429c92
lea ecx, [ebp - 0xa24]
xor ebx, ebx
call fcn.00402fe0
jmp 0x429c92
xor ebx, ebx
push dword [ebp - 0xa2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
mov esp, ebp
pop ebp
ret 8
Function at 0x42a4f0
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push esi
push edi
push 0x208
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0046cf80
mov ecx, dword [ebp + 8]
add esp, 0x18
cmp dword [ecx + 0x14], 8
jb 0x42a53d
mov ecx, dword [ecx]
lea edx, [ebp - 0x414]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42a545
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x42a55f
mov edx, dword [ebx]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42a561
lea edi, [ebp - 0x414]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a580
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x42a5a5
mov ecx, dword [ecx]
lea edx, [ebp - 0x20c]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42a5b0
cmp dword [ebx + 0x14], 8
jb 0x42a5c8
mov ebx, dword [ebx]
mov esi, ebx
nop word [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42a5d0
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42a5e6
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
jne 0x42a6be
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x42a6be
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0045875c
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0046cf80
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s.bak_d
push eax
call fcn.00405db0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0047a45c
add esp, 0x2c
lea eax, [ebp - 0x61c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, 0xa
jge 0x42a6be
push 0
lea eax, [ebp - 0x20c]
inc esi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x42a627
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42b680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cde26
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x250], 0
push 0
push eax
mov dword [ebp - 0x24c], 0
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 0x4f
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
call fcn.00403240
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b882
push 4
push 0x5d85d0
lea ecx, [ebp - 0x230]
call fcn.00403240
push 0xa
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
call fcn.004058f0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b876
push 1
push 0x5d834c
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00403240
push 0x24
push 0x5d8350
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.004058f0
push 1
push 0x5d839c
lea ecx, [ebp - 0x248]
call fcn.004058f0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42b811
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b830
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568a4
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x248]
call fcn.00402fe0
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42b8be
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b8b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b8d7
push edx
push ecx
call fcn.0044a315
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret
call fcn.00470179
int3
Function at 0x42ddf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce238
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x664340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], cx
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], 7
mov dword [ebp - 4], ecx
mov word [edx + 0x1c], cx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], 7
mov word [edx + 0x34], cx
lea ecx, [edx + 0x4c]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
xor esi, esi
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], 7
mov word [edx + 0x64], si
mov dword [edx + 0x8c], esi
mov dword [edx + 0x90], 7
mov word [edx + 0x7c], ax
mov dword [edx + 0xa4], esi
mov dword [edx + 0xa8], 7
mov word [edx + 0x94], si
lea ebx, [edx + 0xac]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edi, [edx + 0xc4]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edx + 0xdc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [edx + 0x104], eax
mov dword [edx + 0x108], 7
mov word [edx + 0xf4], ax
push eax
push 0x6568a4
mov byte [ebp - 4], 0xa
mov dword [edx], eax
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568a4
lea ecx, [ecx + 0x64]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568a4
lea ecx, [ecx + 4]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568a4
lea ecx, [ecx + 0x1c]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568a4
lea ecx, [ecx + 0x34]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568a4
lea ecx, [ecx + 0x94]
call fcn.00403240
push 0
push 0x6568a4
mov ecx, ebx
call fcn.00403240
push 0
push 0x6568a4
mov ecx, edi
call fcn.00403240
push 0
push 0x6568a4
mov ecx, esi
call fcn.00403240
mov eax, dword [ebp - 0x10]
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 0x42fae0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42fb40
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fb00
sub ecx, edx
sar ecx, 1
je 0x42fb40
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x42fb40
push 0x10020
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x42fb54
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
test edi, edi
pop edi
je 0x42fb40
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
mov esp, ebp
pop ebp
ret 4
Function at 0x43bee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfad3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x664340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x669318
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x669318
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5d90dc
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0043fb10
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x442730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x66d660], ecx
inc eax
cmp eax, 0x100
jb 0x442732
cmp eax, 0x800
jae 0x442803
nop
mov edx, dword [eax*4 + 0x66d260]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x66d660]
mov dword [eax*4 + 0x66d660], edx
inc eax
cmp eax, 0x800
jb 0x4427e0
mov dword [0x669324], 0x4435a0
call fcn.004433d0
mov ecx, dword [0x669324]
test eax, eax
mov edx, 0x443640
cmove ecx, edx
mov dword [0x669324], ecx
ret