joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cd50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cd67
add esp, 0xfffffff0
call fcn.00403c20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a3ac
mov eax, dword [0x470b74]
cmp word [eax + 2], 0
jne 0x45cd8f
mov eax, dword [0x470b74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e818
mov eax, dword [0x470c3c]
cmp word [eax + 2], 0
jne 0x45cda9
mov eax, dword [0x470c3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ea24
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412150]
call fcn.004038cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412150]
call fcn.004038cc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412150]
call fcn.004038cc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41eb64]
call fcn.00426350
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45cf60
mov eax, dword [0x470a8c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426724
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f0e4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x470a8c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc40
test eax, eax
je 0x45ceb0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e54
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc74
test eax, eax
je 0x45cec4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404998
mov byte [ebx + 0xd4], 0
push ebx
push 0x45e360
call fcn.0041b528
mov dword [ebx + 0xc8], eax
mov eax, dword [0x470964]
cmp byte [eax], 0
jne 0x45cf15
mov eax, ebx
call fcn.0045d0a4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f2c0
mov eax, ebx
call fcn.0045fe20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cf55
call fcn.00403c78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d324
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x474584]
cmp dword [eax + 0x30], 0
je 0x45d3ce
cmp dword [ebx + 0x94], 0
jne 0x45d3c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d2b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d3c8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d38e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d3c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004144fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d39d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e0e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e11d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404818
jmp 0x45e12a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040477c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f4a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f512
mov eax, esi
call fcn.00449bdc
test al, al
je 0x45f512
mov eax, dword [ebx + 0x84]
call fcn.0044983c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f512
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f506
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044983c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00441c5c
jmp 0x45f512
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045f2e0
pop esi
pop ebx
ret
Function at 0x4324e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xb6ad36f1
xchg dword [esp], ebx
pushal
call 0x4324f1
pop edi
lea esi, [edi - 0x854]
add edi, 0x37
lodsw ax, word [esi]
xor ax, bx
movzx ecx, ax
mov dl, al
shr ecx, 2
je 0x432518
mov al, byte [edi]
xor al, bl
sub bh, al
stosb byte es:[edi], al
rcl ebx, cl
loop 0x43250d
shl dl, 7
jne 0x432526
jae 0x4324fe
add dword [edi], ebx
add edi, 4
jmp 0x4324fe
popal
pop ebx
cdq
shl dword [esp - 0x84de3a1], 0x12
and dword [0x2dc92526], esp
mov esi, 0x80cffe50
xor eax, 0xb227e0ed
cmp eax, ebp
dec ecx
sub byte [0xcf12755a], 0x4e
or byte [ecx + ecx*2 - 0xf], dh
cmpsd dword [esi], dword es:[edi]
in eax, 0x45
xchg edx, eax
aas
sub cl, byte [ebp - 5]
sahf
fcomp qword [ecx - 0x41]
int 0x7b
lodsb al, byte [esi]
int 0xf9
xchg edx, eax
xor bl, byte [edi - 0x21627fa]
mov al, byte [0x7b515707]
xor dl, byte [edx]
inc edx
mov word [edx + 0x7c5560d1], gs
jge 0x4325b3
cmpsb byte [esi], byte es:[edi]
sahf
imul ecx, dword [ebp + 0x1e], 0x8d2edd07
mov esp, 0x92bfa9b0
pushal
les esp, [edx + eax*8]
sbb dword [eax], edx
pushal
out dx, eax
imul edx, dword [ecx - 0x35296a85], 0x6c
add eax, 0x5346b08a
or dword [ecx - 0x56], 0xffffffa1
sub al, byte [ebx + 0x471eaf3]
push edx
xor eax, 0xf045c4
rol eax, 1
test byte [esi*4 + 0x7dfea0b7], cl
out 0xa9, al
mov ebx, 0x6b22220e
dec ecx
cmc
or eax, 0x999b825
popal
test eax, 0x22220ebb
imul ecx, dword [ecx - 0xb], 0xd
and eax, 0x610999b8
loop 0x4325da
sbb edi, eax
jg 0x4325b8
rcl dword [ecx], cl
sub byte [ecx - 0x1e], dh
pop esi
jmp 0x432621
add dword [ecx - 0xc], esp
xchg ebx, eax
and dword [ecx - 0x7388faa1], esp
jecxz 0x4325f1
adc eax, 0x5747caf
pop eax
mov ch, 0xb3
xchg byte [ebp + 0x118e092a], dl
xor byte [edi], bl
lcall 0xf3a8, 0xe165fe31
inc ecx
or dword [esi - 0x65e0cfef], ecx
xor esi, edi
loope 0x4325a4
inc ecx
aaa
mov dword [0xa0d08349], eax
invalid
sbb al, ah
shr byte [eax + 0x1b323e47], 0x60
push esi
xor eax, 0xd940b490
inc edx
push 0x8b016874
mov eax, 0x6467778e
or dh, ch
push edx
shl edi, cl
sbb ch, byte [edx]
mov fs, esp
and ebp, dword [ebx + ecx*8 - 0x5a]
mov cl, byte [ebx]
jnp 0x4326a6
and ecx, eax
and esp, ebx
dec eax
and dword [ecx], 0x3f
sub eax, 0xd4ad3098
mov bh, 0x31
wait
dec esi
outsb dx, byte [esi]
mov bh, byte [ebx]
cli
sub bl, dh
fsubr dword [eax + 0x50]
sub cl, al
loopne 0x43265c
enter 0xffffffffffffd330, 0xffffffffffffffb7
push edx
cmc
pop es
and ch, bl
mov edi, 0x121f20bf
ja 0x4326bd
mov dl, 0x9b
lodsb al, byte [esi]
adc al, 0xcd
add eax, 0x51455398
jmp 0x432688
ret 0x8bed
mov byte [0xca755ede], al
xchg edi, eax
mov dh, 0x9b
fisttp dword [eax]
insd dword es:[edi], dx
push es
inc ecx
loop 0x432685
inc ecx
invalid
dec ebx
int3
Function at 0x10001000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001027
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10001030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ebp
ret 0xc

Function at 0x10006498
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100064d7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100064d7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100064d7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100064d7
cmp dword [ecx + 0x74], 0xe
jbe 0x100064d7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000a580
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000a61d
push ebx
push esi
call fcn.1000a549
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000a4dd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000a5ca
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a61c
push edi
push eax
call fcn.100072e5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000a5ea
call fcn.100072ab
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000a61b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000a4dd
add esp, 0x20
test eax, eax
jne 0x1000a609
push edi
call fcn.100072ab
jmp 0x1000a611
push ebx
call fcn.100072ab
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000a88a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014bc0
push 0x10014bb8
push str.FlsAlloc
push 0x1f
call fcn.1000a7a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a8be
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001311c]
call esi
jmp 0x1000a8c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000a908
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014bd0
push 0x10014bc8
push str.FlsGetValue
push 0x21
call fcn.1000a7a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a93f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001311c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000a947
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014bd8
push 0x10014bd0
push str.FlsSetValue
push 0x22
call fcn.1000a7a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000a981
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001311c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012140
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov esi, eax
shl esi, 2
lea eax, [esi + ecx + 2]
add esi, ecx
mov dl, byte [eax + 1]
mov al, byte [eax]
mov byte [ebp - 0xc], al
mov eax, dword [esi]
shr eax, 8
mov byte [ebp - 8], al
mov al, byte [esi]
mov byte [ebp - 4], al
mov byte [ebp - 0x10], dl
push dword [ebp - 4]
call fcn.10007f97
push dword [ebp - 8]
movzx edi, al
call fcn.10007ffe
push dword [ebp - 0xc]
movzx eax, al
xor edi, eax
call fcn.10007fc7
push dword [ebp - 0x10]
movzx eax, al
xor edi, eax
call fcn.10008035
push dword [ebp - 4]
movzx eax, al
xor edi, eax
shl edi, 8
call fcn.10007ffe
push dword [ebp - 8]
movzx ebx, al
call fcn.10007fc7
push dword [ebp - 0xc]
movzx eax, al
xor ebx, eax
call fcn.10008035
push dword [ebp - 0x10]
movzx eax, al
xor ebx, eax
call fcn.10007f97
push dword [ebp - 4]
movzx eax, al
xor ebx, eax
or edi, ebx
shl edi, 8
call fcn.10007fc7
push dword [ebp - 8]
movzx ebx, al
call fcn.10008035
push dword [ebp - 0xc]
movzx eax, al
xor ebx, eax
call fcn.10007f97
push dword [ebp - 0x10]
movzx eax, al
xor ebx, eax
call fcn.10007ffe
push dword [ebp - 4]
movzx eax, al
xor ebx, eax
or edi, ebx
shl edi, 8
call fcn.10008035
push dword [ebp - 8]
movzx ebx, al
call fcn.10007f97
push dword [ebp - 0xc]
movzx eax, al
xor ebx, eax
call fcn.10007ffe
push dword [ebp - 0x10]
movzx eax, al
xor ebx, eax
call fcn.10007fc7
movzx eax, al
add esp, 0x40
xor ebx, eax
or edi, ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
mov dword [esi], edi
jl 0x10007e80
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000806c
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0xffffff4c
add ecx, 2
sub edi, esi
lea eax, [esi + 0xb4]
mov dword [ebp - 4], edi
mov dl, byte [ecx - 2]
mov byte [eax - 4], dl
mov dl, byte [ecx - 1]
mov byte [eax], dl
mov dl, byte [ecx]
mov byte [eax + 4], dl
mov dl, byte [ecx + 1]
mov byte [eax + 8], dl
inc eax
add ecx, 4
lea edx, [edi + eax]
cmp edx, 4
jl 0x1000808c
lea eax, [esi + 0xa0]
lea edi, [esi + 0xb0]
push eax
push edi
call fcn.100082ff
pop ecx
lea ebx, [esi + 0x90]
pop ecx
mov dword [ebp + 8], 9
xor eax, eax
movzx ecx, byte [eax + edi]
mov cl, byte [ecx + 0x10071ba8]
mov byte [eax + edi], cl
inc eax
cmp eax, 0x10
jl 0x100080d2
push edi
call fcn.100081c2
push edi
call fcn.1000820f
push ebx
push edi
call fcn.100082ff
add esp, 0x10
sub ebx, 0x10
dec dword [ebp + 8]
jne 0x100080d0
xor eax, eax
movzx ecx, byte [eax + edi]
mov cl, byte [ecx + 0x10071ba8]
mov byte [eax + edi], cl
inc eax
cmp eax, 0x10
jl 0x10008105
push edi
call fcn.100081c2
push esi
push edi
call fcn.100082ff
lea edx, [esi + 0xd0]
add esp, 0xc
lea ecx, [esi + 0xb4]
mov eax, edx
mov bl, byte [eax - 0x10]
mov edi, dword [ebp - 4]
xor bl, byte [ecx - 4]
mov byte [eax], bl
mov bl, byte [eax - 0xf]
xor bl, byte [ecx]
add eax, 4
mov byte [eax - 3], bl
mov bl, byte [eax - 0x12]
xor bl, byte [ecx + 4]
mov byte [eax - 2], bl
mov bl, byte [eax - 0x11]
xor bl, byte [ecx + 8]
inc ecx
add edi, ecx
mov byte [eax - 1], bl
cmp edi, 4
jl 0x10008136
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov cl, byte [eax + ecx]
mov byte [esi + eax + 0xc0], cl
inc eax
cmp eax, 0x10
jl 0x10008168
and dword [esi + 0xe0], 0
cmp dword [ebp + 0x10], 0
je 0x100081bd
movzx ecx, byte [esi + 0xdf]
cmp ecx, 1
jl 0x10008199
cmp ecx, 0x10
jle 0x1000819c
push 0x10
pop ecx
push 0xf
pop edi
cmp ecx, edi
jg 0x100081b7
mov eax, esi
sub eax, ecx
add eax, 0xdf
mov bl, byte [eax]
mov byte [edx + edi], bl
dec edi
dec eax
cmp edi, ecx
jge 0x100081ac
mov dword [esi + 0xe0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000820f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x10], 0xfffffffc
push esi
sub dword [ebp - 0x10], eax
lea esi, [eax + 4]
mov al, byte [esi - 4]
mov byte [ebp - 0xc], al
mov al, byte [esi]
mov byte [ebp - 8], al
mov al, byte [esi + 4]
mov byte [ebp - 4], al
mov al, byte [esi + 8]
mov byte [ebp + 8], al
push dword [ebp + 8]
call fcn.10007f97
push dword [ebp - 4]
mov bl, al
call fcn.10007ffe
push dword [ebp - 8]
xor bl, al
call fcn.10007fc7
push dword [ebp - 0xc]
xor bl, al
call fcn.10008035
push dword [ebp + 8]
xor bl, al
mov byte [esi - 4], bl
call fcn.10007ffe
push dword [ebp - 4]
mov bl, al
call fcn.10007fc7
push dword [ebp - 8]
xor bl, al
call fcn.10008035
push dword [ebp - 0xc]
xor bl, al
call fcn.10007f97
push dword [ebp + 8]
xor bl, al
mov byte [esi], bl
call fcn.10007fc7
push dword [ebp - 4]
mov bl, al
call fcn.10008035
push dword [ebp - 8]
xor bl, al
call fcn.10007f97
push dword [ebp - 0xc]
xor bl, al
call fcn.10007ffe
push dword [ebp + 8]
xor bl, al
mov byte [esi + 4], bl
call fcn.10008035
push dword [ebp - 4]
mov bl, al
call fcn.10007f97
push dword [ebp - 8]
xor bl, al
call fcn.10007ffe
push dword [ebp - 0xc]
xor bl, al
call fcn.10007fc7
xor bl, al
mov eax, dword [ebp - 0x10]
add esp, 0x40
mov byte [esi + 8], bl
inc esi
add eax, esi
cmp eax, 4
jl 0x10008227
pop esi
pop ebx
leave
ret

Function at 0x100082ff
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
push esi
push 0xfffffffffffffffc
pop esi
lea eax, [edx + 4]
sub esi, edx
mov dl, byte [ecx + 3]
xor byte [eax - 4], dl
mov dl, byte [ecx + 2]
xor byte [eax], dl
mov edx, dword [ecx]
shr edx, 8
xor byte [eax + 4], dl
mov dl, byte [ecx]
xor byte [eax + 8], dl
inc eax
add ecx, 4
lea edx, [esi + eax]
cmp edx, 4
jl 0x10008310
pop esi
ret
Function at 0x100083db
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0xffffff0c
add ecx, 2
sub edi, esi
lea eax, [esi + 0xf4]
mov dword [ebp - 4], edi
mov dl, byte [ecx - 2]
mov byte [eax - 4], dl
mov dl, byte [ecx - 1]
mov byte [eax], dl
mov dl, byte [ecx]
mov byte [eax + 4], dl
mov dl, byte [ecx + 1]
mov byte [eax + 8], dl
inc eax
add ecx, 4
lea edx, [edi + eax]
cmp edx, 4
jl 0x100083fb
lea eax, [esi + 0xe0]
lea edi, [esi + 0xf0]
push eax
push edi
call fcn.100082ff
pop ecx
lea ebx, [esi + 0xd0]
pop ecx
mov dword [ebp + 8], 0xd
xor eax, eax
movzx ecx, byte [eax + edi]
mov cl, byte [ecx + 0x10071ba8]
mov byte [eax + edi], cl
inc eax
cmp eax, 0x10
jl 0x10008441
push edi
call fcn.100081c2
push edi
call fcn.1000820f
push ebx
push edi
call fcn.100082ff
add esp, 0x10
sub ebx, 0x10
dec dword [ebp + 8]
jne 0x1000843f
xor eax, eax
movzx ecx, byte [eax + edi]
mov cl, byte [ecx + 0x10071ba8]
mov byte [eax + edi], cl
inc eax
cmp eax, 0x10
jl 0x10008474
push edi
call fcn.100081c2
push esi
push edi
call fcn.100082ff
lea edx, [esi + 0x110]
add esp, 0xc
lea ecx, [esi + 0xf4]
mov eax, edx
mov bl, byte [eax - 0x10]
mov edi, dword [ebp - 4]
xor bl, byte [ecx - 4]
mov byte [eax], bl
mov bl, byte [eax - 0xf]
xor bl, byte [ecx]
add eax, 4
mov byte [eax - 3], bl
mov bl, byte [eax - 0x12]
xor bl, byte [ecx + 4]
mov byte [eax - 2], bl
mov bl, byte [eax - 0x11]
xor bl, byte [ecx + 8]
inc ecx
add edi, ecx
mov byte [eax - 1], bl
cmp edi, 4
jl 0x100084a5
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov cl, byte [eax + ecx]
mov byte [esi + eax + 0x100], cl
inc eax
cmp eax, 0x10
jl 0x100084d7
and dword [esi + 0x120], 0
cmp dword [ebp + 0x10], 0
je 0x1000852c
movzx ecx, byte [esi + 0x11f]
cmp ecx, 1
jl 0x10008508
cmp ecx, 0x10
jle 0x1000850b
push 0x10
pop ecx
push 0xf
pop edi
cmp ecx, edi
jg 0x10008526
mov eax, esi
sub eax, ecx
add eax, 0x11f
mov bl, byte [eax]
mov byte [edx + edi], bl
dec edi
dec eax
cmp edi, ecx
jge 0x1000851b
mov dword [esi + 0x120], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008f02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [ebp + 8]
push ebx
xor ecx, ecx
push esi
add eax, 2
push edi
movzx esi, byte [eax]
xor edx, edx
mov dh, byte [eax - 2]
mov dl, byte [eax - 1]
add eax, 4
shl edx, 8
or edx, esi
movzx esi, byte [eax - 3]
shl edx, 8
or edx, esi
mov dword [ebp + ecx*4 - 0x118], edx
inc ecx
cmp ecx, 0x10
jb 0x10008f16
push 0x30
lea esi, [ebp - 0xe0]
pop edi
push dword [esi - 0x34]
call fcn.100090ab
push dword [esi]
mov ebx, eax
call fcn.100090d1
add ebx, eax
pop ecx
add ebx, dword [esi - 0x38]
add esi, 4
pop ecx
add ebx, dword [esi - 0x18]
dec edi
mov dword [esi + 4], ebx
jne 0x10008f48
mov esi, dword [ebp + 0xc]
and dword [ebp - 8], 0
mov eax, dword [esi]
mov ebx, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
push ebx
call fcn.1000907e
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov eax, ebx
and ecx, ebx
not eax
and eax, dword [ebp - 4]
push dword [ebp + 8]
xor eax, ecx
add edi, eax
mov eax, dword [ebp - 8]
add edi, dword [eax + 0x10071cd8]
add edi, dword [ebp + eax - 0x118]
add edi, dword [ebp - 0x18]
call fcn.10009051
mov edx, dword [ebp + 0xc]
pop ecx
and edx, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
add dword [ebp - 8], 4
xor ecx, dword [ebp + 8]
and ecx, dword [ebp - 0x10]
xor ecx, edx
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ebx
add eax, edi
lea ebx, [edi + ecx]
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], 0x100
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
jb 0x10008f9f
add dword [esi], eax
mov eax, ecx
add dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
add dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
add dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
add dword [esi + 0x10], ebx
add dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100090f7
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x40
xor edi, edi
pop esi
mov dword [ebp - 0x20], 0x6a09e667
cmp ebx, esi
mov dword [ebp - 0x1c], 0xbb67ae85
mov dword [ebp - 0x18], 0x3c6ef372
mov dword [ebp - 0x14], 0xa54ff53a
mov dword [ebp - 0x10], 0x510e527f
mov dword [ebp - 0xc], 0x9b05688c
mov dword [ebp - 8], 0x1f83d9ab
mov dword [ebp - 4], 0x5be0cd19
jl 0x10009161
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi - 0x40]
push eax
call fcn.10008f02
add esi, 0x40
pop ecx
add edi, 0x40
cmp esi, ebx
pop ecx
jle 0x10009144
mov esi, ebx
sub esi, edi
test esi, esi
jle 0x1000917c
mov eax, dword [ebp + 8]
push esi
add edi, eax
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.1004ccc0
add esp, 0xc
mov byte [ebp + esi - 0x60], 0x80
inc esi
cmp esi, 0x38
jle 0x100091b5
push 0x40
pop ecx
cmp esi, ecx
jge 0x100091a4
sub ecx, esi
lea edi, [ebp + esi - 0x60]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10008f02
pop ecx
xor esi, esi
pop ecx
push 0x38
pop ecx
cmp esi, ecx
jge 0x100091d2
sub ecx, esi
lea edi, [ebp + esi - 0x60]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
and byte [ebp - 0x28], 0
sar eax, 0x15
mov byte [ebp - 0x24], al
mov eax, ebx
sar eax, 0xd
mov byte [ebp - 0x23], al
mov eax, ebx
sar eax, 5
and byte [ebp - 0x27], 0
and byte [ebp - 0x26], 0
and byte [ebp - 0x25], 0
mov byte [ebp - 0x22], al
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x60]
shl bl, 3
push eax
mov byte [ebp - 0x21], bl
call fcn.10008f02
mov eax, dword [ebp + 0x10]
pop ecx
xor esi, esi
pop ecx
add eax, 2
lea ecx, [ebp + esi*4 - 0x1e]
mov dl, byte [ecx + 1]
mov cl, byte [ecx]
mov byte [eax - 1], cl
lea ecx, [ebp + esi*4 - 0x20]
mov byte [eax - 2], dl
mov edx, dword [ecx]
mov cl, byte [ecx]
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
inc esi
add eax, 4
cmp esi, 8
jl 0x10009217
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10022ec8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
push esi
xor eax, eax
mov esi, dword [edx + 4]
mov edx, dword [edx]
test edx, edx
jle 0x10022eed
push edi
mov edi, edx
mov dl, byte [esi]
imul eax, eax, 0x11
and edx, 0xff
add eax, edx
inc esi
dec edi
jne 0x10022edb
pop edi
xor edx, edx
pop esi
div dword [ecx + 4]
mov eax, edx
ret 4