joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b7a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100aefe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.100a7a5d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.1005b100
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100a798b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100a4232
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100a4232
push 1
push 0
push 0
mov ecx, esi
call fcn.100a41da
push 1
push 0
push 1
mov ecx, esi
call fcn.100a41da
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100a7acf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x1005b920
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100af008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100a7a5d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.1005b100
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.100a798b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x1005b9e4
cmp dword [esp + 0x40], 1
jne 0x1005b9e2
cmp ecx, eax
jge 0x1005b9e4
mov eax, ecx
cmp eax, 0xc8
jge 0x1005b9f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.1005b7a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100a7acf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1005c1f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100af0b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100a2653
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.100a7d05
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100a9221
test eax, eax
je 0x1005c30c
mov ecx, dword [esp + 0x3c]
call fcn.100a7d32
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1005c2d0
push edi
mov ecx, esi
call fcn.100a537d
mov ecx, esi
call fcn.1005c4b0
cmp dword [esp + 0x38], 1
jne 0x1005c305
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100a54b8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x1005e500
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005e533
push esi
call fcn.1006c8b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005e52c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x1005e5b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005e5a2
mov eax, dword [esi + 8]
test eax, eax
je 0x1005e557
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x1005e59e
cmp eax, 2
je 0x1005e5a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005e54a
cmp eax, 3
je 0x1005e57d
cmp eax, 1
jne 0x1005e54a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x1005e54a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005e54a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005e5e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005e5c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005e5e0
add esp, 4
pop esi
ret

Function at 0x1005ee60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1005ee81
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1005ee81
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1005ee81
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1005f2d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1005f2db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1005f3de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100c4d88]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c4d88]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c4d88]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c4d88]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c4d88]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100c4d88]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100c4d88]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100c4d88]
xor eax, edx
inc ecx
dec edi
jne 0x1005f2f6
pop edi
test esi, esi
je 0x1005f400
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100c4d88]
xor eax, edx
inc ecx
dec esi
jne 0x1005f3e2
pop esi
pop ebx
not eax
ret
Function at 0x1007c180
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100faea0]
xor edx, edx
cmp eax, edx
jne 0x1007c1a6
xor eax, eax
mov byte [eax + 0x100fada0], al
inc eax
cmp eax, 0x100
jl 0x1007c18e
mov dword [0x100faea0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100fada0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1007c237
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1007c20a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1007c1d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1007c240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1007c293
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1007c27a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10082c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100af59e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10083540
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x100c6c5c
call fcn.100a0dbb
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x10082cb3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100a0dbb
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x10082cac
push 0
mov ecx, eax
call fcn.10079dc0
mov dword [esi + 0xc], eax
jmp 0x10082cb5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x10082cb5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x100a3448
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100a3480
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100a14d5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100a14ad
jmp 0x100a348c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100a4b3a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100a4b7c
call fcn.100aa611
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100a4b7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100a4b73
xor eax, eax
jmp 0x100a4b84
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100a4b8a
pop edi
pop esi
pop ebx
ret 4
Function at 0x8e5940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x370000]
lea eax, [edi + 0x39bc18]
push dword [eax]
mov dword [eax], 0x7c7ad14
push eax
push edi
or ebp, 0xffffffff
jmp 0x8e5972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8e5979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8e5968
mov eax, 1
add ebx, ebx
jne 0x8e598b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8e599c
jne 0x8e59bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8e59bb
dec eax
add ebx, ebx
jne 0x8e59a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8e5980
add ebx, ebx
jne 0x8e59b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8e5a0d
xor ecx, ecx
sub eax, 3
jb 0x8e59d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8e5a42
sar eax, 1
mov ebp, eax
jmp 0x8e59de
add ebx, ebx
jne 0x8e59de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8e59ac
inc ecx
add ebx, ebx
jne 0x8e59ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8e59ac
add ebx, ebx
jne 0x8e59f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8e59ee
jne 0x8e5a0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8e59ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8e5a2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8e5a1e
jmp 0x8e596e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8e5a2c
add edi, ecx
jmp 0x8e596e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x147ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8e5a4e
cmp byte [edi], 0x39
jne 0x8e5a4e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8e5a53
lea edi, [esi + 0x4e1000]
mov eax, dword [edi]
or eax, eax
je 0x8e5ac2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x52e304]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x52e450]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8e5a80
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x52e458]
or eax, eax
je 0x8e5abc
mov dword [ebx], eax
add ebx, 4
jmp 0x8e5a9d
call dword [esi + 0x52e454]
mov ebp, dword [esi + 0x52e45c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8e5af6
sub esp, 0xffffff80
jmp fcn.0079bac4
Function at 0x1000123b
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
mov dl, byte [eax]
test dl, dl
je 0x10001272
push edi
lea edi, [eax + 1]
movsx ecx, dl
sub dl, 0x41
cmp dl, 0x19
mov dl, byte [edi]
lea eax, [ecx + 0x20]
cmova eax, ecx
add eax, esi
imul esi, eax, 0x101
mov eax, esi
shr eax, 6
xor esi, eax
inc edi
test dl, dl
jne 0x1000124c
pop edi
imul ecx, esi, 9
pop esi
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
xor eax, 0x5e0c1d6c
ret

Function at 0x10001289
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by parsing pe exports

Disassembly:
cmp dword [esp + 4], 0
push esi
jne 0x100012a6
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
jmp 0x100012b9
push dword [esp + 8]
push 0xaf362212
call fcn.10001370
pop ecx
call eax
mov esi, eax
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000136e
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x1000136e
push edi
mov edi, dword [eax + esi + 0x78]
test edi, edi
je 0x1000136d
mov eax, dword [edi + esi + 0x18]
push ebp
xor ebp, ebp
sub eax, 1
je 0x1000136c
push ebx
mov eax, dword [edi + esi + 0x20]
lea eax, [eax + ebp*4]
mov eax, dword [eax + esi]
add eax, esi
push eax
mov dword [esp + 0x18], eax
call fcn.1000123b
mov ebx, eax
push ebx
call fcn.10001394
pop ecx
pop ecx
test al, al
je 0x10001361
cmp ebx, 0x2a6fde02
je 0x10001346
cmp ebx, 0x7720bd30
je 0x10001346
cmp ebx, 0xfe974b5
je 0x10001346
mov eax, dword [edi + esi + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x10001358
push dword [esp + 0x14]
push esi
push 0x1d939dfa
call fcn.10001370
pop ecx
call eax
push eax
push ebx
call fcn.100013b5
pop ecx
pop ecx
mov eax, dword [edi + esi + 0x18]
inc ebp
dec eax
cmp ebp, eax
jb 0x100012f1
pop ebx
pop ebp
pop edi
pop esi
ret

Function at 0x10001e2d
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, pe_nt_image_headers32
push edi
xor edi, edi
mov eax, edi
lea ecx, [esi + 1]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, bp
jb 0x10001e40
movzx ecx, word [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x10], edi
mov bl, byte [edx + esi + 1]
mov eax, edx
xor edx, edx
div ecx
mov eax, dword [esp + 0x18]
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x10]
movzx eax, bl
add cx, ax
mov byte [esi], bl
add cx, di
mov eax, 0xff
and cx, ax
movzx edi, cx
mov ecx, edi
mov al, byte [ecx + esi + 1]
mov byte [edx + esi + 1], al
inc edx
mov al, byte [esi]
mov byte [ecx + esi + 1], al
movzx ecx, word [esp + 0x1c]
mov dword [esp + 0x10], edx
sub ebp, 1
jne 0x10001e54
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x102], eax
test edi, edi
je 0x10001ebb
mov ecx, esi
call fcn.100014dc
sub edi, 1
jne 0x10001eaf
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x10002845
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
jle 0x1000287a
push ebp
mov ebp, dword [esp + 0x14]
mov eax, ebx
lea ecx, [eax + ebp]
and eax, 0xf
mov dl, byte [ecx]
mov al, byte [eax + 0x1003c69c]
xor al, dl
xor al, bl
inc edi
mov byte [ecx], al
mov bl, dl
movzx eax, di
cmp eax, esi
jl 0x1000285b
pop ebp
add dword [0x1003c6a4], esi
pop edi
pop esi
pop ebx
ret

Function at 0x10002a8e
Capabilities:
Encode data using xor

Disassembly:
call fcn.10002ac1
mov edx, dword [esp + 8]
or ecx, 0xffffffff
test edx, edx
je 0x10002abc
push esi
mov esi, dword [esp + 8]
movsx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1003ba78]
inc esi
sub edx, 1
jne 0x10002aa3
pop esi
not ecx
mov eax, ecx
ret

Function at 0x10002ac1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x1003b811], 0
jne 0x10002b13
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, 0x1003ba78
mov ebx, pe_nt_image_headers32
push 8
mov edx, edi
pop ebp
mov ecx, edx
mov eax, edx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
add ebp, 0xffff
test bp, bp
jne 0x10002adf
mov dword [esi], edx
inc edi
add esi, 4
sub ebx, 1
jne 0x10002ada
pop edi
pop esi
pop ebp
pop ebx
mov byte [0x1003b811], 1
ret
Function at 0x1001732c
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x10017bd1
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, edx
push esi
mov esi, dword [esp + 0x10]
cmp edx, 4
jl 0x10017c16
push edi
mov edi, edx
shr edi, 2
imul eax, edi, 0xfffffffc
add edx, eax
imul ecx, dword [esi], 0x5bd1e995
add esi, 4
imul ebx, ebx, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor ebx, ecx
sub edi, 1
jne 0x10017bf2
pop edi
xor ecx, ecx
sub edx, 1
je 0x10017c37
sub edx, 1
je 0x10017c2e
sub edx, 1
jne 0x10017c3c
movzx ecx, byte [esi + 2]
shl ecx, 0x10
movzx eax, byte [esi + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [esi]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul edx, ebp, 0x5bd1e995
pop esi
pop ebp
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, ebx, 0x5bd1e995
pop ebx
xor ecx, eax
mov eax, edx
shr eax, 0x18
xor eax, edx
imul ecx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor ecx, eax
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret
Function at 0x10017e5c
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
xor ecx, dword [ebp + 0xc]
xor edx, dword [ebp + 8]
xor esi, dword [ebp + 4]
push edi
mov edi, dword [esp + 0x20]
imul eax, edi, 0x9e3779b9
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x10]
xor eax, dword [ebp]
mov dword [esp + 0x28], eax
test edi, edi
je 0x10017f54
mov ebp, edx
mov edx, dword [esp + 0x10]
mov edi, ecx
mov dword [esp + 0x18], eax
shr edx, 0xb
mov ecx, ebp
mov dword [esp + 0x14], ecx
and edx, 3
mov eax, dword [esp + 0x14]
mov ebp, esi
shl eax, 4
and cl, 0x1f
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4]
rol esi, cl
add esi, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shr eax, 5
shr ecx, 0x1b
rol edx, cl
add edx, eax
mov eax, dword [esp + 0x28]
xor esi, edx
mov edx, dword [esp + 0x10]
add eax, edx
add edx, 0x61c88647
xor esi, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
and edx, 3
mov cl, al
sub ebp, esi
and cl, 0x1f
shl eax, 4
mov esi, dword [ebx + edx*4 + 0x10]
rol esi, cl
mov ecx, dword [esp + 0x28]
add esi, eax
mov eax, dword [ebx + edx*4]
mov edx, dword [esp + 0x10]
shr ecx, 0x1b
rol eax, cl
mov ecx, dword [esp + 0x28]
shr ecx, 5
add eax, ecx
mov ecx, dword [esp + 0x14]
xor esi, eax
lea eax, [ecx + edx]
xor esi, eax
mov eax, edi
sub eax, esi
sub dword [esp + 0x20], 1
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
jne 0x10017ea3
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
sub ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], ecx
sub edx, dword [ebx + 8]
mov dword [ebp + 8], edx
sub esi, dword [ebx + 4]
mov dword [ebp + 4], esi
sub eax, dword [ebx]
pop edi
pop esi
mov dword [ebp], eax
pop ebp
pop ebx
add esp, 0xc
ret