joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb8bb90
Capabilities:
Terminate process

Disassembly:
push 0x418f08
call fcn.00b8d238
push 0x418dd0
call fcn.00b8d238
add esp, 8
push 1
call fcn.00b8d6c2
nop
nop

Function at 0xb92f86
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0xb92fb4
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0xb92fbb
cmp ebx, dword [eax + 4]
jae 0xb92fbb
xor eax, eax
jmp 0xb931ab
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0xb92fcc
xor eax, eax
inc eax
jmp 0xb931aa
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0xb92fe2
cmp ecx, edx
jae 0xb93127
cmp dword [eax + 4], 0
je 0xb92feb
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0xb92fd3
cmp dword [ebp + 8], 0
je 0xb9300d
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0xb93127
cmp eax, esi
jae 0xb93127
mov eax, dword [0x41a9c8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0xb93032
cmp dword [esi*4 + 0x41a9d0], edi
je 0xb9312b
inc esi
cmp esi, eax
jl 0xb93020
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x410038]
test eax, eax
je 0xb931a7
cmp dword [ebp - 8], 0x1000000
jne 0xb931a7
test byte [ebp - 0xc], 0xcc
je 0xb930b0
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0xb931a7
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0xb931a7
cmp word [eax + 0x18], 0x10b
jne 0xb931a7
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0xb931a7
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0xb930b0
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0xb930b0
test byte [ecx + 0x27], 0x80
jne 0xb93127
push 1
push 0x41aa10
call dword [0x41001c]
test eax, eax
jne 0xb92fc4
mov ecx, dword [0x41a9c8]
test ecx, ecx
mov edx, ecx
jle 0xb930e4
lea eax, [ecx*4 + 0x41a9cc]
cmp dword [eax], edi
je 0xb930e4
dec edx
sub eax, 4
test edx, edx
jg 0xb930d8
test edx, edx
jne 0xb93115
push 0xf
pop ebx
cmp ecx, ebx
jg 0xb930f1
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0xb93109
lea eax, [edx*4 + 0x41a9d0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0xb930f7
cmp ecx, 0x10
jge 0xb93115
inc ecx
mov dword [0x41a9c8], ecx
push 0
push 0x41aa10
call dword [0x41001c]
jmp 0xb92fc4
xor eax, eax
jmp 0xb931aa
test esi, esi
jle 0xb92fc4
mov ebx, dword [0x41001c]
push 1
push 0x41aa10
call ebx
test eax, eax
jne 0xb92fc4
cmp dword [esi*4 + 0x41a9d0], edi
je 0xb93181
mov eax, dword [0x41a9c8]
lea esi, [eax - 1]
test esi, esi
jl 0xb9316f
cmp dword [esi*4 + 0x41a9d0], edi
je 0xb9316b
dec esi
jns 0xb9315f
test esi, esi
jge 0xb9317f
cmp eax, 0x10
jge 0xb9317a
inc eax
mov dword [0x41a9c8], eax
lea esi, [eax - 1]
jmp 0xb93181
je 0xb93199
xor ecx, ecx
test esi, esi
jl 0xb93199
lea eax, [ecx*4 + 0x41a9d0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0xb93187
push 0
push 0x41aa10
call ebx
jmp 0xb92fc4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0xbeef96
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1009bbb4
call fcn.00c7fda4
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00be76ae
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00be76ae
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
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 al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov al, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov al, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ax, word [edi + 0x32]
mov word [esi + 0x32], ax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0xbf18eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
cmp dword [esi + 0x68], ebx
lea edi, [esi + 0x68]
jne 0xbf1927
push 0x18
call fcn.00be7c33
cmp eax, ebx
pop ecx
je 0xbf191a
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], 0x100a5868
jmp 0xbf191c
xor eax, eax
push eax
mov ecx, edi
mov dword [esi + 0x64], eax
call fcn.00c1a3be
cmp dword [esi + 0x70], ebx
lea edi, [esi + 0x70]
jne 0xbf1956
push 0x20
call fcn.00be7c33
cmp eax, ebx
pop ecx
je 0xbf1949
mov dword [eax + 4], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax], 0x100a5854
jmp 0xbf194b
xor eax, eax
push eax
mov ecx, edi
mov dword [esi + 0x6c], eax
call fcn.00c1a3be
cmp dword [esi + 0x78], ebx
lea edi, [esi + 0x78]
jne 0xbf1982
push 0x14
call fcn.00be7c33
cmp eax, ebx
pop ecx
je 0xbf1975
mov dword [eax + 4], ebx
mov dword [eax], 0x100a5844
jmp 0xbf1977
xor eax, eax
push eax
mov ecx, edi
mov dword [esi + 0x74], eax
call fcn.00c1a3be
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 8]
mov edi, dword [esi + 0x7c]
mov dl, byte [esi + 0x3c]
lea eax, [eax + ecx*4]
add eax, edi
or ecx, dword [ebp + 0xc]
jne 0xbf19a3
mov ecx, dword [esi + 0x80]
lea edi, [edi + ecx*4]
jmp 0xbf19c6
cmp dl, bl
je 0xbf19c3
movzx edi, byte [eax - 2]
xor ecx, ecx
mov ch, byte [eax - 4]
mov cl, byte [eax - 3]
shl ecx, 8
or ecx, edi
movzx edi, byte [eax - 1]
shl ecx, 8
or edi, ecx
jmp 0xbf19c6
mov edi, dword [eax - 4]
cmp dl, bl
je 0xbf19e5
movzx edx, byte [eax + 2]
xor ecx, ecx
mov ch, byte [eax]
mov cl, byte [eax + 1]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or eax, ecx
jmp 0xbf19e7
mov eax, dword [eax]
cmp eax, edi
jb 0xbf1a68
cmp eax, dword [esi + 0x28]
ja 0xbf1a68
mov ecx, dword [esi + 0x24]
sub eax, edi
mov edx, eax
mov eax, dword [esi + 0x6c]
add ecx, edi
push ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
lea ecx, [eax + 0x1c]
mov dword [ebp + 0xc], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], ebx
call fcn.00c1a3be
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp + 0x10]
push ebx
push ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x70]
push ebx
mov edi, dword [eax]
push ecx
push edx
push eax
call dword [edi + 0xc]
cmp eax, ebx
jne 0xbf1a6b
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x10]
call fcn.00bf1aa5
add eax, 2
adc edx, ebx
xor ecx, ecx
cmp eax, dword [ebp + 0xc]
jne 0xbf1a68
cmp edx, ecx
jne 0xbf1a68
mov eax, dword [esi + 0x74]
mov ecx, dword [ebp + 0x14]
cmp dword [eax + 0x10], ecx
jne 0xbf1a68
xor eax, eax
jmp 0xbf1a6b
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0xbf23b1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1009bf1e
call fcn.00c7fda4
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x100a5644
mov dword [esi + 4], 0x100a55b4
mov dword [esi + 8], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 8
mov dword [esi + 0xc], 0x100a58f4
mov dword [ebp - 4], edi
mov dword [esi + 0x20], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], edi
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00be7a40
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi], 0x100a58c0
mov dword [esi + 4], 0x100a58b0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0xbf5c47
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1009c40b
call fcn.00c7fda4
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x100a5644
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], edi
lea ecx, [esi + 0xc]
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00be7a40
mov ecx, dword [ebp - 0xc]
push 4
pop eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], 0x100a59b8
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x2c], 0x100a59b0
mov dword [esi], 0x100a597c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0xbfb493
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edi, edi
mov ax, word [esi]
jbe 0xbfb4c3
push ebx
movzx ecx, byte [edx]
movzx ebx, al
xor ecx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [ecx*2 + 0x100c0e34]
xor ax, bx
inc edx
dec edi
jne 0xbfb4a7
pop ebx
mov word [esi], ax
pop edi
pop esi
ret 8
Function at 0xc0b7a5
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x14
pop eax
cmp edx, eax
jb 0xc0b97f
mov esi, dword [ebp + 8]
mov di, word [esi]
mov word [ecx], di
mov di, word [esi + 2]
mov bx, word [ecx]
mov word [ecx + 2], di
mov di, word [esi + 4]
mov word [ecx + 4], di
mov di, word [esi + 6]
mov word [ecx + 6], di
xor edi, edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x18], edi
cmp bx, 2
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x1c], edi
je 0xc0b909
cmp bx, 9
je 0xc0b903
cmp bx, 1
jne 0xc0b831
cmp edx, 0x20
jb 0xc0b97f
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
movzx eax, word [esi + 0x18]
cdq
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
movzx eax, word [esi + 0x1a]
mov dword [ecx + 0xc], eax
pop eax
jmp 0xc0b981
cmp bx, 8
jne 0xc0b89a
push 0x28
pop eax
cmp edx, eax
jb 0xc0b97f
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edi
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edi
movzx edx, word [esi + 0x20]
movzx ebx, word [esi + 0x22]
cmp edx, edi
mov dword [ecx + 0xc], ebx
jbe 0xc0b981
lea ecx, [eax + 0xc]
cmp ecx, dword [ebp + 0xc]
ja 0xc0b97f
mov ecx, dword [eax + esi + 8]
lea eax, [eax + ecx + 0xd]
cmp eax, dword [ebp + 0xc]
ja 0xc0b97f
cmp ecx, 0x400
ja 0xc0b97f
inc edi
cmp edi, edx
jb 0xc0b867
jmp 0xc0b981
movzx edx, bx
add edx, 0xfffffffd
cmp edx, 0xb
ja 0xc0b97f
movzx edx, byte [edx + 0x100265d4]
jmp dword [edx*4 + 0x100265c4]
cmp bx, 2
jne 0xc0b930
cmp edx, 0x20
jb 0xc0b97f
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edi
jmp 0xc0b95b
cmp edx, 0x38
jb 0xc0b97f
mov eax, dword [esi + 0x10]
push 0x38
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0xc], eax
pop esi
push dword [ebp + 0x10]
call fcn.00c0b75d
push edi
push 4
push edx
push eax
call fcn.00c7fe04
xor ecx, ecx
add eax, esi
adc edx, ecx
cmp edx, ecx
ja 0xc0b97f
jb 0xc0b981
cmp eax, dword [ebp + 0xc]
jbe 0xc0b981
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0xc102ec
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1009e174
call fcn.00c7fda4
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 3
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00be7a40
lea ecx, [esi + 0xc]
push 3
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.00be7a40
or dword [esi + 0x60], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0xc11625
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1009e330
call fcn.00c7fda4
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
call fcn.00be76ae
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0xc]
call fcn.00be76ae
mov eax, dword [esi + 0x18]
push 5
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov al, byte [esi + 0x48]
mov byte [ebx + 0x48], al
mov al, byte [esi + 0x49]
mov byte [ebx + 0x49], al
mov al, byte [esi + 0x4a]
mov byte [ebx + 0x4a], al
mov eax, dword [ebp + 8]
add esi, 0x4b
lea edi, [ebx + 0x4b]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x60]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x60], eax
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0xc1850c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1009f067
call fcn.00c7fda4
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], 0x100a6bb8
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], 0x100a6bb0
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
push 3
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.00be6b91
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0xc1a904
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x1009f6b0
call fcn.00c7fda4
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x100a6690
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x100a68e4
push 4
mov ebx, 0x100a59c0
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00be893e
mov dword [esi + 0x3c], 0x100a6c70
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00be893e
mov dword [edi], 0x100a6c78
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00c17414
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.00c19971
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00c17414
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.00c19971
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00c17414
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.00c19971
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00c17414
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.00c19971
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.00c19971
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0xc23cd2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov eax, ecx
push esi
push edi
mov edi, dword [eax]
cmp dword [ebp + 0xc], 0
je 0xc23d21
mov esi, dword [eax + 4]
test esi, esi
je 0xc23d21
mov cl, byte [edx]
inc edx
mov byte [esi + eax + 8], cl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec dword [ebp + 0xc]
test ecx, ecx
mov dword [eax + 4], ecx
jne 0xc23cdf
and dword [ebp + 8], ecx
lea esi, [eax + 8]
movzx ebx, byte [esi]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 8
shl ebx, cl
xor edi, ebx
inc esi
cmp dword [ebp + 8], 0x20
jl 0xc23d0a
jmp 0xc23cdf
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov esi, ecx
dec ecx
test esi, esi
je 0xc23d51
inc ecx
movzx esi, byte [edx]
inc edx
xor ebx, ebx
mov bh, byte [edx]
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x10
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x18
or esi, ebx
inc edx
xor edi, esi
dec ecx
jne 0xc23d2f
mov esi, dword [ebp + 0xc]
mov dword [eax], edi
and esi, 3
je 0xc23d72
mov ecx, dword [eax + 4]
mov bl, byte [edx]
inc edx
mov byte [ecx + eax + 8], bl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec esi
mov dword [eax + 4], ecx
jne 0xc23d5b
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0xc23eba
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
xor esi, esi
mov edx, dword [eax + 4]
test edx, edx
jle 0xc23ee0
push edi
lea ecx, [edx*8 - 8]
movzx edi, byte [eax + esi + 8]
shl edi, cl
sub ecx, 8
xor dword [eax], edi
inc esi
cmp esi, edx
jl 0xc23ece
pop edi
pop esi
ret

Function at 0xc2da55
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100a0cf0
call fcn.00c7fda4
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00be7dee
mov eax, dword [edi + 0xc]
and dword [ebp - 4], 0
mov dword [esi + 0xc], eax
mov ax, word [edi + 0x10]
mov word [esi + 0x10], ax
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 + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
add edi, 0x34
lea ecx, [esi + 0x34]
push edi
mov dword [esi + 0x30], eax
call fcn.00c2db40
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0xc32c11
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x100a1446
call fcn.00c7fda4
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00be76ae
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00be7dee
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00be76ae
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00be7dee
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov al, byte [edi + 0x38]
mov byte [esi + 0x38], al
mov al, byte [edi + 0x39]
mov byte [esi + 0x39], al
mov al, byte [edi + 0x3a]
mov byte [esi + 0x3a], al
mov al, byte [edi + 0x3b]
mov byte [esi + 0x3b], al
mov al, byte [edi + 0x3c]
mov byte [esi + 0x3c], al
mov al, byte [edi + 0x3d]
mov byte [esi + 0x3d], al
mov eax, dword [edi + 0x40]
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, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0xc35fa7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100a1957
call fcn.00c7fda4
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 ax, word [edi + 0x30]
mov word [esi + 0x30], ax
mov al, byte [edi + 0x32]
mov byte [esi + 0x32], al
mov al, byte [edi + 0x33]
mov byte [esi + 0x33], al
mov al, byte [edi + 0x34]
mov byte [esi + 0x34], al
mov al, byte [edi + 0x35]
mov byte [esi + 0x35], al
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
lea eax, [edi + 0x38]
push eax
call fcn.00be76ae
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
push eax
lea ecx, [esi + 0x44]
call fcn.00be7dee
mov eax, dword [edi + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0xc37022
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100a19e5
call fcn.00c7fda4
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100a5644
mov dword [esi + 4], 0x100a5fe0
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0xc
mov dword [esi + 0xc], 0x100a72b0
push 4
mov dword [ebp - 4], edi
pop ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], 0x100a72a8
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x34], 0x100a72a0
lea ecx, [esi + 0x58]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.00be7a40
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
mov dword [esi + 0x68], 0x100a5fd8
mov dword [esi], 0x100a726c
mov dword [esi + 4], 0x100a725c
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret