joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003dc60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x10070768]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x10070768]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x10042320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x1004236f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10042365
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x100423c9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x1004238f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004da20
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10042620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x10042630
xor eax, eax
jmp 0x100427cd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x1004278e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10070768]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070768]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10070768]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10070768]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070768]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10070768]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10070768]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x10070768]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x10042639
cmp dword [ebp + 0x10], 0
je 0x100427c7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x10070768]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x10042794
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10044be0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x10071480]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x10071480]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret
Function at 0x10044cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x10044da2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x10044d11
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x10044d11
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1004d8da
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x3c], 0
jne 0x10044d3d
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.1004d889
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.1004da20
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x10044d66
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x10044d99
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x30
push edx
call fcn.10044e40
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x10044d5d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x20], 0
je 0x10044dfd
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 0x28]
jb 0x10044dca
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x10044e32
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x24]
push eax
call fcn.1004da20
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x10044e32
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x10044e26
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
jmp 0x10044e32
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10045080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.10044f00
push 0x10071888
mov ecx, dword [ebp + 8]
call fcn.100029d0
push eax
call fcn.10052458
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100450b7
xor al, al
jmp 0x10045159
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.1005287f
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10052c92
add esp, 4
mov dword [ebp - 0xc], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.1005287f
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.10045340
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.10023fc0
push eax
call fcn.10052744
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.1005087a
add esp, 4
mov ecx, dword [ebp + 0xc]
call fcn.100029d0
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10023fc0
push eax
call fcn.1003d460
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x1004514f
mov dword [ebp - 0x10], 1
jmp 0x10045156
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x1008d0f6
Capabilities:
Encode data using xor

Disassembly:
sub dword [ebx - 0x7864a2c3], ecx
inc ecx
push 0xffffffffffffffe5
xchg ebx, eax
imul esp, eax, 0x2f
mov esp, 0x28afbb75
add byte [eax - 0x47], al
ja 0x1008d12b
sbb ebp, eax
rcl byte [ebx + ebp]
imul esp, eax, 0x19
int1
push esp
loopne 0x1008d0e7
scasd eax, dword es:[edi]
mov ecx, ecx
jl 0x1008d0ab
mov dl, 0xeb
ret
pushfd
and al, 0x66
cmpsb byte [esi], byte es:[edi]
arpl sp, si
xor eax, 0xe8991ee1
add dword [edi + 1], ebx
call 0x100a2ff7
add byte [ecx + 0x38d0ebf2], al
fsub st(0), st(0)
fmul st(2), st(0)
push es
add ch, al
jns 0x1008d16d
xor edx, 0xdc38d0eb
call 0x100f9bdd
lds edi, [ecx + 0x69]
daa
adc al, 0xc7
inc eax
xchg edi, eax
outsd dx, dword [esi]
xlatb
and ebx, ebp
mov ch, 0xc
inc ebx
cld
fst dword [edi + esi*2]
mov bl, 0xb3
adc eax, edi
jge 0x1008d0ab
dec eax
das
in eax, dx
jae 0x1008d0f5
add dword [edx - 0x47], eax
push cs
outsb dx, byte [esi]
aam 0x13
mov byte [esi - 0x3a7e04a4], dh
lodsd eax, dword [esi]
or eax, 0x861796d6
invalid
lds ebp, [ebp + 0x1796d60d]
xchg dh, al
jge 0x1008d0f1
push eax
test byte [ebp - 0x45], 0x71
push edi
xchg edi, eax
push edi
mov byte [0x99c0240a], al
inc edx
in eax, dx
cmpsd dword [esi], dword es:[edi]
xchg dword [ebx], esi
mov byte [0x618961dd], al
out 0x43, eax
jecxz 0x1008d10b
or eax, 0x1a424c8e
rcr byte [ecx + 0x76a66fd9], cl
lodsb al, byte [esi]
mov edx, dword [edi - 0x60]
pop esi
fbld tbyte [0xb835913a]
nop
xor eax, dword [esi - 0x5fa023ca]
xchg dword [edi - 0x31859416], ecx
add esi, dword [edx - 0x61e6ef48]
inc esp
test byte [esp + edx*8], ah
adc al, 0xab
sahf
and byte [esi + 0x1f], dh
push eax
ffree st(0)
fprem
rcr byte [ecx + esi - 0x62], 1
and bh, byte [esi]
jle 0x1008d155
xor dl, dl
stosb byte es:[edi], al
and dword [edi - 0x47f4ccb3], ecx
sub cl, byte [edi]
int 0xc3
wait
sub al, 0xaa
outsb dx, byte [esi]
mov eax, 0x75d69aee
leave
adc dh, dl
bound ebx, qword [esi + 0x69db03e9]
int 0x6d
adc ecx, ebx
in al, dx
push eax
insb byte es:[edi], dx
adc cl, dl
invalid

Function at 0x100dbc13
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
mov dword [esp + 4], eax
seta ch
jmp 0x101076e8
pushal
pushfd
lea ecx, [ebp + 0xe8]
mov byte [esp + 4], dl
lea esp, [esp + 0x28]
call fcn.10001d10
pushfd
shrd ecx, edi, 0x1d
mov dword [ebp - 4], 5
cdq
shrd ax, di, cl
or cx, si
cwde
mov ecx, dword [ebp - 0x10]
mov dword [esp], esi
add dl, 0x7d
or ecx, 8
push esi
lahf
push dword [esp]
mov dword [ebp - 0x10], ecx
rdtsc
push dword [esp + 8]
mov dword [esp + 0xc], 0
rdtsc
pop eax
not dl
movzx edx, bl
lea edx, [ebp + 0x70]
pushfd
mov dword [esp + 8], edx
jmp 0x101878a3
Function at 0x401858
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40186a
mov eax, dword [0x69e09f]
shl eax, 2
mov dword [0x69e0a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0068ee1c
pop edx
call fcn.0068ea1c
call fcn.0068f340
push 0
call fcn.00690664
pop ecx
push 0x69e048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x69e0a7], eax
push 0
jmp fcn.00699650

Function at 0x4046a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x6b0db4
push 0xa
push 0x40473c
mov eax, dword [0x6b0d3c]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x4046cc
call fcn.00445ff8
push ebx
mov eax, dword [0x6b0d3c]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4046e3
call fcn.00445ff8
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4046f5
call fcn.00445ff8
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x6b0db8], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x6b0dbc], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x6b0dc0], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x6b0dc4], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x6b0dc8], ecx
add edx, dword [eax + 0x14]
mov dword [0x6b0dcc], edx
pop esi
pop ebx
ret
Function at 0x429924
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4299c2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x429986
cmp byte [ebx + 0x10], 0
jne 0x429986
cmp byte [ebx + 0x3c], 0
jne 0x429986
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x4299a7
lea edx, [ebp - 4]
mov eax, dword [0x6b050c]
call fcn.0045c164
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41a284]
call fcn.00443998
call fcn.00457ba0
jmp 0x4299a7
lea edx, [ebp - 8]
mov eax, dword [0x6b050c]
call fcn.0045c164
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41a284]
call fcn.00443998
call fcn.00457ba0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4299c9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00458e30
ret

Function at 0x42a240
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x42a28e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004298a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42a2a7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42a2b0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004298a8
dec esi
jne 0x42a2d2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42baec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6b0ff8
cmp dword [edi], 0
jne 0x42bb68
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x6b0ff4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6a2c24
mov ecx, 2
call fcn.004563b0
mov edx, 0x42bac4
lea eax, [esi + 5]
call fcn.0042bae4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042bae4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42bb3d
mov dword [0x6b0ff4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42fd14
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42fe8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00458e8c
mov eax, dword [ebp - 4]
call fcn.0042f5ac
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42fd66
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00459658
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004309c0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42fe45
xor eax, eax
push ebp
push 0x42fe3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042f914
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0042fec4
test al, al
je 0x42fe1c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00458f74
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42fe1c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00458ec4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0042f874
test al, al
je 0x42fe16
mov eax, dword [ebp - 8]
call fcn.00458ec4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00458ff4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042fd14
dec ebx
cmp ebx, 0xffffffff
jne 0x42fdc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fe45
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0042f914
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0042f900
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0042f874
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fe96
lea eax, [ebp - 0x3c]
call fcn.00458e28
lea eax, [ebp - 8]
mov edx, 2
call fcn.00458e30
ret
Function at 0x42ff30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42ffe8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042fec4
test al, al
je 0x42ffca
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00458f74
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x42ffca
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00458ec4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00458ff4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x42ff83
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ffef
lea eax, [ebp - 0x2c]
call fcn.00458e28
lea eax, [ebp - 4]
call fcn.00458e28
ret

Function at 0x4301a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43025c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042fec4
test al, al
je 0x43023e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00458f74
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x43023e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00458ec4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00458ec4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00458ff4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4301f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430263
lea eax, [ebp - 0x2c]
call fcn.00458e28
lea eax, [ebp - 4]
call fcn.00458e28
ret
Function at 0x43089c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042f620
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00458ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0042f874
test al, al
jne 0x430904
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6b090c]
mov dl, 1
mov eax, dword [0x42de70]
call fcn.00443b9c
call fcn.00457ba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x430910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00458ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0042f874
test al, al
jne 0x430971
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6b0910]
mov dl, 1
mov eax, dword [0x42de70]
call fcn.00443b9c
call fcn.00457ba0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042f650
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8