joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008ff04
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100eca2d
call fcn.100e0f70
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x38]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
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
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
lea eax, [edi + 0x38]
push eax
call fcn.10002692
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
push eax
lea ecx, [esi + 0x44]
call fcn.10002692
mov eax, dword [edi + 0x50]
lea ecx, [esi + 0x60]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov al, byte [edi + 0x58]
mov byte [esi + 0x58], al
mov al, byte [edi + 0x59]
mov byte [esi + 0x59], al
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
lea eax, [edi + 0x60]
push eax
mov byte [ebp - 4], 1
call fcn.10090228
add edi, 0x6c
lea ecx, [esi + 0x6c]
push edi
mov byte [ebp - 4], 2
call fcn.1001449e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100932af
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
mov eax, 0x100ecc3c
call fcn.100e0f70
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.10093434
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.10093434
mov byte [esi + 1], al
lea eax, [ebp - 0x18]
push str.NAME
push eax
mov ecx, edi
mov byte [esi + 2], 1
call fcn.10003011
and dword [ebp - 4], 0
lea edx, [esi + 0x14]
mov ecx, eax
call fcn.100042b1
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100035f8
lea eax, [ebp - 0x18]
mov dword [esp], str.DIRCOUNT
push eax
mov ecx, edi
call fcn.10003011
lea edx, [esi + 0x20]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100933b1
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100035f8
lea eax, [ebp - 0x18]
mov dword [esp], str.FILECOUNT
push eax
mov ecx, edi
call fcn.10003011
lea edx, [esi + 0x28]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.100933b1
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100035f8
lea eax, [ebp - 0x24]
mov dword [esp], str.INDEX
push eax
mov ecx, edi
call fcn.10002f3d
lea edx, [esi + 0x30]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.10093406
push dword [ebp - 0x24]
mov byte [esi + 3], al
call fcn.100035f8
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1009387b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100ecca7
call fcn.100e0f70
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.100025df
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 0x100980f5
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

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

Disassembly:
mov eax, 0x100ed72c
call fcn.100e0f70
sub esp, 0x14
mov ax, word [ebp + 8]
push esi
mov esi, ecx
mov word [ebp - 0x10], ax
xor eax, eax
push edi
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.100a0f2d
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.1000de9b
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.1009837e
add esi, 0x50
mov ecx, esi
call fcn.1000de9b
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.1009837e
push dword [ebp - 0x1c]
call fcn.100035f8
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100a2134
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100ed89f
call fcn.100e0f70
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.10093c39
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
or dword [esi + 0x128], 0xffffffff
or dword [esi + 0x12c], 0xffffffff
mov byte [esi + 0x118], 1
mov byte [esi + 0x119], bl
mov byte [esi + 0x11a], bl
mov byte [esi + 0x11b], bl
mov dword [esi + 0x120], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x100a7ea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.100a7550
push 0x41
mov ecx, esi
call fcn.100a7550
push 0x59
mov ecx, esi
call fcn.100a7550
push 0x26
mov ecx, esi
call fcn.100a7550
push 0x53
mov ecx, esi
call fcn.100a7550
push 0x59
mov ecx, esi
call fcn.100a7550
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 0x100a7f30
test cl, cl
jbe 0x100a7f2c
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 + 0x1011005c]
xor eax, edi
dec ecx
jne 0x100a7f16
xor edi, edi
jmp 0x100a7f5f
cmp bl, cl
jne 0x100a7f37
inc edi
jmp 0x100a7f42
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 + 0x1011005c]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x100a7eee
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.100a7590
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.100a76b0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x100a8170
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 + 0x8cdc]
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.100a7fa0
mov ecx, dword [esi + 0x8cdc]
cmp byte [ecx + 0x1a8], bl
je 0x100a81ec
mov eax, dword [esi + 0x8cf0]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x184]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cec]
call fcn.100d91c0
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x100a8229
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8cdc]
add edi, 4
add eax, 0x180
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 0x100a81fe
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 + 0x8cdc]
push edx
call fcn.100a8300
mov edi, dword [esi + 0x8cdc]
cmp byte [edi + 0x1a8], bl
je 0x100a82e9
mov ebp, dword [esi + 0x8cf0]
mov eax, dword [edi + 0x1a4]
inc ebp
cmp ebp, eax
jne 0x100a8274
xor ebp, ebp
cmp dword [edi + 0x1bc], ebx
je 0x100a82c5
lea ecx, [edi + 0x148]
call fcn.1000a509
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 + 0x8cdc]
mov eax, dword [edx + 0x1bc]
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 + 0x8cdc]
lea ecx, [ebp + ebp*8]
shl ecx, 3
mov edx, dword [eax + 0x184]
sub ecx, ebp
shl ecx, 9
lea ecx, [edx + ecx + 0x8cec]
call fcn.100d92e0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x100bdac0
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 0x100bdaed
xor cl, byte [eax + edi]
inc eax
cmp eax, edx
jb 0x100bdae1
test cl, cl
jne 0x100bdb07
test edx, edx
je 0x100bdb07
mov bl, 1
mov ecx, edi
mov byte [esi + 4], bl
call fcn.100bdb10
test eax, eax
mov dword [esi], eax
jge 0x100bdb07
mov byte [esi + 4], 0
pop edi
mov al, bl
pop esi
pop ebx
ret 8
Function at 0x100c4380
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 0x100c43be
mov ecx, ebx
call fcn.100dfdb0
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100e04b0
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100e0540
jmp 0x100c43d6
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]
lea eax, [esp + 0xc]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x100c43df
mov ecx, ebx
call fcn.100dfdb0
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100e04b0
lea eax, [esp + 0xc]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x100c440d
lea esi, [ebx + 0x80]
mov ecx, esi
call fcn.100dfdb0
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100e04b0
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100c4480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x14
lea edx, [esp + 0x18]
call fcn.100e0620
lea ecx, [edi + 0x80]
push 0x14
lea edx, [esp + 0x98]
call fcn.100e0620
mov esi, dword [esp + 0xd8]
mov eax, dword [esi + 8]
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xdc]
test eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
jbe 0x100c455a
mov dword [esp + 0x10], eax
lea eax, [esp + 0x94]
lea edx, [esp + 0x14]
push eax
mov ecx, edi
call fcn.100e0680
lea ecx, [esp + 0x14]
lea edx, [esp + 0x94]
push ecx
lea ecx, [edi + 0x80]
call fcn.100e0680
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
xor ebx, edx
mov edx, dword [esp + 0x1c]
xor ebp, ecx
mov ecx, dword [esp + 0x60]
xor eax, edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
xor ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x24]
xor edx, ecx
dec eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x10], eax
jne 0x100c44ef
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 8
Function at 0x100c4590
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 0x100c45ce
mov ecx, ebx
call fcn.100e07d0
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100e04b0
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100e0df0
jmp 0x100c45e6
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]
lea eax, [esp + 0xc]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x100c45ef
mov ecx, ebx
call fcn.100e07d0
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100e04b0
lea eax, [esp + 0xc]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x100c461d
lea esi, [ebx + 0x80]
mov ecx, esi
call fcn.100e07d0
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100e04b0
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100c4ce0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.100e07d0
mov ebp, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.100e04b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.100e04b0
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100c4d7b
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100c4d74
lea ecx, [esp + 0x9c]
push 0x20
push ecx
call eax
test al, al
je 0x100c4d74
push 0x20
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x20]
mov ebp, 0x64
call fcn.100e04b0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100c4d9f
push 8
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.100e04b0
call ebx
push 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.100e04b0
mov edi, 0x64
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.100e0df0
lea ecx, [esp + 0x1c]
call fcn.100e07d0
push 0x20
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.100e04b0
dec edi
jne 0x100c4db9
dec ebp
jne 0x100c4d81
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.100e0df0
mov byte [esi + 0x20], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
Function at 0x100c4f60
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 + 0x10115a20]
xor dword [edx - 4], ebx
inc eax
cmp eax, 4
jb 0x100c4f77
add edi, 4
cmp edi, 0x10
jb 0x100c4f6c
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100c5770
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x124
push esi
add ecx, 0x80
push 0x20
push ecx
lea ecx, [esp + 0x30]
call fcn.100c4590
mov eax, dword [esp + 0x12c]
push 4
lea edx, [esp + 8]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.100e04b0
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.100c4660
xor eax, eax
lea ecx, [esp + 8]
mov edx, 8
mov esi, dword [ecx]
add ecx, 4
xor eax, esi
dec edx
jne 0x100c57bc
pop esi
add esp, 0x124
ret 4
Function at 0x100c6750
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xc0
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 0x100c6781
lea ecx, [esp + 0x4c]
call fcn.100dfdb0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.100e04b0
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xd0]
call fcn.100e0540
pop edi
pop esi
pop ebx
add esp, 0xc0
ret 4
Function at 0x100c8050
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 0x100c8070
mov eax, dword [esp + 4]
mov dword [eax + 0x3f4], 0xffffffff
pop esi
pop ecx
ret
Function at 0x100cfea0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or edx, 0x100
push ebx
lea esp, [esp]
mov ecx, edx
and ecx, 1
shr edx, 1
movzx ebx, word [edi + edx*2]
neg ecx
shr ecx, 4
shr ebx, 4
and ecx, 0x7f
xor ebx, ecx
add eax, dword [esi + ebx*4]
cmp edx, 2
jae 0x100cfeb0
pop ebx
ret

Function at 0x100cfee0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x100cfef0
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100d01f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push esi
mov esi, edx
shr esi, 1
mov ebp, esi
and ebp, 1
mov eax, edx
shr eax, 2
movzx ecx, word [ebx + eax*2 + 4]
neg ebp
shr ebp, 4
neg eax
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
movzx ebp, word [ebx + 2]
mov ecx, dword [edi + ecx*4]
and eax, 0x7f0
xor eax, ebp
shr eax, 4
add ecx, dword [edi + eax*4]
movzx eax, word [ebx + esi*2 + 8]
add ecx, dword [esp + 0xc]
mov esi, eax
shr esi, 4
mov ebp, dword [edi + esi*4]
mov esi, dword [esp + 0x10]
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
mov dword [esi + edx*4], ebp
mov eax, dword [edi + eax*4]
add eax, ecx
mov dword [esi + edx*4 + 4], eax
add edx, 2
cmp edx, 8
jb 0x100d01f4
pop esi
pop ebp
ret 8
Function at 0x100d0270
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, eax
movzx eax, word [ebp]
mov ecx, eax
xor ecx, 0x7f0
shr ecx, 4
mov edx, dword [edi + ecx*4]
movzx ecx, word [ebp + 0x10]
shr eax, 4
mov eax, dword [edi + eax*4]
mov dword [esp + 0x18], eax
shr ecx, 4
mov eax, dword [edi + ecx*4]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
test eax, eax
je 0x100d02f5
mov esi, dword [esp + 0x24]
add esi, 4
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
push esi
push edx
mov ebx, ebp
call fcn.100d01f0
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x20]
push eax
push ecx
lea ebx, [ebp + 0x10]
call fcn.100d01f0
add esi, 0x440
add ebp, 0x20
dec dword [esp + 0x14]
jne 0x100d02c0
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp esi, 0x10
jbe 0x100d03c7
movzx ecx, word [ebp + 0x10]
xor ecx, 0x7f0
add esi, 0xfffffff1
shr esi, 1
shr ecx, 4
add edx, dword [edi + ecx*4]
lea eax, [ebp + esi*2 + 0x300]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
jmp 0x100d0334
mov edx, dword [esp + 0x10]
dec esi
sub dword [esp + 0x2c], 2
lea ecx, [esi + 0x80]
mov eax, ecx
and eax, 1
shr ecx, 1
movzx ebx, word [ebp + ecx*2 + 0x200]
neg eax
shr eax, 4
shr ebx, 4
and eax, 0x7f
xor ebx, eax
add edx, dword [edi + ebx*4]
cmp ecx, 2
jae 0x100d0340
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx]
mov ebx, dword [esp + 0x24]
mov ecx, eax
shr ecx, 4
mov ecx, dword [edi + ecx*4]
xor eax, 0x7f0
add ebx, 0x44
add ecx, edx
shr eax, 4
mov dword [ebx + esi*8], ecx
mov eax, dword [edi + eax*4]
add eax, edx
mov dword [ebx + esi*8 + 4], eax
test esi, esi
jne 0x100d0330
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebp, dword [ecx]
lea ebp, [ebp*4 - 0x40]
cmp eax, 1
jbe 0x100d03c7
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
push ebp
push ebx
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add esi, 0x440
dec edi
jne 0x100d03b3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc