joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008095a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov eax, 0x100d729c
call fcn.100cece0
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.CREATIONTIME
mov ecx, edi
lea edx, [esi + 4]
call fcn.10080ade
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.10080ade
mov byte [esi + 1], al
lea eax, [ebp - 0x18]
push str.NAME
push eax
mov ecx, edi
call fcn.100137a8
and dword [ebp - 4], 0
lea edx, [esi + 0x14]
mov ecx, eax
call fcn.100137a8
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov byte [esi + 2], al
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.DIRCOUNT
push eax
mov ecx, edi
call fcn.100137a8
lea edx, [esi + 0x20]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100137a8
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x18]
mov dword [esp], str.FILECOUNT
push eax
mov ecx, edi
call fcn.100137a8
lea edx, [esi + 0x28]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.100137a8
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100034b3
lea eax, [ebp - 0x24]
mov dword [esp], str.INDEX
push eax
mov ecx, edi
call fcn.100137a8
lea edx, [esi + 0x30]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.100137a8
push dword [ebp - 0x24]
mov byte [esi + 3], al
call fcn.100034b3
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10080f88
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d731b
call fcn.100cece0
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.1000250f
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 0x100851fe
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x100d78af
call fcn.100cece0
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.10001da4
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
call fcn.10085281
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1008dc33
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x100d7e48
call fcn.100cece0
sub esp, 0x14
mov ax, word [ebp + 8]
push esi
mov esi, ecx
mov word [ebp - 0x10], ax
xor eax, eax
mov word [ebp - 0x14], 2
mov byte [ebp - 0x12], dl
mov word [esi + 2], 0x63
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.1008dca4
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x30]
push eax
call fcn.1008a65d
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x50]
push eax
call fcn.1008a65d
push dword [ebp - 0x1c]
call fcn.100034b3
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

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

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x1c], 0xffffffff
mov edx, dword [esi + 0x78]
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov ecx, dword [eax]
add edx, 0x400
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10091b00
mov eax, dword [esi + 0x24]
mov ebp, dword [esi + 0x20]
mov edi, 0x100000
add ebp, eax
sub edi, eax
mov al, byte [esi + 0x43]
cmp al, bl
je 0x10091dd9
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
sub eax, ecx
mov ecx, dword [esi + 0x4c]
sbb ecx, edx
xor edx, edx
cmp edx, ecx
jb 0x10091dd9
ja 0x10091dd3
cmp edi, eax
jb 0x10091dd9
cmp eax, ebx
mov edi, eax
je 0x10091e1b
push edi
push ebp
lea ecx, [esp + 0x18]
call fcn.10091b50
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x24]
sub eax, ebp
add ecx, eax
mov dword [esi + 0x50], ecx
mov ebp, dword [esi + 0x54]
adc ebp, ebx
add edx, eax
cmp eax, edi
mov dword [esi + 0x54], ebp
mov dword [esi + 0x24], edx
jb 0x10091e0d
mov ecx, esi
call fcn.10091d20
cmp eax, ebx
jne 0x10091e3e
cmp dword [esp + 0x18], ebx
jg 0x10091da1
cmp dword [esp + 0x20], ebx
je 0x10091e2f
jmp 0x10091da1
mov cl, byte [esi + 0x42]
xor eax, eax
pop edi
cmp cl, bl
pop esi
pop ebp
setne al
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x40], 1
not eax
mov dword [esi + 0x3c], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x10094570
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.10093c20
push 0x41
mov ecx, esi
call fcn.10093c20
push 0x59
mov ecx, esi
call fcn.10093c20
push 0x26
mov ecx, esi
call fcn.10093c20
push 0x53
mov ecx, esi
call fcn.10093c20
push 0x59
mov ecx, esi
call fcn.10093c20
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 0x10094600
test cl, cl
jbe 0x100945fc
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 + 0x100f7c04]
xor eax, edi
dec ecx
jne 0x100945e6
xor edi, edi
jmp 0x1009462f
cmp bl, cl
jne 0x10094607
inc edi
jmp 0x10094612
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 + 0x100f7c04]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x100945be
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.10093c60
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.10093d80
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x10094840
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.10094670
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x100948bc
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.100c8660
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x100948f9
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 0x100948ce
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.100949d0
mov edi, dword [esi + 0x8ce0]
cmp byte [edi + 0x1a0], bl
je 0x100949b9
mov ebp, dword [esi + 0x8cd8]
mov eax, dword [edi + 0x19c]
inc ebp
cmp ebp, eax
jne 0x10094944
xor ebp, ebp
cmp dword [edi + 0x1b4], ebx
je 0x10094995
lea ecx, [edi + 0x148]
call fcn.10009096
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.100c86b0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x100a7440
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 0x100a7488
cmp ecx, 0x8000
jae 0x100a74d2
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 0x100a74a0
call fcn.10006865
mov byte [esp + 8], al
jmp 0x100a74a9
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 0x100a7463
pop esi
ret 4

Function at 0x100a76c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d884c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x100e3cdc
mov dword [esi + 4], 0x100e3ccc
mov dword [esp + 0x14], 4
call fcn.100a7b40
mov ecx, dword [esi + 0x1c1c]
call fcn.100b3420
mov ecx, dword [esi + 0x60]
call fcn.100b3420
mov edx, 0x100e415c
lea ecx, [esi + 0x1c80]
call fcn.100c2de0
mov eax, dword [esi + 0x1c5c]
push eax
call fcn.100034b3
mov eax, dword [esi + 0x1c50]
push eax
call fcn.100034b3
add esp, 8
lea ecx, [esi + 0x1c24]
mov byte [esp + 0x14], 1
call fcn.100aa0d0
lea ecx, [esi + 0x30]
call fcn.100067a6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100aa250
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 0x100aa27d
xor cl, byte [eax + edi]
inc eax
cmp eax, edx
jb 0x100aa271
test cl, cl
jne 0x100aa297
test edx, edx
je 0x100aa297
mov bl, 1
mov ecx, edi
mov byte [esi + 4], bl
call fcn.100aa2a0
test eax, eax
mov dword [esi], eax
jge 0x100aa297
mov byte [esi + 4], 0
pop edi
mov al, bl
pop esi
pop ebx
ret 8
Function at 0x100b09e0
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 0x100b0a1e
mov ecx, ebx
call fcn.100c6780
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100c7530
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100c76f0
jmp 0x100b0a3a
test esi, esi
jbe 0x100b0a3a
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 0x100b0a3c
mov ecx, ebx
call fcn.100c6780
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100c7530
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x100b0a63
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.100c6780
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100c7530
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100b0b00
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 0x100b0b7b
lea ecx, [esp + 0x60]
call fcn.100c6780
mov edx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x64]
call fcn.100c7530
lea edx, [esp + 0xc]
lea ecx, [esp + 0x60]
call fcn.100c76f0
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 0x100b0b4d
jmp 0x100b0bb4
xor eax, eax
test edi, edi
jbe 0x100b0bb4
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 0x100b0b89
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 0x100b0bbd
mov ecx, ebx
call fcn.100c6780
push 0x10
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.100c7800
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 0x100b0beb
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.100c6780
push 0x10
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.100c7800
pop edi
pop esi
pop ebx
add esp, 0xb4
ret 8
Function at 0x100b0c70
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.100c77b0
lea ecx, [ebp + 0x60]
push 5
lea edx, [esp + 0x54]
call fcn.100c77b0
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 0x100b0cf2
mov esi, eax
lea eax, [esp + 0x50]
lea edx, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.100c67b0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x60]
call fcn.100c67b0
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 0x100b0ce4
dec esi
jne 0x100b0cb6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x100b0d00
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 0x100b0d3e
mov ecx, ebx
call fcn.100c78e0
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100c8400
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100c84b0
jmp 0x100b0d5a
test esi, esi
jbe 0x100b0d5a
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 0x100b0d5c
mov ecx, ebx
call fcn.100c78e0
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100c8400
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x100b0d83
lea esi, [ebx + 0x68]
mov ecx, esi
call fcn.100c78e0
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100c8400
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100b14a0
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 + 0x100fd6a0]
xor dword [edx - 4], ebx
inc eax
cmp eax, 4
jb 0x100b14b7
add edi, 4
cmp edi, 0x10
jb 0x100b14ac
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100b1c80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf4
push esi
add ecx, 0x194
push 0x20
push ecx
lea ecx, [esp + 0x30]
call fcn.100b0d00
mov eax, dword [esp + 0xfc]
push 4
lea edx, [esp + 8]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.100c8400
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.100b0dc0
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 0x100b1cc5
pop esi
add esp, 0xf4
ret 4
Function at 0x100b2840
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 0x100b28ce
cmp eax, 0x10
je 0x100b2876
mov dl, byte [eax + ebp]
mov cl, byte [esi]
xor cl, dl
inc eax
mov byte [esi], cl
inc esi
dec ebx
je 0x100b2876
cmp eax, 0x10
jne 0x100b2863
cmp ebx, 0x10
jb 0x100b289c
mov edi, ebx
mov edx, esi
shr edi, 4
push edi
lea ecx, [ebp + 0x10]
call dword [0x100ff6a8]
shl edi, 4
add esi, edi
sub ebx, edi
mov edi, dword [esp + 0x10]
mov eax, 0x10
test ebx, ebx
je 0x100b28cc
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 [0x100ff6a8]
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 0x100b28be
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x100b2ca0
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 0x100b2cd1
lea ecx, [esp + 0x4c]
call fcn.100c6780
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.100c7530
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xb0]
call fcn.100c76f0
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
Function at 0x100b41d0
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 0x100b41f0
mov eax, dword [esp + 4]
mov dword [eax + 0x3f4], 0xffffffff
pop esi
pop ecx
ret

Function at 0x100b4790
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 0x100b47b7
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 0x100b47df
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x100b47df
inc edx
cmp edx, ebx
jb 0x100b47d0
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x100b48cb
cmp ecx, 2
jbe 0x100b4837
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x100b48bc
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 0x100b4860
add eax, ebp
jmp 0x100b4862
shr esi, cl
test esi, esi
je 0x100b47f8
cmp esi, 4
ja 0x100b4855
cmp esi, 3
je 0x100b4855
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x100b47f8
or esi, 8
shr esi, 1
inc edi
jmp 0x100b47c6
sub eax, ebp
test esi, esi
je 0x100b4896
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x100b4890
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x100b488e
add eax, ebp
jmp 0x100b4890
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 0x100b47c6
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x100b47c6
pop ebx
cmp ecx, 2
jbe 0x100b48e4
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 0x100b5460
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 0x100b5487
cmp dword [esp + 0x24], 5
sbb eax, eax
inc eax
jne 0x100b5490
xor eax, eax
add esp, 0x134
ret
lea ecx, [esp]
call fcn.100b52c0
test eax, eax
je 0x100b5487
mov eax, dword [esp + 0x18]
shr eax, 0x19
and eax, 1
add esp, 0x134
ret

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

Disassembly:
xor edx, edx
or eax, 0xffffffff
push esi
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x1f], dl
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x468], eax
mov dword [ecx + 0x46c], eax
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
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100b5b72
pop esi
ret