joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456114
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, 0x455ea4
call fcn.00406098
xor eax, eax
push ebp
push 0x45622e
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004029f4
test eax, eax
jg 0x456213
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402a54
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040858c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458610]
call fcn.00404034
lea edx, [ebp - 0x20]
mov eax, dword [0x458610]
mov eax, dword [eax]
call fcn.00407e90
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00455d98
mov ecx, dword [ebp - 0x1c]
mov eax, 0x459e0c
mov edx, 0x456244
call fcn.004042ec
mov eax, dword [0x459e0c]
call fcn.004044a0
push eax
push 1
push 0
push 0
call sub.kernel32.dll_CreateSemaphoreA
mov ebx, eax
test ebx, ebx
je 0x4561d8
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x4561d8
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x4588ec]
mov eax, dword [eax]
call fcn.0044ea60
jmp 0x456213
mov eax, dword [0x4588ec]
mov eax, dword [eax]
call fcn.0044e95c
push 1
push 0
push 0x45624c
push 0x45627c
push 0x456290
mov eax, dword [0x4588ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4588ec]
mov eax, dword [eax]
call fcn.0044e974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456235
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404004
ret
Function at 0x404c81
Capabilities:
Encode data using xor

Disassembly:
call fcn.00404b30
mov ecx, 0x248
call 0x404c81
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x404c84
mov eax, 0x5040134
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x405340
Capabilities:
Encode data using xor

Disassembly:
inc ebp
invalid
call 0xc76c9a5d
inc ecx
or al, 0xe3
mov al, byte [eax]
add byte [ebx + 0x51ff0450], cl
add al, 0x89
mov edi, 0x48895289
add al, 0xa7
dec edi
sub al, 0x28
dec eax
adc al, 0x8b
pop eax
adc byte [ebx - 0x7e34d4d0], cl
rol dword [eax], 0x10
add byte [eax], al
mov edx, esi
adc esi, 0xfffff000
xchg esi, eax
rcl ecx, 0xc
sbb byte [eax + 0xc], cl
iretd
add al, 0x8e
inc ebp
adc byte [ebx + 0x6a], bl
jbe 0x4052ba
dec edi
pop ebp
ret 0xc0c
jnp 0x4052cd
in al, dx
sub esp, 0x10
out 0x55, eax
or byte [ebx + 0x56], dl
push edi
mov ebx, dword [edx - 3]
mov eax, dword [edx]
mov edi, dword [edx + 0xc]
jnp 0x405399
adc byte [ecx + 0xc8df445], cl
add byte [ebx + 0x57392f9], al
mov bl, 0x20
add ah, bl
jl 0x405372
jp 0x40532e
add byte [ebx - 0x74848afd], cl
jo 0x405386
nop
jo 0x405385
cmp ecx, esi
ja 0x4053ea
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ecx], esi
mov esp, dword [ecx - 0x76fb8f75]
mov dword [ecx + 4], esi
jno 0x40538c
mov ecx, dword [ebx + 4]
jne 0x40539f
adc al, byte [ecx + ecx*4]
add al, 0x89
add dword [ecx + 0x4438918], ecx
mov dword [eax - 0x76], 0xff0000
mov dword [edi + 0x2c], eax
add bh, bh
add byte [ecx + 0x788b2c47], cl
adc al, 0x8b
dec ebx
adc byte [ebx - 0xf3ed462], cl
into
mov edi, dword [eax + 0x14]
mov ecx, dword [ebx + 0x10]
mov ebx, dword [esi - 0x310f3ed5]
add eax, 0xa857
and eax, 0x91fff000
xor al, 0xc1
clc
or al, 0x3f
inc ebx
or al, 0x3b
inc ecx
and esi, dword [ebx + 0x21]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0xc]
jb 0x4053c1
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov eax, dword [ebx]
mov esi, dword [ecx]
add al, 0x89
jo 0x4053d9
mov esi, dword [ebp + 0x4438904]
mov dword [eax], ebx
mov dword [ebx], ecx
and byte [ecx + 4], bl
inc ebx
add al, 0x89
sbb byte [ecx + 0x459200b], cl
mov eax, dword [edi + 0x2c]
jmp 0x4066d3
mov esi, dword [edi + 0x18]
lea eax, [ecx + 0x10cb]
and eax, 0xfffff000
cmp eax, ecx
mov dword [ebp - 4], eax
dec esp
or byte [0xd9600a9], 0xd4
and byte [eax], al
add byte [ebx + 0xa], dh
invalid
call [edi + 8]
xor edx, dword [ebx + ebx*2]
pop ebp
ret 0x14
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x40891b
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
call fcn.0040893c
sub ebx, ecx
dec ebx
xor dword [edi], esi
inc ecx
inc edi
add ebx, ebx
cmp edi, edx
jne fcn.0040891b
sub ecx, 0xc18e8fd3
and ebx, ebx
ret
Function at 0x422f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x422f4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422f40
mov eax, 1
add ebx, ebx
jne 0x422f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422f58
jne 0x422f74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422f58
xor ecx, ecx
sub eax, 3
jb 0x422f88
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422ffa
mov ebp, eax
add ebx, ebx
jne 0x422f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422fa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422fc4
inc ecx
add ebx, ebx
jne 0x422fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422fa5
jne 0x422fc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422fa5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422fe4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422fd5
jmp 0x422f46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422fe4
add edi, ecx
jmp 0x422f46
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423002
cmp byte [edi], 6
jne 0x423002
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x423007
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x423076
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26bf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26c34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423034
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26c38]
or eax, eax
je 0x423070
mov dword [ebx], eax
add ebx, 4
jmp 0x423051
call dword [esi + 0x26c48]
mov ebp, dword [esi + 0x26c3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4230aa
sub esp, 0xffffff80
jmp 0x403861
Function at 0x403b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb580
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4fb068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00419810
push 4
push 0x4dafa0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00407e80
push 0x3c
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00499e80
add esp, 0xc
mov dword [ebp - 0x64], 0x3c
test bl, bl
mov dword [ebp - 0x5c], 0
mov ecx, str.open
mov dword [ebp - 0x60], 0x540
mov eax, str.runas
mov dword [ebp - 0x4c], 0x4d9d40
cmove eax, ecx
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x54], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x403c40
xor bl, bl
jmp 0x403c50
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x403c4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.00401e60
lea ecx, [ebp + 8]
call fcn.00401e60
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496c8f
mov esp, ebp
pop ebp
ret
Function at 0x404100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x10], eax
push edi
mov edi, edx
test eax, eax
jne 0x404119
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x100
mov ebx, 0x80
call fcn.0049c2c9
add esp, 4
mov dword [ebp - 8], 0xfe
cmp dword [edi + 0x14], 8
mov esi, eax
mov dword [ebp - 0xc], 1
mov eax, edi
jb 0x404147
mov eax, dword [edi]
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x4041ab
mov ebx, 0x100
mov eax, ebx
mov dword [ebp - 0x14], eax
lea ebx, [eax + eax]
push ebx
push esi
call fcn.0049c21e
mov esi, eax
add esp, 8
cmp dword [edi + 0x14], 8
lea eax, [ebx - 2]
mov dword [ebp - 8], eax
mov eax, edi
jb 0x40418c
mov eax, dword [edi]
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x404168
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 1], 0
test eax, eax
jne 0x4041ed
mov eax, dword [ebp - 8]
cmp eax, ebx
jae 0x4041c2
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4041c9
xor eax, eax
mov word [esi + ebx*2 - 2], ax
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4041d0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.00401ed0
mov byte [ebp - 1], 1
push esi
call fcn.0049bfbe
mov al, byte [ebp - 1]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406d30
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbc38
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4fb068]
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, ecx
push ecx
call fcn.00405170
test al, al
je 0x406d70
push 0
mov ecx, esi
call fcn.004064b0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00425570
test al, al
je 0x406f37
cmp byte [esi + 0x183], 0
jne 0x406dfe
call fcn.004139e2
test al, al
je 0x406dcf
cmp byte [esi + 0x182], 0
jne 0x406dcf
mov bl, 1
jmp 0x406dd1
xor bl, bl
sub esp, 0x18
lea eax, [esi + 0x10c]
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.00407810
mov byte [ebp - 4], 2
mov cl, bl
mov byte [ebp - 4], 1
call fcn.00403c80
add esp, 0x18
mov bl, al
jmp 0x406f39
mov eax, dword [esi + 0xac]
push str.UninstallDriver
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x406e1d
mov ebx, 0x1000
jmp 0x406e26
call eax
xor ebx, ebx
test eax, eax
setne bl
lea ecx, [ebp - 0x70]
call fcn.00413016
mov byte [ebp - 4], 7
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00419810
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 9
call fcn.004075e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00401e60
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x4dada0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00401ed0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004185e0
add esp, 4
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call fcn.004075e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.00401e60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00401e60
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x7c]
cmp esi, dword [ebp - 0x78]
je 0x406f14
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
mov ecx, esi
call fcn.0041a250
test al, al
je 0x406f0c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x406f05
mov eax, dword [esi]
push 4
push 0
push eax
call edi
add esi, 0x18
cmp esi, dword [ebp - 0x78]
jne 0x406ef0
test ebx, ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
sete bl
call fcn.00407dd0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00401e60
mov byte [ebp - 4], 1
jmp 0x406f39
xor bl, bl
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0x20
call fcn.00401e60
mov dword [ebp - 4], 0xffffffff
mov al, bl
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.00496c8f
mov esp, ebp
pop ebp
ret
Function at 0x406f70
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbca2
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4fb068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1ac
lea eax, [ebp - 0x1c0]
mov ecx, 0x17
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x21c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00499e80
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp byte [ebp + 8], 0
je 0x407126
test eax, eax
jne 0x4071cd
push 0xc
push 0x4db2ac
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00401ed0
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.00413077
lea ecx, [ebp - 0x234]
call fcn.00401e60
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
push 8
push str.haozipcd
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.00401ed0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x280]
lea edx, [ebp - 0x234]
push eax
call fcn.00404100
add esp, 4
lea ecx, [ebp - 0x234]
mov bl, al
call fcn.00401e60
lea ecx, [ebp - 0x24c]
test bl, bl
je 0x4070d2
lea edx, [ebp - 0x264]
call fcn.00418ae0
test eax, eax
je 0x407104
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 0x23c]
cmp dword [ebp - 0x238], 8
cmovae ecx, dword [ebp - 0x24c]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.haozipcd
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x264]
call fcn.00401e60
lea ecx, [ebp - 0x24c]
jmp 0x4071c8
test eax, eax
jne 0x4071cd
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x27c]
push 8
push str.haozipcd
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00401ed0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x280]
lea edx, [ebp - 0x27c]
push eax
call fcn.00404100
add esp, 4
lea ecx, [ebp - 0x27c]
mov bl, al
call fcn.00401e60
test bl, bl
je 0x4071b6
push str.haozipcd
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x264]
call fcn.00401e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00496c8f
mov esp, ebp
pop ebp
ret 4
Function at 0x4071f0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbcf1
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x4fb068]
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
push 0x1ac
lea eax, [ebp - 0x3cc]
mov ecx, 0x17
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x428]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00499e80
add esp, 0xc
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4072c4
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00499e80
add esp, 0xc
mov dword [ebp - 0x478], 0x208
lea eax, [ebp - 0x478]
mov dword [ebp - 0x47c], 1
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x47c]
push eax
push 0
push str.haozipcd
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x474]
test eax, eax
je 0x4072cb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x407417
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xc
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
lea ecx, [ebp - 0x458]
push 0x4db2ac
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
call fcn.00401ed0
lea edx, [ebp - 0x458]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x470]
call fcn.00413077
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 3
call fcn.00401e60
mov byte [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x430], 0
lea edx, [eax + 2]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407380
sub eax, edx
lea ecx, [ebp - 0x440]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00401ed0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 7
call fcn.00401ec0
lea ecx, [ebp - 0x470]
mov esi, eax
call fcn.00401ec0
cmp eax, esi
lea ecx, [ebp - 0x440]
cmovae esi, eax
push esi
call fcn.00401de0
lea ecx, [ebp - 0x470]
mov esi, eax
call fcn.00401de0
mov edx, esi
mov ecx, eax
call fcn.00418b20
add esp, 4
test eax, eax
sete bl
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 8
call fcn.00401e60
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], 0xc
call fcn.00401e60
mov dword [ebp - 4], 0xffffffff
mov al, bl
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.00496c8f
mov esp, ebp
pop ebp
ret
Function at 0x40b4c0
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc23c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x480
mov eax, dword [0x4fb068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x490], ecx
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x450]
mov edi, dword [ebx + 0xc]
mov edx, 0x7550
call fcn.00407440
mov dword [ebp - 4], 0
mov al, byte [esi + 4]
test al, al
je 0x40b65c
xor ecx, ecx
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], cx
movsx eax, al
push eax
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
push str._c:_
push eax
call fcn.00419210
add esp, 0xc
mov dword [ebp - 0x48c], 0
cmp dword [ebp - 0x454], 8
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x468]
mov dword [ebp - 0x488], 0
cmovae eax, dword [ebp - 0x468]
push 0x104
push ecx
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x484], 0
push ecx
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x48c]
push ecx
push 0x104
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40b602
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b5e0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.00401ed0
mov edx, 0x7553
lea ecx, [ebp - 0x480]
call fcn.00407440
mov ecx, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
cmovae eax, dword [ebp - 0x450]
cmp dword [ecx + 0x14], 8
jb 0x40b634
mov ecx, dword [ecx]
push eax
movsx eax, byte [esi + 4]
push eax
push ecx
push str._s__c:__s
push edi
call fcn.00419210
add esp, 0x14
lea ecx, [ebp - 0x480]
call fcn.00401e60
lea ecx, [ebp - 0x468]
jmp 0x40b6a2
mov edx, 0x7553
lea ecx, [ebp - 0x480]
call fcn.00407440
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
cmovae ecx, dword [ebp - 0x450]
cmp dword [eax + 0x14], 8
jb 0x40b68c
mov eax, dword [eax]
push ecx
push eax
push str._s_s
push edi
call fcn.00419210
add esp, 0x10
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0
call fcn.00401e60
mov ecx, dword [ebp - 0x490]
lea eax, [ebp - 0x480]
push edi
push eax
call fcn.0040b220
mov esi, eax
cmp edi, esi
je 0x40b6ee
mov ecx, edi
call fcn.00401e60
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x480]
call fcn.00401e60
lea ecx, [ebp - 0x450]
call fcn.00401e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00496c8f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8