joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045ff07
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0042f870
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045fe35
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045aa53
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045aa53
push 1
push 0
push 0
mov ecx, esi
call fcn.0045a9fb
push 1
push 0
push 1
mov ecx, esi
call fcn.0045a9fb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045ff79
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x430050
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045ff07
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0042f870
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045fe35
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x430114
cmp dword [esp + 0x40], 1
jne 0x430112
cmp ecx, eax
jge 0x430114
mov eax, ecx
cmp eax, 0xc8
jge 0x430120
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0042fed0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045ff79
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x430890
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466103
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00458e70
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004601af
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00461b2c
test eax, eax
je 0x4309ac
mov ecx, dword [esp + 0x3c]
call fcn.004601dc
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x430970
push edi
mov ecx, esi
call fcn.0045ca8b
mov ecx, esi
call fcn.00430b10
cmp dword [esp + 0x38], 1
jne 0x4309a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045cbc6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4368a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x466708
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4368d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4369ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4368ed
mov eax, 0xffffffc7
jmp 0x4369ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4368fe
cmp dword [esi + 8], eax
jne 0x4368ed
cmp dword [esi + 8], eax
jne 0x436917
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x436917
mov eax, 0xffffffc7
jmp 0x4369ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43692b
push eax
mov ecx, ebx
call fcn.004360d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401130
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43695c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401180
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435840
test eax, eax
mov dword [esp + 0x38], eax
je 0x43698f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46bae8
call fcn.00401360
mov eax, dword [esp + 0x38]
jmp 0x4369ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00436700
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4369d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436720
mov esi, eax
test esi, esi
jne 0x436a03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00436700
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4369a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46bae8
call fcn.00401360
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46bae8
call fcn.00401360
mov eax, esi
jmp 0x4369ee
Function at 0x439e00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439e33
push esi
call fcn.0043cdb0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x439e2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439eb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439ea2
mov eax, dword [esi + 8]
test eax, eax
je 0x439e57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x439e9e
cmp eax, 2
je 0x439ea2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439e4a
cmp eax, 3
je 0x439e7d
cmp eax, 1
jne 0x439e4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x439e4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x439e4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439ee0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439ec8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439ee0
add esp, 4
pop esi
ret

Function at 0x445bf0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x445c93
test eax, eax
jbe 0x445c93
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x445c93
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x445c3e
xor esi, esi
jmp 0x445c44
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x445c6f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00401bb0
add esi, eax
push esi
mov ebx, esi
call fcn.00401bb0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x445c50
pop ebp
test edi, edi
pop edi
jne 0x445c93
test ebx, ebx
je 0x445c93
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004499e0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x445dd5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x445eed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x445eed
mov eax, dword [esi + 0x3c]
push eax
call fcn.004592c2
mov esi, eax
test esi, esi
je 0x445eed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x445eed
mov ecx, esi
call fcn.00445d40
cmp edi, eax
jge 0x445eed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x445e73
mov dword [esp + 0x34], 1
jmp 0x445ece
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x445eed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004452e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x459c66
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x459c9e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045c84a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045c822
jmp 0x459caa
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45b357
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45b399
call fcn.004628be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45b399
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45b390
xor eax, eax
jmp 0x45b3a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045b3a7
pop edi
pop esi
pop ebx
ret 4
Function at 0x462f7c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x462faa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x462fc8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00462ee2
jmp 0x462fc8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x462fc8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00462ee2
test edi, edi
mov eax, edi
jne 0x462fb2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x253c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0253c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x253c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x253c06a
add dl, dl
jne 0x253c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x253c0dc
xor eax, eax
add dl, dl
jne 0x253c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x253c17d
add dl, dl
jne 0x253c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x253c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x253c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x253c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x253c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x253c075
mov eax, 1
add dl, dl
jne 0x253c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x253c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x253c0e1
sub eax, ebx
mov ebx, 1
jne 0x253c128
mov ecx, 1
add dl, dl
jne 0x253c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x253c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x253c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x253c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x253c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x253c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x253c136
cmp eax, 0x7d00
jae 0x253c16d
cmp eax, 0x500
jb 0x253c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x253c075
cmp eax, 0x7f
ja 0x253c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x253c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x253c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x253c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x401789
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [0x40e110]
push edi
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401793
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [0x40e024]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x401ed0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c75b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4133e4]
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 eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 4], edi
mov esi, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp - 0x220]
push edx
or esi, 0x2001f
push esi
push edi
push ecx
push eax
mov dword [ebp - 0x220], edi
call dword [0x40e020]
mov ebx, eax
cmp ebx, edi
jne 0x401f85
mov ecx, dword [ebp - 0x218]
xor eax, eax
cmp ecx, edi
je 0x401f61
push ecx
call dword [0x40e01c]
mov dword [ebp - 0x218], edi
mov ecx, dword [ebp - 0x220]
and esi, 0x300
mov dword [ebp - 0x214], edi
mov ebx, eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], esi
cmp eax, edi
je 0x401faa
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x401fa3
push eax
call dword [0x40e01c]
mov dword [ebp - 0x218], edi
mov eax, ebx
jmp 0x402079
mov esi, dword [0x40e010]
lea eax, [ebp - 0x230]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
push edi
push ecx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
jne 0x402028
lea ebx, [ebx]
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00401ed0
mov ebx, eax
cmp ebx, edi
jne 0x401f85
lea edx, [ebp - 0x230]
push edx
mov edx, dword [ebp - 0x218]
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push edi
push edx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
je 0x401fe0
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x40203f
push eax
call dword [0x40e01c]
mov dword [ebp - 0x218], edi
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
push eax
mov dword [ebp - 0x214], edi
call fcn.00401640
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x402077
push eax
call dword [0x40e01c]
mov dword [ebp - 0x218], edi
mov eax, esi
mov dword [ebp - 0x214], 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.0040bc2a
mov esp, ebp
pop ebp
ret 4
Function at 0x404e80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x80]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x40e9b0
push eax
mov dword [ebp - 4], 4
call dword [0x40e00c]
test eax, eax
jne 0x404eca
cmp dword [ebp - 8], 4
jne 0x404eca
mov eax, dword [ebp - 0xc]
cmp eax, 2
ja 0x404ef4
mov dword [esi + 0x78], eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x80]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x40e9b0
push edx
mov dword [esi + 0x78], 0
mov dword [ebp - 8], 0
call dword [0x40e024]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40aa90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40da32
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4133e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00407400
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov ecx, esi
mov dword [ebp - 0x10], 1
call fcn.00409930
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x40ab09
call dword [0x40e1cc]
mov ebx, dword [edi]
mov dword [ebp - 0x18], esi
mov edi, edi
mov edi, dword [edi + 0x10]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], edi
jbe 0x40ab21
call dword [0x40e1cc]
mov eax, dword [esi]
test ebx, ebx
je 0x40ab2b
cmp ebx, eax
je 0x40ab35
mov esi, dword [0x40e1cc]
call esi
jmp 0x40ab3b
mov esi, dword [0x40e1cc]
cmp dword [ebp - 0x18], edi
je 0x40ac0d
test ebx, ebx
jne 0x40ab83
call esi
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x40ab56
call esi
mov edx, dword [ebp - 0x18]
push edx
call fcn.004093c0
add esp, 4
test al, al
je 0x40ab8b
test ebx, ebx
jne 0x40ab87
call esi
xor eax, eax
mov edi, dword [ebp - 0x18]
cmp edi, dword [eax + 0x10]
jb 0x40ab78
call esi
mov ecx, dword [ebp + 8]
push edi
call fcn.0040a970
jmp 0x40abec
mov eax, dword [ebx]
jmp 0x40ab4c
mov eax, dword [ebx]
jmp 0x40ab6e
test ebx, ebx
jne 0x40abc7
call esi
xor eax, eax
mov edi, dword [ebp - 0x18]
cmp edi, dword [eax + 0x10]
jb 0x40ab9d
call esi
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x40aba8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004092c0
add esp, 8
mov dword [ebp - 4], 1
cmp dword [eax + 0x18], 8
jb 0x40abcb
mov eax, dword [eax + 4]
jmp 0x40abce
mov eax, dword [ebx]
jmp 0x40ab93
add eax, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
push eax
push edx
call dword [0x40e018]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call dword [0x40e1a4]
mov edi, dword [ebp - 0x18]
test ebx, ebx
jne 0x40ac09
call esi
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x40abfb
call esi
add edi, 0x38
mov dword [ebp - 0x18], edi
mov edi, dword [ebp + 0xc]
jmp 0x40ab10
mov eax, dword [ebx]
jmp 0x40abf4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ac30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40dab8
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x4133e4]
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 esi, ecx
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x464], edi
mov dword [ebp - 0x45c], 0
call fcn.00407400
mov ebx, 1
mov dword [ebp - 4], ebx
cmp dword [esi + 0x24], 0
jne 0x40aca5
lea eax, [ebp - 0x484]
push eax
mov ecx, edi
call fcn.00407ff0
mov dword [ebp - 0x45c], ebx
jmp 0x40ae4b
xor edi, edi
mov bl, 3
lea esp, [esp]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.0040bd42
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0040bd42
add esp, 0x18
lea edx, [ebp - 0x46c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x460]
push ecx
mov ecx, dword [esi + 0x24]
push 0
lea edx, [ebp - 0x468]
push edx
lea eax, [ebp - 0x420]
push eax
push edi
push ecx
mov dword [ebp - 0x468], 0x104
mov dword [ebp - 0x46c], 0x208
mov dword [ebp - 0x460], 0
call dword [0x40e004]
test eax, eax
jne 0x40ae07
cmp dword [ebp - 0x460], 1
jne 0x40ae0e
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x43c]
push eax
call fcn.0040a060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.0040a060
mov byte [ebp - 4], bl
sub esp, 0xc
lea eax, [ebp - 0x458]
mov ecx, esp
mov dword [ebp - 0x48c], esp
push eax
call dword [0x40e1a8]
mov byte [ebp - 4], 4
sub esp, 0x1c
lea edx, [ebp - 0x43c]
mov ecx, esp
mov dword [ebp - 0x488], esp
push edx
call dword [0x40e1a8]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4c4]
push eax
mov byte [ebp - 4], bl
call fcn.00405d80
add esp, 0x3c
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x484]
call fcn.0040a970
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c4]
call fcn.00404d50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x458]
call dword [0x40e1ac]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x43c]
call dword [0x40e1ac]
inc edi
jmp 0x40acb0
cmp eax, 0xea
jne 0x40ae14
inc edi
jmp 0x40acb0
cmp eax, 0x103
jne 0x40ae24
lea ecx, [ebp - 0x484]
push ecx
jmp 0x40ae33
push str.wui::util::VMListReg::GetRunningVMs
push eax
call fcn.004061d0
add esp, 8
push esi
mov edi, dword [ebp - 0x464]
push edi
mov ecx, esi
call fcn.0040aa90
mov dword [ebp - 0x45c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x484]
call fcn.004080d0
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.0040bc2a
mov esp, ebp
pop ebp
ret 4