joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov byte [0x44b470], 0
mov dword [0x44b46c], 0
mov dword [ebp - 4], 0xe0c
mov eax, dword [ebp - 4]
add eax, 1
push eax
call fcn.0041eac0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42223b
jmp 0x422339
push 0xe0c
push 0x445b40
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041e9a0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
sub edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0041e9a0
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov byte [ebp + eax - 0x24], 0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0040de90
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0041e970
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040f9c0
add esp, 4
mov dword [0x44b468], eax
cmp dword [0x44b468], 0
je 0x422339
mov byte [ebp - 0x3c], 0x43
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x70
mov byte [ebp - 0x39], 0x74
mov byte [ebp - 0x38], 0x75
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x63
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [0x44b468]
push ecx
call fcn.0040fba0
add esp, 8
mov dword [0x44b46c], eax
cmp dword [0x44b46c], 0
je 0x422339
mov byte [0x44b470], 1
mov esp, ebp
pop ebp
ret

Function at 0x4255a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x4255b4
or eax, 0xffffffff
jmp 0x425643
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4255dc
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x425640
cmp dword [ebp + 0xc], 0
je 0x4255f4
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x425640
mov eax, dword [ebp - 4]
mov cx, word [eax]
mov word [ebp - 0x10], cx
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x425623
movzx eax, word [ebp - 0x10]
cmp eax, 0x41
jl 0x425623
movzx ecx, word [ebp - 0x10]
cmp ecx, 0x5a
jg 0x425623
movzx edx, word [ebp - 0x10]
add edx, 0x20
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 8]
shl eax, 7
mov ecx, dword [ebp - 8]
shr ecx, 0x19
or eax, ecx
mov dword [ebp - 8], eax
movzx edx, word [ebp - 0x10]
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
jmp 0x4255ca
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x429740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x63
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x61
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.00406100
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x42b5c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x44b538], 0
jne 0x42b63e
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 0xf], 0x68
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x5f
mov byte [ebp - 0xa], 0x54
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x57
mov byte [ebp - 5], 0x6e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0
push 0x44b538
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.0040b750
add esp, 8
push eax
call fcn.0041a130
add esp, 8
cmp dword [0x44b538], 0
jne 0x42b63e
push 0x490a0972
call fcn.0042b1d0
add esp, 4
mov dword [0x44b538], eax
mov eax, dword [0x44b538]
mov esp, ebp
pop ebp
ret

Function at 0x42cd10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x42cd20
xor al, al
jmp 0x42cd54
mov eax, dword [ebp + 8]
mov cx, word [eax]
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
cmp edx, 0x5a4d
je 0x42cd4a
movzx eax, word [ebp - 4]
cmp eax, 0x4550
je 0x42cd4a
mov dword [ebp - 8], 0
jmp 0x42cd51
mov dword [ebp - 8], 1
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42dd90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0
jne 0x42dda3
xor eax, eax
jmp 0x42de66
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x43
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x67
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x57
mov byte [ebp - 5], 0x6e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
push 0
call fcn.00411110
add esp, 4
mov dword [ebp - 0x28], eax
push 0x7f00
push 0
call fcn.0042df40
add esp, 8
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x38]
push edx
call fcn.0042df70
add esp, 4
push 0
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x2cf0000
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0x40000
call fcn.0042dfa0
add esp, 0x30
mov esp, ebp
pop ebp
ret
Function at 0x44b6d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov cl, byte [0x65f042]
mov al, byte [0x65f041]
or cl, 0x10
push ebx
shr cl, 3
and ecx, 0xff
mov bl, byte [0x65f04b]
mov dword [esp + 4], ecx
xor bl, al
fild dword [esp + 4]
mov byte [0x65f04b], bl
mov ebx, dword [esp + 0x10]
test ebx, ebx
fdivr qword [0x6629a0]
push esi
fadd qword [0x65f058]
fstp qword [0x662a10]
je 0x44b793
call fcn.0044b610
push 0x65f0ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x65f030]
mov ecx, dword [0x65f034]
mov esi, eax
mov dword [esp + 0xc], 0
lea eax, [edx + edx]
or eax, ecx
mov dword [esp + 8], eax
fild qword [esp + 8]
test esi, esi
fadd qword [0x65f058]
fstp qword [0x65f058]
je 0x44b793
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x65f088
push esi
call edi
push 0x65f064
push esi
call edi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44b793
lea ecx, [esp + 0x14]
inc eax
add ecx, 4
cmp eax, 0x36
jae 0x44b79d
cmp dword [ecx], 0
jne 0x44b785
pop esi
xor al, al
pop ebx
add esp, 8
ret 4
mov dword [ebx], esi
pop esi
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x5b42dd
Capabilities:
Encode data using xor

Disassembly:
pop es
mov bl, 0x84
clc
mov bl, 0xca
hlt
sbb eax, edi
out 0x15, eax
push esp
mov bh, 0x9b
aaa
rcr dword [edx + ebx*2 + 0x6e], cl
jno 0x5b42d9
bnd jl 0x5b4340
jl 0x5b4340
xor ebx, 0x8b1a2383
pop ebp
pop edi
fld st(3)
push esp
pop edi
call dword [ebx]
adc eax, 0xe63ab5e1
cmp ah, dh
adc eax, dword [edi]
xor edx, dword [ebx]
mov dh, 0x8d
mov bh, 0xae
jae 0x5b42c2
dec ecx
mov dh, 0x3b
pop ebx
in al, dx
jbe 0x5b42fb
dec esi
mov word [eax + 0x5a], ss
mov edx, 0xfe7eef8a
mov bh, 0x83
jp 0x5b4320
cmp byte [edx + edx*4 - 0x1b34580b], 0x39
sub byte [eax - 0x2e], bh
or byte [ebx + 0x15], dh
xchg edx, eax
cmc
cmpsd dword [esi], dword es:[edi]
retf
ror byte [eax], cl
jae 0x5b4341
loopne 0x5b4328
and ebx, dword [ebx + 0x62]
jmp 0x5b42e6
fld xword [ecx - 0x13d82e9b]
test eax, 0xec27d165
mul byte [ebx + 0x61c626bd]
out 0xc6, eax
xor eax, 0xeaebbdc8
jg 0x5b43bc
test byte [esi], ch
aaa
xor eax, 0x27a5163b
mov ecx, 0x44f0810d
dec edi
lds esi, [edi]
mov ecx, 0x5d6e50e9
inc edx
hlt
cmpsb byte [esi], byte es:[edi]
ror byte gs:[edi - 0xa], cl
dec ebx
test al, 0x1f
out 0xd7, eax
mov ch, 0xed
les ebx, [esi + 0x75679f43]
mov ch, 0xfa
fisub word [ecx - 0x3af2419]
jae 0x5b4413
fadd st(3), st(0)
adc dword [ebp - 0x413075a9], 0x400e4f1d
mov ah, 0xed
insd dword es:[edi], dx
mov bl, 0xe0
lcall 0xa2b9, 0x9fbca7ab
pop ebx
mov eax, dword [0x335e2442]
inc esi
dec edi
pop esi
xor eax, dword [esi + 0x4f]
sti
cmp al, 0xf5
add ah, byte [edi + 0x2fb0416d]
jnp 0x5b447d
ja 0x5b4408
push ecx
push cs
jmp 0x5b4437
push eax
pop ss
pop eax
test esi, ebp
xor bh, byte [esi - 0x5e]
rcl eax, 0xdf
xchg esi, eax
jne 0x5b43fc
cmp al, cl
imul ebp, edx, 0x744a6c97
cmc
invalid
scasb al, byte es:[edi]
xchg byte [edi + 0x6bd94bd7], dh
loope 0x5b44f1
push ds
invalid
Function at 0x5d179c
Capabilities:
Encode data using xor

Disassembly:
fdivrp st(4)
pop ds
in al, 0xc7
into
ret
dec edi
mov ebx, dword [edi - 0x65]
pop ss
aaa
push dword [ebx + 0x4d875d99]
mov bl, 0x99
pop ebp
xchg dword [ebp + 0x7f], ecx
jg 0x5d17fa
dec edi
jae 0x5d172d
xor bl, al
ja 0x5d17a9
idiv cl
rcl cl, 1
jns 0x5d17a4
lahf
test eax, ecx
jecxz 0x5d17aa
add eax, 0x660214d9
mov byte [0x68c6dd18], al
mov eax, dword [0x3194ceff]
stosd dword es:[edi], eax
add ebx, dword [edx + 0x6b5d4fde]
mov al, 0x86
xor al, 0xd2
pushfd
push esp
mov ah, 0xca
mov ah, 0xef
outsd dx, dword [esi]
invalid
rol dword ds:[eax - 0x7307e24], 1
mov ch, 0x81
adc esi, dword [esi]
push ds
dec edi
mov bl, 0xf0
xor al, 0xce
fst qword [edi + 0x20]
sbb cl, byte [eax + esi + 0x4e]
int1
pop edi
retf 0x829f

Function at 0x6579cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3e8
cmp edx, dword [eax]
je 0x6579ef
add eax, 8
inc ecx
cmp eax, 0x65f478
jl 0x6579e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3e8]
jne 0x657b1d
mov eax, dword [0xa5bd44]
cmp eax, 1
je 0x657af7
test eax, eax
jne 0x657a20
cmp dword [0x65f314], 1
je 0x657af7
cmp edx, 0xfc
je 0x657b1d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657a57
lea eax, [ebp - 0x1a4]
push 0x65c9e0
push eax
call fcn.006583b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658840
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657a9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658840
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9dc
push edi
call fcn.0065a710
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c9c0
push eax
call fcn.006583b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006583c0
lea eax, [ebp - 0xa0]
push 0x65c9bc
push eax
call fcn.006583c0
push dword [esi + 0x65f3ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.006583c0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c994
push eax
call fcn.0065a684
add esp, 0x2c
pop edi
jmp 0x657b1d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3ec]
push 0
push eax
push dword [esi]
call fcn.00658840
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x626048], 1
mov dword [0x626044], 1
mov dword [0x626040], 1
mov dword [0x626038], 1
jne 0x401060
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010c0
mov dword [0x626014], eax
mov eax, dword [0x626054]
test eax, eax
je 0x4010b0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x626068]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x626050]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x624958], 1
je 0x4010f0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x40107a
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x401108
cmp dx, 0x20b
jne 0x401060
cmp dword [ecx + 0x84], 0xe
jbe 0x401060
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401060
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401060
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401060

Function at 0x401520
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0x22190f
mov dword [esp], 0x403020
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
test eax, eax
jne 0x401559
mov eax, 0
jmp 0x40155e
mov eax, 0x403020
leave
ret

Function at 0x4015fb
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
call dbg.__main
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call eax
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
call sym._realStart
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x4018b0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x4022bf
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push dword [0x40374f]
call dword [sym.imp.pdh.dll_PdhCloseQuery]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022ed
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401764], eax
ret
Function at 0x100043f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10004414
xor eax, eax
jmp 0x1000448f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000442a
xor eax, eax
jmp 0x1000448f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x10004472
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x10004472
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x1000444b
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x1000447e
xor eax, eax
jmp 0x1000448f
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x1000448c
xor eax, eax
jmp 0x1000448f
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10009e25
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10009e2e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10009e6b
mov eax, dword [ebp - 0xc]
jmp 0x10009ec1
cmp dword [ebp - 4], 1
je 0x10009e7c
cmp dword [ebp - 4], 2
je 0x10009e7c
push 0xd
pop eax
jmp 0x10009ec1
cmp dword [ebp + 0xc], 0
je 0x10009eb5
cmp dword [ebp - 8], 0
je 0x10009eae
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10009ea7
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x10009eac
push 0xd
pop eax
jmp 0x10009ec1
jmp 0x10009eb5
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x10009eec
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.100011d7
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009f4a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.10009ccb
mov eax, dword [ebp - 0x21c]
jmp 0x10009fd9
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10009faf
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.10009eec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009fa6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.10009ccb
mov eax, dword [ebp - 0x220]
jmp 0x10009fd9
mov dword [ebp - 4], 0x100
jmp 0x10009f51
lea ecx, [ebp - 0x10]
call fcn.10009c9e
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.10009d8b
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.10009ccb
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006f3d1
leave
ret 4
Function at 0x1000f903
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10072050
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100cbe00
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x1000f9ba
jmp 0x1000fa2e
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f3d1
leave
ret

Function at 0x10013944
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020fd2
test eax, eax
je 0x100139a9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x1001399f
cmp dword [ebp + 8], 0x1b
jne 0x10013985
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.100210b9
jmp 0x1001399f
cmp dword [ebp + 8], 0xd
jne 0x1001399f
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.100210b9
push 0
mov ecx, dword [ebp - 4]
call fcn.10013a53
leave
ret 0xc
Function at 0x100299dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1000fadf
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10029a0d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10029a0d
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x10032dd4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x10032e05
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x10032ee3
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.1000f7d0
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10032ed9
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.100321d7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x10032ed9
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.1000f856
mov ecx, dword [ebp - 8]
call fcn.10025a80
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10032ebb
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x10032ebb
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x10032ed9
mov ecx, dword [ebp - 8]
call fcn.1000965d
test eax, eax
je 0x10032ed9
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.1000965d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x10032f44
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034a17
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034a76
mov ecx, eax
call fcn.1001e65e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc