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

Disassembly:
mov eax, 0x100d627d
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100e0910
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 5
call fcn.1000250f
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 6
call fcn.100369a3
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100e1d6c
mov dword [esi + 4], 0x100e1d50
mov dword [esi + 8], 0x100e1d40
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1006ef91
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d6343
call fcn.100cece0
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 + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov al, byte [edi + 8]
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.10001da4
mov eax, dword [edi + 0x1c]
and dword [ebp - 4], 0
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
lea eax, [edi + 0x34]
push eax
lea ecx, [esi + 0x34]
call fcn.1001699c
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100746f9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, ecx
test esi, esi
mov ecx, edx
jbe 0x10074728
push ebx
push edi
movzx edi, byte [ecx]
xor edx, edx
xor ebx, ebx
mov dl, ah
mov bh, al
xor edx, edi
movzx eax, bx
movzx edx, word [edx*2 + 0x100f7900]
xor eax, edx
inc ecx
dec esi
jne 0x10074708
pop edi
pop ebx
pop esi
ret 4
Function at 0x100763b9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d6ab2
call fcn.100cece0
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax]
push edi
mov dword [ebx], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x10], ecx
mov ecx, dword [eax + 0x14]
lea esi, [eax + 0x18]
lea edi, [ebx + 0x18]
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x10], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x24]
lea edi, [ebx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x30]
add eax, 0x34
mov byte [ebx + 0x30], cl
push eax
lea ecx, [ebx + 0x34]
call fcn.1001699c
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebx + 0x3c]
lea eax, [esi + 0x3c]
push eax
call fcn.100764e4
add esi, 0x48
lea ecx, [ebx + 0x48]
push esi
mov byte [ebp - 4], 1
call fcn.10076529
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1007d648
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x100d7029
call fcn.100cece0
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 + 0x40]
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 + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [edi + 0x40]
push eax
call fcn.100025c2
and dword [ebp - 4], 0
lea eax, [edi + 0x4c]
push eax
lea ecx, [esi + 0x4c]
call fcn.100025c2
mov eax, dword [edi + 0x58]
lea ecx, [esi + 0x64]
mov dword [esi + 0x58], eax
mov al, byte [edi + 0x5c]
mov byte [esi + 0x5c], al
mov al, byte [edi + 0x5d]
mov byte [esi + 0x5d], al
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
lea eax, [edi + 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.1007d9f9
add edi, 0x70
lea ecx, [esi + 0x70]
push edi
mov byte [ebp - 4], 2
call fcn.1001699c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1007f727
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d7204
call fcn.100cece0
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.1007f8eb
xor edi, edi
cmp eax, edi
jne 0x1007f8da
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007f76b
push 1
pop eax
jmp 0x1007f76d
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.100786d5
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007f8bf
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 0x1007f892
cmp word [eax + 0x20], 1
jne 0x1007f892
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.10080f40
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.1007fadb
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.1007e9a8
test eax, eax
jne 0x1007f8aa
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 0x1007f826
cmp byte [ebx + 0x2c], 0
je 0x1007f8c5
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007f8c5
inc eax
cmp eax, 0x14
jb 0x1007f816
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007f83e
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.10080ecb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.1007f227
test eax, eax
jne 0x1007f8aa
cmp byte [ebp + 0x17], al
je 0x1007f892
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007f8a6
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007f8a6
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007f892
cmp dword [eax + 0x24], 1
jne 0x1007f892
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007f88a
test al, al
je 0x1007f8c5
test al, al
je 0x1007f892
test cl, cl
je 0x1007f8ae
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007f8bf
jmp 0x1007f792
xor cl, cl
jmp 0x1007f86a
mov esi, eax
jmp 0x1007f8cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
push 1
pop eax
jmp 0x1007f8da
cmp byte [ebp + 0x17], 0
je 0x1007f8ca
push 1
pop esi
jmp 0x1007f8cc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
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.10002e65
and dword [ebp - 4], 0
lea edx, [esi + 0x14]
mov ecx, eax
call fcn.10003c71
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.10002e65
lea edx, [esi + 0x20]
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.10080a5b
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.10002e65
lea edx, [esi + 0x28]
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.10080a5b
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.10002d91
lea edx, [esi + 0x30]
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.10080ab0
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 0x1008dae6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
mov al, byte [edi + 2]
mov word [esi], bx
cmp byte [edi + 1], bl
mov byte [ebp + 0xf], al
je 0x1008db78
lea eax, [edi + 0x20]
lea ecx, [esi + 0x24]
push eax
call fcn.10001e61
lea eax, [edi + 0x2c]
lea ecx, [esi + 0x60]
push eax
call fcn.1002d18a
cmp byte [edi + 4], bl
je 0x1008db34
or byte [esi + 1], 8
jmp 0x1008db39
and word [esi], 0xf7ff
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x84], eax
mov al, byte [edi + 3]
mov byte [esi + 0x88], al
cmp byte [ebp + 0xf], bl
mov byte [esi + 0x41], bl
mov byte [esi + 0x40], 0x3f
mov byte [esi + 5], bl
mov word [esi + 0x42], bx
jne 0x1008db98
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], bl
je 0x1008db98
or byte [esi], 1
jmp 0x1008db9d
and word [esi], 0xfffe
cmp byte [ebp + 8], bl
je 0x1008dba7
or byte [esi], 8
jmp 0x1008dbac
and word [esi], 0xfff7
cmp byte [ebp + 0xf], bl
je 0x1008dbc8
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov byte [esi + 4], 0x14
mov word [esi + 2], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.1008a6b4
mov byte [edi + 0xe], bl
lea edi, [esi + 0x50]
mov ecx, edi
call fcn.1008a6b4
cmp byte [ebp + 0xf], bl
mov byte [edi + 0xe], bl
je 0x1008dc00
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov byte [esi + 4], 0x14
mov word [esi + 2], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
jmp 0x1008dc2c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], bl
je 0x1008dc2c
cmp byte [eax + 0x58], bl
je 0x1008dc2c
cmp dword [eax + 0x64], ebx
jne 0x1008dc17
push 8
pop ecx
jmp 0x1008dc1d
mov ecx, dword [eax + 0x60]
movzx ecx, byte [ecx]
mov dl, byte [eax + 0x59]
movzx cx, cl
push ecx
mov ecx, esi
call fcn.1008dc33
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10091d69
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 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 0x100a76d8
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 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 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
Function at 0x100bdf90
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 0x100be015
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.100bdf10
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x20]
push eax
push ecx
lea ebx, [ebp + 0x10]
call fcn.100bdf10
add esi, 0x440
add ebp, 0x20
dec dword [esp + 0x14]
jne 0x100bdfe0
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp esi, 0x10
jbe 0x100be0e7
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 0x100be054
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 0x100be060
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 0x100be050
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebp, dword [ecx]
lea ebp, [ebp*4 - 0x40]
cmp eax, 1
jbe 0x100be0e7
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 0x100be0d3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x100c1f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100c1fcb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100c200c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100c1ff1
mov ecx, ebx
call fcn.100c1c50
add ebx, 0x28
dec ebp
jne 0x100c1fe5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100c2007
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100c1b20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100c20b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x20]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x1c]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
push ebp
call fcn.100c2100
mov ebx, eax
cmp ebx, edi
je 0x100c2084
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100c20e0
cmp ebx, edi
jle 0x100c207f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100c2084
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100c2096
cmp dword [esi + 0x40], edi
jne 0x100c2096
cmp dword [esi + 0x3c], edi
jne 0x100c2096
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret