joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x210], 0
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x10002c1e
pop edi
lea eax, [esi + 0x57]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004557
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1000c590
push str.SystemCurrentControlSetServices_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004f6e
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004eb7
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x10002d0f
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
push edi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x20c], 0x6d0049
push eax
push esi
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x208], 0x670061
push eax
push dword [ebp - 0x210]
mov dword [ebp - 0x204], 0x500065
mov dword [ebp - 0x200], 0x740061
mov dword [ebp - 0x1fc], 0x68
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10002d0f
mov eax, dword [ebp - 0x214]
cmp eax, 2
je 0x10002d0f
cmp eax, 1
mov ecx, 0xd
cmovne esi, ecx
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10002d20
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10004557
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003160
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x488], 0
test edi, edi
jne 0x10003196
lea eax, [ecx + 0x57]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004557
mov esp, ebp
pop ebp
ret
push esi
push 0x3ff
lea eax, [ebp - 0x483]
mov byte [ebp - 0x484], 0
push 0
push eax
call fcn.1000c590
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.1000c590
push str.SystemCurrentControlSetControl
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.10004f6e
add esp, 0x24
lea eax, [ebp - 0x488]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x84]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1000328a
mov dword [ebp - 0x490], eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x484]
mov dword [ebp - 0x48c], 0x400
push eax
lea eax, [ebp - 0x490]
mov dword [ebp - 0x84], 0x640055
push eax
push esi
lea eax, [ebp - 0x84]
mov dword [ebp - 0x80], 0x4f0066
push eax
push dword [ebp - 0x488]
mov dword [ebp - 0x7c], 0x740070
mov dword [ebp - 0x78], 0x6f0069
mov dword [ebp - 0x74], 0x73006e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x1000328a
push dword [ebp - 0x48c]
lea eax, [ebp - 0x484]
push eax
push edi
call fcn.10003e50
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x1000329b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.10004557
mov esp, ebp
pop ebp
ret
Function at 0x418b58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x418b67
pop dword [ebp - 0x44]
mov eax, 0x553432d
sub eax, 0x511b7c6
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3ba36
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x44e2
mov ebx, eax
mov edi, 0x347a6131
add edi, 0xcbc8cccf
add edi, dword [ebp - 0x44]
mov edx, 0x50ce81ad
sub edx, 0xd513e3cd
xor dword [ebp - 0x30], 0x12fc3d8a
mov esi, dword [edi]
add dword [ebp - 0x28], 0x8eabe259
sub esi, edx
mov dword [ebp - 0x38], 0xad29f6d2
mov dword [ebx], esi
mov dword [ebp - 0xc], 0x245ed238
add ebx, 0xda667b25
sub ebx, 0xda667b21
add edi, 0x3c5a47e3
add edi, 0xc3a5b821
loop 0x418bbb
add eax, 0x3af4297b
sub eax, 0x3af32320
mov ebx, eax
add eax, 5
mov ecx, 0xfc22fe5b
add ecx, 0x41d01a5
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10002b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10002b34
xor eax, eax
jmp 0x10002bb4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002b4b
xor eax, eax
jmp 0x10002bb4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10002b97
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10002b97
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x10002b6e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10002ba3
xor eax, eax
jmp 0x10002bb4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10002bb1
xor eax, eax
jmp 0x10002bb4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10005fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b16d8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x44]
call fcn.10026d70
mov dword [ebp - 0x40], SysReAllocString
push 0x6ba5
mov ecx, dword [0x100e28bc]
call fcn.1002c650
mov dword [ebp - 0x18], eax
push section..data
lea ecx, [ebp - 0x10]
call fcn.10002420
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002520
movzx ecx, al
test ecx, ecx
jne 0x10006044
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.10002490
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10006a90
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.10003fd0
push section..data
lea ecx, [ebp - 0x14]
call fcn.10002420
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x100c52c4
call fcn.10006710
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.10008200
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.10027a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.10008200
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
call fcn.10003fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10008360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10008387
mov dword [ebp - 0x9c], 0x100c52e4
jmp 0x10008391
mov dword [ebp - 0x9c], 0x100c52ec
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x94], ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x94]
mov dx, word [ecx]
mov word [ebp - 0x82], dx
mov eax, dword [ebp - 0x8c]
mov cx, word [ebp - 0x82]
mov word [eax], cx
mov edx, dword [ebp - 0x94]
add edx, 2
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x8c]
add eax, 2
mov dword [ebp - 0x8c], eax
cmp word [ebp - 0x82], 0
jne 0x100083b2
push 0
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x7c]
push ecx
call fcn.1000f630
add esp, 4
push 0
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
add eax, 2
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x88]
mov dx, word [ecx]
mov word [ebp - 0x8e], dx
add dword [ebp - 0x88], 2
cmp word [ebp - 0x8e], 0
jne 0x1000842e
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0xac]
sar eax, 1
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
shl ecx, 1
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.1000f6b0
add esp, 0xc
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
add edx, 2
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x80]
mov cx, word [eax]
mov word [ebp - 0x96], cx
add dword [ebp - 0x80], 2
cmp word [ebp - 0x96], 0
jne 0x10008498
mov edx, dword [ebp - 0x80]
sub edx, dword [ebp - 0xa4]
sar edx, 1
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.1000f6b0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.1000f830
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret
Function at 0x1000f630
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx + 8], 0x98badcfe
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x10325476
pop ebp
ret

Function at 0x100109f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x11c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10080a30
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x11c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10010a2a
xor eax, eax
jmp 0x10010aec
push 0x7152
mov ecx, dword [0x100e28bc]
call fcn.1002c650
push eax
push 0x744d
mov ecx, dword [0x100e28bc]
call fcn.1002c720
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10010a6b
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp - 4]
jmp 0x10010a75
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 2
jne 0x10010a87
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 4
ja 0x10010a8b
xor eax, eax
jmp 0x10010aec
push 0x718a
mov ecx, dword [0x100e28bc]
call fcn.1002c650
push eax
push 0x744d
mov ecx, dword [0x100e28bc]
call fcn.1002c720
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10010ade
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [ebp - 8]
jmp 0x10010ae7
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10027d60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
or edx, 0x20006
push edx
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10028950
test eax, eax
je 0x10027df3
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x58]
call fcn.10028d70
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.10003fd0
mov eax, dword [ebp + 0x10]
sub eax, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.10003fd0
mov ecx, dword [ebp + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10003fd0
mov al, byte [ebp - 1]
jmp 0x10027f04
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
jne 0x10027dff
cmp dword [ebp - 0xc], 0
je 0x10027e12
mov dword [ebp - 0x10], 1
jmp 0x10027e19
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x10027e2e
mov dword [ebp - 0x14], 0xd
jmp 0x10027e82
xor eax, eax
jne 0x10027e03
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 4], cx
add dword [ebp - 8], 2
cmp word [ebp - 4], 0
jne 0x10027e41
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x34]
sar edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x58], 0
je 0x10027ea3
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x14], 0
jne 0x10027eb9
mov dword [ebp - 0x18], 1
jmp 0x10027ec0
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
lea ecx, [ebp - 0x58]
call fcn.10028d70
mov ecx, dword [ebp + 0xc]
sub ecx, 0x10
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.10003fd0
mov edx, dword [ebp + 0x10]
sub edx, 0x10
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x48]
call fcn.10003fd0
mov eax, dword [ebp + 0x14]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10003fd0
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100284c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x214]
call fcn.10028c60
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x10028550
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x214]
call fcn.10028d70
mov eax, dword [ebp - 0x22c]
jmp 0x10028634
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100285d4
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x214]
call fcn.100284c0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x100285c8
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x214]
call fcn.10028d70
mov eax, dword [ebp - 0x220]
jmp 0x10028634
mov dword [ebp - 0x21c], 0x100
jmp 0x1002855a
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x214], 0
je 0x10028604
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.100286e0
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x214]
call fcn.10028d70
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret 4

Function at 0x10028650
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100286af
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1002867c
mov eax, 1
jmp 0x100286cd
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100286ad
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x100286cd
jmp 0x100286c8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100286c8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100286cd
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x10028b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10028b09
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10028b4c
mov eax, dword [ebp - 8]
jmp 0x10028bb2
cmp dword [ebp - 0xc], 1
je 0x10028b5f
cmp dword [ebp - 0xc], 2
je 0x10028b5f
mov eax, 0xd
jmp 0x10028bb2
cmp dword [ebp + 0xc], 0
je 0x10028ba6
cmp dword [ebp - 4], 0
je 0x10028b95
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x10028b8c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x10028b93
mov eax, 0xd
jmp 0x10028bb2
jmp 0x10028ba6
mov edx, 2
imul edx, edx, 0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx + edx], ax
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1002a280
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4418
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 1
push eax
call fcn.1007b221
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
call fcn.10001930
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
push 0x100c5ec8
mov eax, dword [ebp - 0x20]
push eax
call fcn.1007b80d
add esp, 8
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp - 0x10], 0
je 0x1002a324
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.1007ced5
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1007bb2f
add esp, 4
jmp 0x1002a32b
push 1
call fcn.1007dab4
mov edx, dword [ebp - 0x14]
push edx
call fcn.1007b2b3
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
sub ecx, 0x10
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.10003fd0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002b6d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
call dword [sym.imp.USER32.dll_GetWindow]
mov eax, dword [ebp - 4]
mov byte [eax], 1
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1002b380
push 0
push 0
call dword [sym.imp.USER32.dll_FlashWindow]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4