joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4686ed
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 + 0x5caa70]
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 0x468733
cmp word [ebx], dx
jne 0x468733
or byte [eax + edi + 0x28], 4
jmp 0x468738
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 0x46889b
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 0x46887b
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x468779
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4687af
cmp eax, edx
jae 0x4687bd
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 0x468754
jmp 0x46889b
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 0x468876
cmp dword [ebp - 0x18], 0
je 0x468876
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x5caa70]
test byte [eax + edi + 0x28], 0x48
je 0x46884c
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 0x468810
mov word [esi], cx
jmp 0x468847
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x5caa70]
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 + 0x5caa70]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x5caa70]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x46889b
pop eax
cmp word [ebp - 4], ax
jne 0x46885c
cmp esi, ebx
jne 0x46885c
mov word [esi], ax
jmp 0x468898
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00468fef
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x46889b
push 0xd
pop eax
jmp 0x468857
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x5caa70]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x468895
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x46889b
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 0x4697c1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d9770]
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 0x46980c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0046995c
test al, al
jne 0x469806
sub edx, 2
cmp edx, edi
jne 0x4697ec
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x46982e
lea eax, [edi + 2]
cmp edx, eax
je 0x46982e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0046970d
add esp, 0x10
jmp 0x469928
push esi
lea ecx, [ebp - 0x255]
call fcn.0046995c
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 0x469871
push dword [ebp - 0x25c]
jmp 0x46981e
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 0x4698ae
cmp word [ebp - 0x226], 0
je 0x4698cf
cmp word [ebp - 0x226], ax
jne 0x4698ae
cmp word [ebp - 0x224], 0
je 0x4698cf
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0046970d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x46991b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x469888
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x469903
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x469928
push 0x46953d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00472a00
add esp, 0x10
jmp 0x4698f8
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.0044d06d
leave
ret

Function at 0x46cc2e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00465733
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 0x46cc9d
cmp esi, dword [ebp - 4]
je 0x46cc98
cmp dword [ebp + 0xc], 0
je 0x46cc98
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46cc75
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0046c780
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x46cc9f
xor eax, eax
inc eax
jmp 0x46cc9f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x46cd04
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d9770]
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.00465733
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.00465733
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 0x46cd7b
cmp word [ecx], dx
je 0x46cd7b
mov eax, dword [0x49359c]
push edi
dec eax
push eax
push 0x493488
call fcn.0046cca3
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x46cdee
cmp word [eax], dx
je 0x46cdee
mov eax, dword [edi]
test eax, eax
je 0x46cd9f
cmp word [eax], dx
je 0x46cd9f
lea eax, [ebp - 0x10]
push eax
call fcn.0046c686
jmp 0x46cda8
lea eax, [ebp - 0x10]
push eax
call fcn.0046c721
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x46ce18
mov eax, dword [0x493484]
push dword [ebp - 0x14]
dec eax
push eax
push 0x493178
call fcn.0046cca3
add esp, 0xc
test al, al
je 0x46ce18
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x46cde3
cmp word [eax], di
je 0x46cde3
lea eax, [ebp - 0x10]
push eax
call fcn.0046c686
pop ecx
jmp 0x46ce1a
lea eax, [ebp - 0x10]
push eax
call fcn.0046c721
jmp 0x46cde0
mov eax, dword [edi]
test eax, eax
je 0x46ce05
cmp word [eax], dx
je 0x46ce05
lea eax, [ebp - 0x10]
push eax
call fcn.0046c63b
pop ecx
jmp 0x46ce18
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 0x46cee3
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0046cb28
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x46cee3
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x46cee3
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x46cee3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46ce70
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00468375
test ebx, ebx
je 0x46cede
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00468375
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46cee3
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 0x46cee3
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0045fbee
add esp, 0x10
xor eax, eax
inc eax
jmp 0x46cee5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
leave
ret
Function at 0x4737b1
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.0047372d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x473920
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x473920
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4738d5
jg 0x47380d
test eax, eax
je 0x4738cb
push 1
push 0x1000
call fcn.00464f07
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x473830
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4738c2
push 0x8000
push ebx
call fcn.004627b2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x473859
jg 0x473854
cmp ecx, 0x1000
jb 0x473859
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047260c
add esp, 0x10
cmp eax, 0xffffffff
je 0x47389e
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 0x473854
jl 0x473885
test ecx, ecx
jne 0x473846
push dword [ebp - 0xc]
push ebx
call fcn.004627b2
push esi
call fcn.00464f64
add esp, 0xc
xor ebx, ebx
jmp 0x47392e
cmp byte [edi + 0x24], 0
je 0x4738b5
cmp dword [edi + 0x20], 5
jne 0x4738b5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4738c0
mov ebx, dword [edi + 0x18]
jmp 0x4738c2
xor ebx, ebx
push esi
call fcn.00464f64
pop ecx
jmp 0x47392e
test ecx, ecx
jg 0x473897
jl 0x4738d5
test eax, eax
jae 0x473897
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00468fef
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4738f5
cmp byte [edi + 0x1c], 0
je 0x473897
jmp 0x473926
push ebx
call fcn.0046aafb
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x473897
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 0x47392e
cmp byte [edi + 0x1c], 0
je 0x47392b
mov ebx, dword [edi + 0x18]
jmp 0x47392e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00468fef
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x21
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x77
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x3a
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x15
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdd
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x34
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe2
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x85
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xde
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd3
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x38
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8b
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x38
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x88
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x70
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
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 0x100191d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1010d770]
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 SysReAllocString
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp + 0x1c], 8
jb 0x10019272
push dword [ebp + 8]
call fcn.1005cd08
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret

Function at 0x1001af60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1001b070
test eax, eax
je 0x1001af97
push 0
push 0
push dword [ebp + 8]
push 0x1001ac70
push 0
push 0
call fcn.1005dfa2
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]
mov ecx, dword [ebp + 8]
call fcn.1001ac50
int3
Function at 0x1001e870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d41c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1010d770]
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 + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x74], eax
test edx, edx
je 0x1001ea32
test edi, edi
je 0x1001ea32
mov esi, 0x8000ffff
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ea14
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 0x1001ea19
mov eax, dword [ebp - 0x70]
add eax, 8
push eax
call fcn.1005c591
mov edi, eax
mov eax, dword [ebp - 0x70]
add eax, 8
push eax
push 0
push edi
call fcn.10063250
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 0x1001ea09
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
cmp eax, 4
jne 0x1001e993
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push eax
call fcn.10063250
push 0xa
push 0x28
lea eax, [ebp - 0x68]
push eax
push dword [edi]
call fcn.1005ecce
add esp, 0x1c
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.10019b00
push edi
xor esi, esi
call fcn.1005d7e0
add esp, 4
jmp 0x1001ea19
cmp eax, 1
je 0x1001e9ff
cmp eax, 2
je 0x1001e9ff
cmp eax, 7
je 0x1001e9ff
cmp dword [ebp - 0x70], 0
jbe 0x1001ea09
push 0x10100948
mov ecx, ebx
call fcn.10019b00
xor esi, esi
cmp dword [ebp - 0x70], esi
jbe 0x1001ea07
jmp 0x1001e9c0
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
movzx eax, byte [esi + edi]
push eax
push 0x10100950
lea eax, [ebp - 0x18]
push 2
push eax
call fcn.1001eb30
add esp, 0x10
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.10019d50
inc esi
cmp esi, dword [ebp - 0x70]
jb 0x1001e9c0
push edi
xor esi, esi
call fcn.1005d7e0
add esp, 4
jmp 0x1001ea19
push edi
mov ecx, ebx
call fcn.10019b00
xor esi, esi
push edi
call fcn.1005d7e0
add esp, 4
jmp 0x1001ea19
mov esi, 0x80070005
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x1001ea2e
push eax
mov dword [ebp - 0x6c], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001ea37
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.1005cd0d
mov esp, ebp
pop ebp
ret
Function at 0x1001ea60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010d770]
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 0x1001eb1b
test edx, edx
je 0x1001eb1b
test esi, esi
je 0x1001eb1b
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 0x1001eabd
mov esi, 0x80070005
jmp 0x1001eaf4
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001eac2
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 0x1001eb09
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.1005cd0d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80004003
pop edi
xor ecx, ebp
pop esi
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret

Function at 0x1001f6c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010d770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0
push 0
push eax
call fcn.10063250
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001f784
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1001f784
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1001f730
lea eax, [ebp - 0x20c]
test eax, eax
je 0x1001f776
cmp word [ebp - 0x20c], 0x5a
jne 0x1001f776
cmp word [ebp - 0x20a], 0x68
jne 0x1001f776
cmp word [ebp - 0x208], 0x75
jne 0x1001f776
cmp word [ebp - 0x206], 0x44
jne 0x1001f776
cmp word [ebp - 0x204], 0x6f
jne 0x1001f776
cmp word [ebp - 0x202], 0x6e
je 0x1001f79d
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x1001f730
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret
Function at 0x1001ff40
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1010d770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push 0
push 0x410
mov edi, edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x208
mov esi, eax
call fcn.1005c591
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10063250
add esp, 0x10
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push 0x104
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
cmp word [ebp - 0x210], 0
jne 0x1001ffc5
xor eax, eax
jmp 0x1001ffdf
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001ffd0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.1001a3f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005cd0d
mov esp, ebp
pop ebp
ret