joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007d109
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100c89cc
call fcn.100c0df0
sub esp, 0x64
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
push esi
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
mov edx, ebx
sete al
mov byte [esi + 0x68], al
call fcn.1007d2e1
xor edi, edi
cmp eax, edi
jne 0x1007d2d0
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007d161
push 1
pop eax
jmp 0x1007d163
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.10076103
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007d2b5
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
cmp word [ebx + 0x20], 1
mov dword [ebp - 0x1c], eax
jne 0x1007d288
cmp word [eax + 0x20], 1
jne 0x1007d288
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.1007ea50
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.1007d4d1
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
push esi
push ebx
push edi
push dword [ebp + 8]
call fcn.1007c3b6
test eax, eax
jne 0x1007d2a0
add edi, 0x2c
push 0x14
lea eax, [ebp - 0x30]
push edi
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007d21c
cmp byte [ebx + 0x2c], 0
je 0x1007d2bb
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007d2bb
inc eax
cmp eax, 0x14
jb 0x1007d20c
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007d234
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.1007e9ee
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.1007cc25
test eax, eax
jne 0x1007d2a0
cmp byte [ebp + 0x17], al
je 0x1007d288
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007d29c
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007d29c
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007d288
cmp dword [eax + 0x24], 1
jne 0x1007d288
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007d280
test al, al
je 0x1007d2bb
test al, al
je 0x1007d288
test cl, cl
je 0x1007d2a4
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007d2b5
jmp 0x1007d188
xor cl, cl
jmp 0x1007d260
mov esi, eax
jmp 0x1007d2c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007b9ce
push 1
pop eax
jmp 0x1007d2d0
cmp byte [ebp + 0x17], 0
je 0x1007d2c0
push 1
pop esi
jmp 0x1007d2c2
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007b9ce
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x1007e37a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x100c8a84
call fcn.100c0df0
sub esp, 0x30
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.CREATIONTIME
mov ecx, edi
lea edx, [esi + 4]
call fcn.1007e55f
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.1007e55f
push str.NAME
lea ecx, [ebp - 0x18]
mov byte [esi + 1], al
call fcn.10001cdc
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.10002ceb
lea edx, [esi + 0x14]
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10003a6e
push dword [ebp - 0x30]
mov byte [esi + 2], al
call fcn.100032e0
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100032e0
pop ecx
pop ecx
push str.DIRCOUNT
lea ecx, [ebp - 0x18]
call fcn.10001cdc
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.10002ceb
lea edx, [esi + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1007e4dc
push dword [ebp - 0x30]
call fcn.100032e0
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100032e0
pop ecx
pop ecx
push str.FILECOUNT
lea ecx, [ebp - 0x18]
call fcn.10001cdc
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 4
call fcn.10002ceb
lea edx, [esi + 0x28]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1007e4dc
push dword [ebp - 0x30]
call fcn.100032e0
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.100032e0
pop ecx
pop ecx
push str.INDEX
lea ecx, [ebp - 0x24]
call fcn.10001cdc
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 6
call fcn.10002c1c
lea edx, [esi + 0x30]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1007e531
push dword [ebp - 0x3c]
mov byte [esi + 3], al
call fcn.100032e0
push dword [ebp - 0x24]
call fcn.100032e0
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1007ea98
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100c8b13
call fcn.100c0df0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10002417
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10081e84
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100c8f7f
call fcn.100c0df0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ax, word [edi]
lea ecx, [esi + 0x24]
mov word [esi], ax
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call fcn.10001d16
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
call fcn.10081f54
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1008f530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.1008ebe0
push 0x41
mov ecx, esi
call fcn.1008ebe0
push 0x59
mov ecx, esi
call fcn.1008ebe0
push 0x26
mov ecx, esi
call fcn.1008ebe0
push 0x53
mov ecx, esi
call fcn.1008ebe0
push 0x59
mov ecx, esi
call fcn.1008ebe0
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x1008f5c0
test cl, cl
jbe 0x1008f5bc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x100e801c]
xor eax, edi
dec ecx
jne 0x1008f5a6
xor edi, edi
jmp 0x1008f5ef
cmp bl, cl
jne 0x1008f5c7
inc edi
jmp 0x1008f5d2
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x100e801c]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x1008f57e
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.1008ec20
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.1008ed40
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x1008f800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x174]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.1008f630
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x1008f87c
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x17c]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
call fcn.100bd360
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x1008f8b9
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x178
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x1008f88e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.1008f990
mov edi, dword [esi + 0x8ce0]
cmp byte [edi + 0x1a0], bl
je 0x1008f979
mov ebp, dword [esi + 0x8cd8]
mov eax, dword [edi + 0x19c]
inc ebp
cmp ebp, eax
jne 0x1008f904
xor ebp, ebp
cmp dword [edi + 0x1b4], ebx
je 0x1008f955
lea ecx, [edi + 0x148]
call fcn.10008bc6
mov ebx, dword [edi + 0x140]
mov ecx, 0xf
sub ecx, ebx
xor edi, edi
shr ecx, 3
add eax, ecx
adc edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1b4]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [ebp + ebp*8]
shl ecx, 3
mov edx, dword [eax + 0x17c]
sub ecx, ebp
shl ecx, 9
lea ecx, [edx + ecx + 0x8cf0]
call fcn.100bd3b0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x100a0210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, eax
imul ecx, edx
mov edx, dword [esi + 0x14]
add edx, ecx
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x10]
sub edx, ecx
imul eax, dword [esp + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
lea edx, [eax + ecx]
xor edx, eax
cmp edx, 0x1000000
jb 0x100a0258
cmp ecx, 0x8000
jae 0x100a02a2
neg eax
and eax, 0x7fff
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
lea ecx, [esi + 0x20]
cmp eax, edx
jb 0x100a0270
call fcn.10006517
mov byte [esp + 8], al
jmp 0x100a0279
mov dl, byte [eax]
inc eax
mov byte [esp + 8], dl
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 8]
shl eax, 8
and ecx, 0xff
or eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
shl ecx, 8
shl eax, 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
jmp 0x100a0233
pop esi
ret 4

Function at 0x100a2be0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, ecx
xor bl, bl
xor cl, cl
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
mov byte [esi + 4], 0
test edx, edx
mov dword [esi], 0xffffffff
jbe 0x100a2c0d
xor cl, byte [eax + edi]
inc eax
cmp eax, edx
jb 0x100a2c01
test cl, cl
jne 0x100a2c27
test edx, edx
je 0x100a2c27
mov bl, 1
mov ecx, edi
mov byte [esi + 4], bl
call fcn.100a2c30
test eax, eax
mov dword [esi], eax
jge 0x100a2c27
mov byte [esi + 4], 0
pop edi
mov al, bl
pop esi
pop ebx
ret 8
Function at 0x100a87d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x100a880e
mov ecx, ebx
call fcn.100bb480
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100bc230
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100bc3f0
jmp 0x100a882a
test esi, esi
jbe 0x100a882a
mov ecx, esi
mov esi, dword [esp + 0x50]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x100a882c
mov ecx, ebx
call fcn.100bb480
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100bc230
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x100a8853
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.100bb480
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100bc230
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100a88f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc8]
cmp edi, 0x40
jbe 0x100a896b
lea ecx, [esp + 0x60]
call fcn.100bb480
mov edx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x64]
call fcn.100bc230
lea edx, [esp + 0xc]
lea ecx, [esp + 0x60]
call fcn.100bc3f0
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ch, byte [esp + eax + 0xc]
mov dl, byte [esp + eax + 0xe]
mov cl, byte [esp + eax + 0xd]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esp + eax + 0xb]
shl ecx, 8
or ecx, edx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], ecx
jb 0x100a893d
jmp 0x100a89a4
xor eax, eax
test edi, edi
jbe 0x100a89a4
push ebp
mov ebp, dword [esp + 0xc8]
mov ecx, eax
mov edx, eax
shr ecx, 2
and edx, 3
lea esi, [esp + ecx*4 + 0x24]
mov ecx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0x100a8979
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x100a89ad
mov ecx, ebx
call fcn.100bb480
push 0x10
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.100bc500
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x100a89db
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.100bb480
push 0x10
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.100bc500
pop edi
pop esi
pop ebx
add esp, 0xb4
ret 8
Function at 0x100a8a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 5
call fcn.100bc4b0
lea ecx, [ebp + 0x60]
push 5
lea edx, [esp + 0x54]
call fcn.100bc4b0
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0x100a8ae2
mov esi, eax
lea eax, [esp + 0x50]
lea edx, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.100bb4b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x60]
call fcn.100bb4b0
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x100a8ad4
dec esi
jne 0x100a8aa6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x100a8af0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x100a8b2e
mov ecx, ebx
call fcn.100bc5e0
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100bd100
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100bd1b0
jmp 0x100a8b4a
test esi, esi
jbe 0x100a8b4a
mov ecx, esi
mov esi, dword [esp + 0x50]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x100a8b4c
mov ecx, ebx
call fcn.100bc5e0
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100bd100
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x100a8b73
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.100bc5e0
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100bd100
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100a9260
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
push edi
xor edi, edi
xor eax, eax
lea edx, [ebp + 0x100]
lea esi, [edi + ecx]
xor ebx, ebx
add edx, 4
mov bl, byte [esi + eax]
mov ebx, dword [ebx*4 + 0x100edac0]
xor dword [edx - 4], ebx
inc eax
cmp eax, 4
jb 0x100a9277
add edi, 4
cmp edi, 0x10
jb 0x100a926c
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100a99f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf4
push esi
add ecx, 0x194
push 0x20
push ecx
lea ecx, [esp + 0x30]
call fcn.100a8af0
mov eax, dword [esp + 0xfc]
push 4
lea edx, [esp + 8]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.100bd100
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.100a8bb0
xor eax, eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esp + edx + 8]
mov esi, ecx
mov ecx, edx
and ecx, 3
shl ecx, 3
shl esi, cl
xor eax, esi
inc edx
cmp edx, 0x20
jb 0x100a9a35
pop esi
add esp, 0xf4
ret 4
Function at 0x100aa570
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, ecx
test ebx, ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov esi, edx
mov dword [esp + 0x10], edi
lea ebp, [edi + ecx*4 + 8]
je 0x100aa5fe
cmp eax, 0x10
je 0x100aa5a6
mov dl, byte [eax + ebp]
mov cl, byte [esi]
xor cl, dl
inc eax
mov byte [esi], cl
inc esi
dec ebx
je 0x100aa5a6
cmp eax, 0x10
jne 0x100aa593
cmp ebx, 0x10
jb 0x100aa5cc
mov edi, ebx
mov edx, esi
shr edi, 4
push edi
lea ecx, [ebp + 0x10]
call dword [0x100efac8]
shl edi, 4
add esi, edi
sub ebx, edi
mov edi, dword [esp + 0x10]
mov eax, 0x10
test ebx, ebx
je 0x100aa5fc
mov ecx, ebp
xor eax, eax
push 1
mov edx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea ecx, [ebp + 0x10]
call dword [0x100efac8]
xor eax, eax
mov dl, byte [eax + ebp]
mov cl, byte [esi]
xor cl, dl
inc eax
mov byte [esi], cl
inc esi
dec ebx
jne 0x100aa5ee
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x100aa9c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa0
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x100aa9f1
lea ecx, [esp + 0x4c]
call fcn.100bb480
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.100bc230
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xb0]
call fcn.100bc3f0
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
Function at 0x100abdd0
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ecx
mov eax, ecx
push esi
xor esi, esi
mov dword [esp + 4], eax
mov dword [eax + 0x400], esi
xor edx, edx
add eax, 0x10
mov ecx, 0x1f83d9ab
lea ebx, [ebx]
mov dword [eax - 0x10], 0x6a09e667
mov dword [eax - 0xc], 0xbb67ae85
mov dword [eax - 8], 0x3c6ef372
mov dword [eax - 4], 0xa54ff53a
mov dword [eax], 0x510e527f
mov dword [eax + 4], 0x9b05688c
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x5be0cd19
xor dword [eax - 8], edx
xor dword [eax - 0x10], 0x2080020
xor dword [eax - 4], 0x20000000
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x60], esi
mov dword [eax + 0x64], esi
inc edx
sub eax, 0xffffff80
cmp edx, 8
jb 0x100abdf0
mov eax, dword [esp + 4]
mov dword [eax + 0x3f4], 0xffffffff
pop esi
pop ecx
ret

Function at 0x100ac3f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x100ac417
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx - 4]
add ebx, ebp
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x100ac43f
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x100ac43f
inc edx
cmp edx, ebx
jb 0x100ac430
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x100ac52b
cmp ecx, 2
jbe 0x100ac497
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x100ac51c
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x100ac4c0
add eax, ebp
jmp 0x100ac4c2
shr esi, cl
test esi, esi
je 0x100ac458
cmp esi, 4
ja 0x100ac4b5
cmp esi, 3
je 0x100ac4b5
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x100ac458
or esi, 8
shr esi, 1
inc edi
jmp 0x100ac426
sub eax, ebp
test esi, esi
je 0x100ac4f6
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x100ac4f0
mov ebx, pe_nt_image_headers32
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x100ac4ee
add eax, ebp
jmp 0x100ac4f0
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x100ac426
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x100ac426
pop ebx
cmp ecx, 2
jbe 0x100ac544
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
Function at 0x100ad1e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x134
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100ad207
cmp dword [esp + 0x24], 5
sbb eax, eax
inc eax
jne 0x100ad210
xor eax, eax
add esp, 0x134
ret
lea ecx, [esp]
call fcn.100ad040
test eax, eax
je 0x100ad207
mov eax, dword [esp + 0x18]
shr eax, 0x19
and eax, 1
add esp, 0x134
ret

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

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x1f], dl
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0x48], 4
mov word [ecx + 0x1d], 1
lea esi, [ecx + 0x60]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100ad8e3
pop esi
ret