joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f8839
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x571eb8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4f887f
cmp word [ebx], dx
jne 0x4f887f
or byte [eax + edi + 0x28], 4
jmp 0x4f8884
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4f89e7
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x4f89c7
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4f88c5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4f88fb
cmp eax, edx
jae 0x4f8909
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4f88a0
jmp 0x4f89e7
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4f89c2
cmp dword [ebp - 0x18], 0
je 0x4f89c2
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x571eb8]
test byte [eax + edi + 0x28], 0x48
je 0x4f8998
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4f895c
mov word [esi], cx
jmp 0x4f8993
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x571eb8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x571eb8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x571eb8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4f89e7
pop eax
cmp word [ebp - 4], ax
jne 0x4f89a8
cmp esi, ebx
jne 0x4f89a8
mov word [esi], ax
jmp 0x4f89e4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004f8065
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4f89e7
push 0xd
pop eax
jmp 0x4f89a3
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x571eb8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4f89e1
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4f89e7
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4fa699
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51df4c
push 0x51df44
push str.FlsAlloc
push 0x1f
call fcn.004fa4c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4fa6cd
push dword [ebp + 8]
mov ecx, esi
call dword [0x517de4]
call esi
jmp 0x4fa6d3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4fa717
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51df5c
push 0x51df54
push str.FlsGetValue
push 0x21
call fcn.004fa4c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4fa74e
push dword [ebp + 8]
mov ecx, esi
call dword [0x517de4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4fa756
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x51df64
push 0x51df5c
push str.FlsSetValue
push 0x22
call fcn.004fa4c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4fa790
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x517de4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4fe43b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4fe486
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004fe5d6
test al, al
jne 0x4fe480
sub edx, 2
cmp edx, edi
jne 0x4fe466
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4fe4a8
lea eax, [edi + 2]
cmp edx, eax
je 0x4fe4a8
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004fe387
add esp, 0x10
jmp 0x4fe5a2
push esi
lea ecx, [ebp - 0x255]
call fcn.004fe5d6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fe4eb
push dword [ebp - 0x25c]
jmp 0x4fe498
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4fe528
cmp word [ebp - 0x226], 0
je 0x4fe549
cmp word [ebp - 0x226], ax
jne 0x4fe528
cmp word [ebp - 0x224], 0
je 0x4fe549
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004fe387
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4fe595
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4fe502
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4fe57d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4fe5a2
push 0x4fe1b7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00504e60
add esp, 0x10
jmp 0x4fe572
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d412e
leave
ret

Function at 0x4fee9f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4feeb0
pop esi
ret
push ebx
push edi
push esi
call fcn.004fee68
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004fab9f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4feed8
push ebx
push esi
push edi
call fcn.004d8840
add esp, 0xc
push 0
call fcn.004f9961
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4ff2a8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004feeed
Function at 0x5017ba
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004f8401
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x501829
cmp esi, dword [ebp - 4]
je 0x501824
cmp dword [ebp + 0xc], 0
je 0x501824
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x501801
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0050130c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x50182b
xor eax, eax
inc eax
jmp 0x50182b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x501890
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004f8401
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004f8401
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x501907
cmp word [ecx], dx
je 0x501907
mov eax, dword [0x51e4fc]
push edi
dec eax
push eax
push 0x51e3e8
call fcn.0050182f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x50197a
cmp word [eax], dx
je 0x50197a
mov eax, dword [edi]
test eax, eax
je 0x50192b
cmp word [eax], dx
je 0x50192b
lea eax, [ebp - 0x10]
push eax
call fcn.00501212
jmp 0x501934
lea eax, [ebp - 0x10]
push eax
call fcn.005012ad
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x5019a4
mov eax, dword [0x51e3e4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x51e0d8
call fcn.0050182f
add esp, 0xc
test al, al
je 0x5019a4
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x50196f
cmp word [eax], di
je 0x50196f
lea eax, [ebp - 0x10]
push eax
call fcn.00501212
pop ecx
jmp 0x5019a6
lea eax, [ebp - 0x10]
push eax
call fcn.005012ad
jmp 0x50196c
mov eax, dword [edi]
test eax, eax
je 0x501991
cmp word [eax], dx
je 0x501991
lea eax, [ebp - 0x10]
push eax
call fcn.005011c7
pop ecx
jmp 0x5019a4
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x501a6f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.005016b4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x501a6f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x501a6f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x501a6f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5019fc
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004fa932
test ebx, ebx
je 0x501a6a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004fa932
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x501a6f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x501a6f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0050548b
add esp, 0x10
xor eax, eax
inc eax
jmp 0x501a71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d412e
leave
ret
Function at 0x5056b5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00505631
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x505824
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x505824
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5057d9
jg 0x505711
test eax, eax
je 0x5057cf
push 1
push 0x1000
call fcn.004fa081
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x505734
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5057c6
push 0x8000
push ebx
call fcn.004f43bd
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x50575d
jg 0x505758
cmp ecx, 0x1000
jb 0x50575d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004fcad2
add esp, 0x10
cmp eax, 0xffffffff
je 0x5057a2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x505758
jl 0x505789
test ecx, ecx
jne 0x50574a
push dword [ebp - 0xc]
push ebx
call fcn.004f43bd
push esi
call fcn.004f9961
add esp, 0xc
xor ebx, ebx
jmp 0x505832
cmp byte [edi + 0x24], 0
je 0x5057b9
cmp dword [edi + 0x20], 5
jne 0x5057b9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5057c4
mov ebx, dword [edi + 0x18]
jmp 0x5057c6
xor ebx, ebx
push esi
call fcn.004f9961
pop ecx
jmp 0x505832
test ecx, ecx
jg 0x50579b
jl 0x5057d9
test eax, eax
jae 0x50579b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004f8065
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5057f9
cmp byte [edi + 0x1c], 0
je 0x50579b
jmp 0x50582a
push ebx
call fcn.004ff731
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x50579b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x505832
cmp byte [edi + 0x1c], 0
je 0x50582f
mov ebx, dword [edi + 0x18]
jmp 0x505832
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004f8065
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x506da0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x506dcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x506dcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4c6208bc
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4c0a4392
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x67064eb6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x58d15930
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100093c0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x100098e0
test edx, edx
je 0x100098e0
call fcn.100093d7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x10009920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.100093c0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x10009991
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x10009956
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x10019710
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10114770]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [ebp + 8]
sub esp, 0x18
mov eax, esp
push str.CLSID_sInprocServer32
movdqu xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp - 0x20c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movdqu xmm0, xmmword [ebp + 8]
sub esp, 0x18
mov eax, esp
push str.CLSID_s
movdqu xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp - 0x20c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp + 0x1c], 8
jb 0x100197b2
push dword [ebp + 8]
call fcn.1006157c
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10061581
mov esp, ebp
pop ebp
ret
Function at 0x1001c0b0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d94c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10114770]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x10114770]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, 1
call fcn.100222c0
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call fcn.10021760
test eax, eax
jne 0x1001c174
test esi, esi
je 0x1001c174
lea ecx, [eax + 2]
call fcn.10021b40
test eax, eax
jne 0x1001c174
lea ecx, [eax + 6]
call fcn.10021b40
test eax, eax
jne 0x1001c174
lea ecx, [esp + 0x10]
call fcn.10022e30
mov dword [esp + 0x38], 0
call fcn.1001a170
add eax, 4
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x1001c14c
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.1001a4d0
push 0
push 0
push edi
push 0x1001d6e0
push 0
push 0
call fcn.100623c2
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.10062a8c
int3
Function at 0x100207c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9b58
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10114770]
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 eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x74], eax
test edx, edx
je 0x10020979
test edi, edi
je 0x10020979
mov esi, 0x8000ffff
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002095b
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
push 0
push dword [ebp - 0x74]
push 0
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10020960
mov eax, dword [ebp - 0x70]
add eax, 8
push eax
call fcn.10060de1
mov edi, eax
mov eax, dword [ebp - 0x70]
add eax, 8
push eax
push 0
push edi
call fcn.10067e20
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
push edi
push dword [ebp - 0x74]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10020950
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
cmp eax, 4
jne 0x100208df
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push eax
call fcn.10067e20
push 0xa
push 0x28
lea eax, [ebp - 0x68]
push eax
push dword [edi]
call fcn.10063a61
add esp, 0x1c
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.1001a120
push edi
xor esi, esi
call fcn.10062050
add esp, 4
jmp 0x10020960
cmp eax, 1
je 0x10020946
cmp eax, 2
je 0x10020946
cmp eax, 7
je 0x10020946
cmp dword [ebp - 0x70], 0
jbe 0x10020950
push 0x10106ab0
mov ecx, ebx
call fcn.1001a120
xor esi, esi
cmp dword [ebp - 0x70], esi
jbe 0x1002094e
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
movzx eax, byte [esi + edi]
push eax
push 0x10106ab8
lea eax, [ebp - 0x18]
push 2
push eax
call fcn.10020a70
add esp, 0x10
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1001a480
inc esi
cmp esi, dword [ebp - 0x70]
jb 0x10020907
push edi
xor esi, esi
call fcn.10062050
add esp, 4
jmp 0x10020960
push edi
mov ecx, ebx
call fcn.1001a120
xor esi, esi
push edi
call fcn.10062050
add esp, 4
jmp 0x10020960
mov esi, 0x80070005
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x10020975
push eax
mov dword [ebp - 0x6c], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1002097e
mov eax, 0x80004003
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.10061581
mov esp, ebp
pop ebp
ret
Function at 0x100209a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10114770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test ecx, ecx
je 0x10020a5b
test edx, edx
je 0x10020a5b
test esi, esi
je 0x10020a5b
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x100209fd
mov esi, 0x80070005
jmp 0x10020a34
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020a02
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x8000ffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x10020a49
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061581
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80004003
pop edi
xor ecx, ebp
pop esi
call fcn.10061581
mov esp, ebp
pop ebp
ret

Function at 0x100215f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x10114770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x808], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80c], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
mov dword [ebp - 0x810], 0
call fcn.10067e20
add esi, 4
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x10021653
mov esi, dword [esi]
mov ecx, dword [ebp - 0x80c]
cmp dword [ecx + 0x14], 8
jb 0x10021661
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x808]
cmp dword [eax + 0x14], 8
jb 0x1002166f
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x10021677
mov ebx, dword [ebx]
push esi
push 0x400
lea edx, [ebp - 0x804]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x804], ax
jne 0x100216ad
xor ecx, ecx
jmp 0x100216c5
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100216b6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.1001ab20
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10061581
mov esp, ebp
pop ebp
ret 0x10