joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001641
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
cmp dword [edi + 4], 0
jne 0x10001657
call sym.RTFC.dll_public:_void___thiscall_CCRC32::InitTable_void_
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
not ecx
mov edx, dword [ebp + 0xc]
cmp esi, 8
jb 0x10001700
mov eax, dword [edi + 4]
mov edi, eax
push ebx
mov ebx, esi
shr ebx, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
sub ebx, 1
jne 0x10001676
mov edi, dword [ebp - 4]
pop ebx
test esi, esi
je 0x1000171b
mov edi, dword [edi + 4]
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edi + eax*4]
inc edx
sub esi, 1
jne 0x10001707
not ecx
pop edi
mov eax, ecx
pop esi
leave
ret 0xc

Function at 0x10001725
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x10012040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x9c], ecx
xor edi, edi
push 0x20
lea ecx, [ebp - 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x98], eax
cmp eax, 0xffffffff
je 0x100017cb
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x100017ca
push ebx
push esi
call fcn.1000892f
mov ebx, eax
pop ecx
test ebx, ebx
je 0x100017c9
push edi
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], edi
push eax
push esi
push ebx
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100017c2
cmp esi, dword [ebp - 0x90]
jne 0x100017c2
mov ecx, dword [ebp - 0x9c]
push esi
push ebx
push dword [ebp + 8]
call sym.RTFC.dll_public:_unsigned_long_int___thiscall_CCRC32::Calc_unsigned_long_int__unsigned_char___unsigned_long_int_
mov edi, eax
push ebx
call fcn.10008938
pop ecx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.1000894b
leave
ret 8
Function at 0x100017dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
cmp dword [ebx + 4], esi
jne 0x1000184f
push 0x400
call fcn.1000892f
mov dword [ebx + 4], eax
mov edx, esi
pop ecx
mov ebx, esi
movzx eax, byte [edx + 0x1000b25c]
push 0x1f
pop ecx
sub ecx, eax
bts ebx, ecx
inc edx
cmp edx, 0xe
jb 0x10001804
push edi
push 8
mov edi, esi
pop esi
mov edx, edi
mov ecx, edi
shr edx, 1
mov eax, edx
mov edi, edx
xor eax, ebx
test cl, 1
cmovne edi, eax
sub esi, 1
jne 0x1000181f
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [eax + esi*4], edi
inc esi
mov dword [ebp - 4], esi
cmp esi, 0x100
jl 0x1000181a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001aeb
Capabilities:
Get file version info

Disassembly:
push 0x28
mov eax, 0x1000a22a
call fcn.1000898b
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
push 0x1000b27c
mov dword [ebp - 4], ebx
call sym.RTFC.dll_public:_void___thiscall_CStringLite::constructor_char_const__
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x10001bf3
push esi
call fcn.1000892f
pop ecx
mov edi, eax
push edi
push esi
push ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10001bec
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
add esi, eax
call sym.RTFC.dll_public:_void___thiscall_CStringLite::constructor_void_
push esi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push 0x1000b29c
push eax
call sym.RTFC.dll_public:_void___cdecl_CStringLite::Format_char_const__
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push str.StringFileInfo_
push eax
call sym.RTFC.dll_class_CStringLite___cdecl_operator_char_const___class_CStringLite_const__
push 0x1000b2a4
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
call sym.RTFC.dll_class_CStringLite___cdecl_operator_class_CStringLite_const___char_const__
add esp, 0x24
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call sym.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x28]
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10001bdc
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.1000531c
lea ecx, [ebp - 0x2c]
call sym.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_
lea ecx, [ebp - 0x24]
call sym.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_
push edi
call fcn.10008938
pop ecx
mov eax, dword [ebp + 8]
call fcn.10008959
ret
Function at 0x10001d06
Capabilities:
Read file via mapping

Disassembly:
push 0x20
push 0x1000c860
call fcn.10008a90
xor esi, esi
mov dword [ebp - 0x2c], esi
mov ebx, esi
mov dword [ebp - 0x20], ebx
mov edi, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x10001e0c
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x10001e0c
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10001e0c
mov eax, 0x5a4d
cmp word [edi], ax
je 0x10001d89
push 0xb
jmp 0x10001e06
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x454c
jne 0x10001d85
cmp dword [eax + edi + 0xbc], esi
jne 0x10001daa
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
push 0x714
jmp 0x10001e06
mov eax, dword [eax + edi + 0xb8]
add eax, edi
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], ecx
add eax, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x10], 0
je 0x10001dff
mov eax, dword [ebp + 0xc]
cmp dword [eax], ecx
jb 0x10001dff
push dword [eax]
push esi
push dword [ebp + 0x10]
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push dword [ebp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
inc esi
mov dword [ebp - 0x28], esi
jmp 0x10001e0c
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
call fcn.10001e33
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002ebe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmpsb byte [esi], byte es:[edi]
inc ecx
call fcn.10002ac9
push eax
push esi
push dword [ebp + 8]
call fcn.10002a7e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10002ac9
push eax
push esi
push dword [ebp + 8]
call fcn.10002a7e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10002ab9
push ds
ljmp 0xff7c
Function at 0x10002f68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10002ab9
insb byte es:[edi], dx
add ebp, dword cs:[edx - 0x73]
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x1000317a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000316d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10003168
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10003152
and ecx, 0xfff
sldt word [eax]
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000315a
cmp edx, ebx
jne 0x100032a8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10003129
add eax, dword [eax + 4]
jmp 0x10003116
mov dword [ebp + 0xc], ebx
jmp 0x10003178
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10003190
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100031ae
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add dword [eax], eax
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000320c
mov edx, edi
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10003172
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je sym.RTFC.dll_public:_int___thiscall_CFormulaTranslator::IsFltValue_void_
dec eax
je 0x10003250
sub eax, 3
je 0x10003247
mov dword [ebp - 4], 0x40
jmp 0x10003276
mov dword [ebp - 4], 4
jmp 0x1000325c
mov dword [ebp - 4], 0x20
jmp 0x1000325c
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100032a8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10003228
mov eax, dword [ebp - 0x88]
push 0x8000
push ebx
Function at 0x1000319a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000316d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10003168
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10003152
and ecx, 0xfff
sldt word [eax]
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000315a
cmp edx, ebx
jne 0x100032a8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10003129
add eax, dword [eax + 4]
jmp 0x10003116
mov dword [ebp + 0xc], ebx
jmp 0x10003178
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10003190
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100031ae
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add dword [eax], eax
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000320c
mov edx, edi
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10003172
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je sym.RTFC.dll_public:_int___thiscall_CFormulaTranslator::IsFltValue_void_
dec eax
je 0x10003250
sub eax, 3
je 0x10003247
mov dword [ebp - 4], 0x40
jmp 0x10003276
mov dword [ebp - 4], 4
jmp 0x1000325c
mov dword [ebp - 4], 0x20
jmp 0x1000325c
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100032a8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10003228
mov eax, dword [ebp - 0x88]
push 0x8000
push ebx

Function at 0x100031ce
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100031f3
invalid
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100031fc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10003206
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100031e8

Function at 0x100031ee
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100031f3
invalid
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100031fc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10003206
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100031e8
Function at 0x100032d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
invalid
invalid
invalid
cld

Function at 0x1000333b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
invalid
insb byte es:[edi], dx
invalid

Function at 0x10004c5e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esp
call fcn.10002ab9
sahf
adc dl, byte [edi]
mov dh, 0x64
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x10004c7d
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.10002ab9
cmp dl, byte [0xf88bebf0]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.10002ab9
adc dword [ebx + ecx*4 - 0x53], ebp
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x10004ca6
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x10004ca6
call fcn.10002ab9
inc esi
retf

Function at 0x10004ee8
Capabilities:
Delete registry key

Disassembly:
push dword [ecx + 0xc]
push dword [ecx + 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
xor eax, eax
inc eax
ret

Function at 0x10004ef8
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
push esi
test edx, edx
je 0x10004f3e
lea esi, [ebp - 4]
push esi
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004f4c
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
leave
ret 4
lea edx, [ebp - 4]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
jmp 0x10004f19
xor eax, eax
jmp 0x10004f39
Function at 0x100050b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
push esi
test edx, edx
je 0x10005102
lea esi, [ebp - 4]
push esi
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005110
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
leave
ret 0x10
lea edx, [ebp - 4]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
jmp 0x100050d3
xor eax, eax
jmp 0x100050fd

Function at 0x100051e5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
push esi
push edi
xor edi, edi
test edx, edx
je 0x1000523c
push edi
lea esi, [ebp - 4]
push esi
push edi
push edx
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000524a
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop edi
pop esi
leave
ret 0x10
lea edx, [ebp - 4]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
jmp 0x1000520c
xor eax, eax
jmp 0x10005236
Function at 0x101dc380
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101ea4f8], 0
mov byte [0x101ea4fc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101ea4ec], 0x25ec
mov dword [0x101ea4f4], 0
mov dword [ebp - 0x1c], eax
jmp 0x101dc3ee
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x101ea4f4], 0
mov edx, eax
add edx, 0xffffd26b
add eax, 0x2417
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x101dc43a
mov eax, dword [ebp - 0x1c]
mov dword [0x101ea4f0], 0xaf6
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101ea4f0]
mov esi, eax
add esi, 0xffffe4f3
mov dword [0x101ea4ec], esi
mov esi, dword [0x101ea4f4]
add esi, 1
mov dword [0x101ea4f4], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x101dc3ee
jmp 0x101dc3c7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x1b14
mov edi, 0xfffff02c
mov ebx, 0x100
mov dword [0x101ea500], 0
mov dword [0x101ea4ec], eax
mov eax, dword [0x101ea4f8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ecx, edx
mov dword [0x101ea500], ecx
mov eax, ecx
cdq
idiv ebx
mov dword [0x101ea4f8], edx
mov dword [0x101ea4ec], 0x1802
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
mov cl, byte [ecx + ebx]
mov byte [0x101ea4fc], cl
mov ecx, dword [ebp - 0x3c]
mov dword [0x101ea4ec], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov cl, byte [0x101ea4fc]
mov edx, dword [0x101ea4f8]
mov ebx, dword [ebp - 0x18]
mov byte [ebx + edx], cl
mov dword [0x101ea4ec], 0x2b4
mov dword [0x101ea4f0], 0xfffff6fd
mov edx, dword [0x101ea4f4]
add edx, 1
mov dword [0x101ea4f4], edx
cmp edx, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edi
jl 0x101dc43a
mov dword [0x101ea4ec], 0xffffeb3b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101dc5d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101ea4f4], 0
mov dword [0x101ea4f8], 0
mov dword [0x101ea504], 0
mov edi, dword [0x101ea4ec]
add edi, 0x3c3
mov dword [0x101ea4ec], edi
mov dword [0x101ea4f0], 0x5f1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x101dc7b7
jmp 0x101dc640
jmp 0x101dc7b7
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101dc651
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101ea4f0], 0x1cfd
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101ea4f4], edx
mov dword [0x101ea4ec], 0x18db
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101ea4f8], edx
mov dword [0x101ea4f0], 0x198a
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101ea4fc], cl
mov dword [0x101ea4ec], 0x13a5
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x101ea4f0], 0x1ce8
mov dword [0x101ea4ec], 0x15f
mov cl, byte [0x101ea4fc]
mov edx, dword [0x101ea4f8]
mov byte [edi + edx], cl
mov edx, dword [0x101ea4ec]
add edx, 0xffffedd6
mov dword [0x101ea4ec], edx
mov edx, dword [0x101ea4f4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101ea4f8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101ea504], ebx
mov dword [0x101ea4ec], 0x2cc
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov edx, dword [0x101ea4f0]
mov bl, cl
add bl, byte [0x101ea509]
mov byte [0x101ea508], bl
mov byte [0x101ea509], ch
mov byte [0x101ea50a], cl
xor ch, cl
add edx, 0xffffee6e
mov dword [0x101ea4f0], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov byte [edx + esi], ch
mov dword [0x101ea4ec], 0x13c3
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x38], esi
je 0x101dc63b
mov eax, dword [0x101ea4f4]
mov ecx, dword [0x101ea4f8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x101dc651
mov dword [0x101ea4ec], 0xb60
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret