joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007c90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or eax, 0xffffffff
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x10007cb8
movzx edx, byte [esi + ebx]
inc esi
xor edx, eax
shr eax, 8
movzx ecx, dl
xor eax, dword [ecx*4 + 0x10097fb0]
cmp esi, edi
jb 0x10007ca0
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x10007cc0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push edi
push pe_nt_image_headers32
push 3
push edi
push edi
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007d42
push ebx
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x10007d3a
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10007d33
mov edx, dword [ebp - 8]
mov ecx, eax
call fcn.10007c90
push dword [ebp - 0xc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10007d50
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ebx, dword [0x100a8ee0]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
lea edx, [eax + edi]
mov eax, dword [0x100a8ee4]
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
cmp ebx, eax
je 0x10007e33
movzx eax, word [ebx + 4]
mov ecx, dword [ebx]
lea esi, [eax + ecx]
cmp dword [ebp - 0xc], eax
jl 0x10007dca
sub edx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 8]
sub edx, ecx
nop
mov eax, ecx
cmp ecx, esi
je 0x10007db7
mov cl, byte [eax]
cmp cl, 0x90
je 0x10007db2
cmp byte [edx + eax], cl
jne 0x10007dbc
inc eax
cmp eax, esi
jne 0x10007da6
mov edx, dword [ebp - 4]
jmp 0x10007dcc
cmp edi, dword [ebp - 0x10]
je 0x10007dc7
mov ecx, dword [ebx]
inc edi
inc edx
jmp 0x10007da0
mov edx, dword [ebp - 4]
mov edi, edx
mov eax, dword [ebx + 8]
mov dword [eax], 0
cmp edi, edx
jne 0x10007ddf
cmp byte [ebx + 0xd], 0
jne 0x10007e2a
movzx eax, byte [ebx + 0xc]
sub eax, 0
je 0x10007e0f
sub eax, 1
je 0x10007e01
sub eax, 1
jne 0x10007e1a
movzx eax, word [ebx + 6]
mov ecx, dword [eax + edi + 1]
add eax, 5
add ecx, eax
jmp 0x10007e13
movzx eax, word [ebx + 6]
mov ecx, dword [ebx + 8]
mov eax, dword [eax + edi]
mov dword [ecx], eax
jmp 0x10007e1a
movzx ecx, word [ebx + 6]
mov eax, dword [ebx + 8]
add ecx, edi
mov dword [eax], ecx
add ebx, 0x10
cmp ebx, dword [ebp - 0x14]
je 0x10007e33
mov edi, dword [ebp - 8]
jmp 0x10007d87
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010650
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x10010678
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x10010680
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x10010699
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x100106a1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x100106ba
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100106c2
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x100106db
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x100106e3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.10010724
Function at 0x1001ae00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1001af08
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1001af08
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x1001af08
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x1001af08
mov edx, dword [eax + edi + 0x1c]
lea ecx, [eax + edi]
mov eax, dword [ecx + 0x24]
add edx, edi
add eax, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
xor esi, esi
mov eax, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1001af08
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + esi*4]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1001aeec
cmp ebx, 0xffff
ja 0x1001ae8b
mov eax, dword [ecx + 0x10]
add eax, esi
cmp ebx, eax
je 0x1001aefa
mov edx, dword [ecx + 0x18]
xor eax, eax
test edx, edx
je 0x1001aea7
mov edi, dword [ebp - 8]
movzx ecx, word [edi + eax*2]
cmp ecx, esi
je 0x1001aea4
inc eax
cmp eax, edx
jb 0x1001ae97
mov edi, dword [ebp + 8]
cmp eax, edx
je 0x1001aee9
cmp ebx, 0xffff
jbe 0x1001aee9
mov edx, dword [ebp - 0xc]
mov ecx, ebx
mov eax, dword [edx + eax*4]
add eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001aee0
test dl, dl
je 0x1001aedc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001aee0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001aec0
xor eax, eax
jmp 0x1001aee5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001aefa
mov edx, dword [ebp - 4]
inc esi
cmp esi, dword [ebp - 0x10]
jae 0x1001af08
mov ecx, dword [ebp - 0x14]
jmp 0x1001ae70
mov eax, dword [ebp + 0xc]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x30], 0
je 0x1001b23e
mov edi, dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x14
push eax
push 0xffffffffffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
test eax, eax
js 0x1001b23e
movups xmm0, xmmword [esi + 0x1c]
movups xmmword [edi], xmm0
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x10], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
pop edi
mov byte [esi + 0x30], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001bba0
Capabilities:
Access peb ldr_data
Encode data using xor
Get process heap force flags
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 0x44
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.10063db0
add esp, 0xc
mov dword [ebp - 4], 0x20
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [0x100ac278]
mov eax, dword fs:[0x18]
lea edi, [ebp - 0x24]
xor ecx, ecx
push ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x28], eax
xor eax, eax
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov eax, 1
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
xor ecx, ecx
mov dword [edi + 0xc], edx
lea edi, [ebp - 0x14]
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
or eax, 0xffffffff
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
xor edx, edx
pop edi
pop esi
mov dword [ebp - 0x10], 0x224
mov dword [ebp - 0xc], 0x1029
pop ebx
movzx ecx, byte [ebp + edx - 0x48]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10097fb0]
movzx ecx, byte [ebp + edx - 0x47]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10097fb0]
movzx ecx, byte [ebp + edx - 0x46]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10097fb0]
movzx ecx, byte [ebp + edx - 0x45]
add edx, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10097fb0]
cmp edx, 0x44
jb 0x1001bc26
not eax
mov esp, ebp
pop ebp
ret

Function at 0x1001c1f0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1258
push 0x10084b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov al, byte [ebp - 0x19]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001cb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
push 0x40
lea eax, [ebp - 4]
mov dword [ebp - 0xc], edx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], edi
push eax
mov esi, ecx
mov dword [ebp + 8], 0
push 0xffffffffffffffff
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
test eax, eax
js 0x1001cb73
push edi
push dword [ebp - 0xc]
push esi
call fcn.100632b0
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001cd90
Capabilities:
Encode data using base64
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085389
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0
movaps xmm0, xmmword [0x1009cdd0]
movups xmmword [ebp - 0x66], xmm0
push esi
movaps xmm0, xmmword [0x1009cf40]
movups xmmword [ebp - 0x56], xmm0
push edi
movaps xmm0, xmmword [0x1009d1d0]
movups xmmword [ebp - 0x46], xmm0
mov word [ebp - 0x26], 0x2f
movaps xmm0, xmmword [0x1009cc00]
movups xmmword [ebp - 0x36], xmm0
nop
mov al, byte [ebp - 0x66]
xor byte [ebp + ecx - 0x65], al
inc ecx
cmp ecx, 0x40
jl 0x1001cdf0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebp - 0x25], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test edi, edi
je 0x1001cf64
nop dword [eax]
mov al, byte [edx]
dec edi
mov byte [ebp + esi - 0x14], al
inc edx
mov ch, byte [ebp - 0x12]
inc esi
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ch
mov byte [ebp + 0xb], ah
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x1001ceb6
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebp + esi - 0x18]
mov ecx, ebx
movzx eax, byte [ebp + eax - 0x65]
push eax
call fcn.1001e240
inc esi
cmp esi, 4
jl 0x1001ce90
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ah, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
mov ch, byte [ebp - 0xe]
test edi, edi
jne 0x1001ce30
mov dword [ebp + 8], esi
test esi, esi
je 0x1001cf64
cmp esi, 3
jge 0x1001cef3
mov ecx, 3
lea edi, [ebp - 0x14]
sub ecx, esi
xor eax, eax
mov edx, ecx
add edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ch, byte [ebp - 0x12]
mov ah, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ah
shr al, 4
and ah, 0xf
shl cl, 4
add cl, al
shl ah, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add ah, al
mov byte [ebp - 0x15], ch
mov byte [ebp - 0x16], ah
lea eax, [esi + 1]
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1001cf4a
mov esi, eax
nop
movzx eax, byte [ebp + edi - 0x18]
mov ecx, ebx
movzx eax, byte [ebp + eax - 0x65]
push eax
call fcn.1001e240
inc edi
cmp edi, esi
jl 0x1001cf30
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x1001cf64
mov edi, 3
sub edi, esi
push 0x3d
mov ecx, ebx
call fcn.1001e240
sub edi, 1
jne 0x1001cf56
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10024be0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10024c11
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10024c00
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10029d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008593a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.100496d0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x10029dfd
push eax
push esi
call fcn.1004958e
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.1002a4c0
push 0x100a5328
lea eax, [ebp - 0x1c]
push eax
call fcn.10063235
int3

Function at 0x1002a790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x100ac150], 0xa
push ebx
push esi
push edi
mov esi, edx
jne 0x1002a7ce
lea edi, [ecx + 5]
xor bl, bl
lea edx, [esi - 7]
xor ecx, ecx
test edx, edx
je 0x1002a7f7
mov esi, dword [ebp + 8]
mov eax, ecx
and eax, 0x1f
mov al, byte [eax + esi]
xor al, byte [ecx + edi]
xor al, bl
mov byte [ecx + edi], al
mov bl, al
inc ecx
cmp ecx, edx
jb 0x1002a7b2
pop edi
pop esi
pop ebx
pop ebp
ret
lea ebx, [ecx + 4]
xor dl, dl
xor ecx, ecx
add esi, 0xfffffffa
je 0x1002a7f7
mov edi, dword [ebp + 8]
nop dword [eax]
mov eax, ecx
and eax, 0x1f
mov al, byte [eax + edi]
xor al, byte [ecx + ebx]
xor al, dl
mov byte [ecx + ebx], al
mov dl, al
inc ecx
cmp ecx, esi
jb 0x1002a7e0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1002a800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100859bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x20], ecx
push edi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x18], edi
shr edi, 4
lea ebx, [edi + 1]
shl ebx, 4
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 1]
push eax
mov dword [ebp - 0x14], eax
call fcn.1004bc67
lea ecx, [ebx + 1]
mov dword [ebp - 0x10], eax
push ecx
push 0
push eax
call fcn.10063db0
add esp, 0x10
mov edx, esi
cmp dword [esi + 0x14], 0x10
jb 0x1002a862
mov edx, dword [esi]
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1002a865
sub esi, ecx
push edx
lea eax, [esi + 1]
mov esi, dword [ebp - 0x10]
push eax
push esi
call fcn.10070c90
mov eax, dword [ebp - 0x18]
mov edx, 0x10
and eax, 0xf
add esp, 0xc
sub edx, eax
test edx, edx
jle 0x1002a8b5
shl edi, 4
mov ecx, edx
add edi, eax
mov al, dl
add edi, esi
movzx eax, al
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [ebp - 0x10]
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx + esi], 0
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1004bc67
push ebx
mov edi, eax
push 0
push edi
mov dword [ebp - 0x18], edi
call fcn.10063db0
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x490], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 0
mov ecx, 0x100a8f7c
cmp dword [0x100a8f90], 0x10
mov eax, 0x100a8f64
cmovae ecx, dword [0x100a8f7c]
cmp dword [0x100a8f78], 0x10
cmovae eax, dword [0x100a8f64]
add esp, 8
push ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.10013eb0
mov bl, byte [ebp - 0x490]
test bl, bl
je 0x1002a9e5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002a9e5
mov ecx, dword [ebp - 0xc8]
xor edx, edx
div ecx
test edx, edx
jne 0x1002a9e5
mov dword [ebp - 0x14], edx
test eax, eax
je 0x1002a9df
nop
lea edx, [ebp - 0xa0]
test bl, bl
je 0x1002a992
xor eax, eax
test ecx, ecx
jle 0x1002a992
mov cl, byte [eax + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, dword [ebp - 0xc8]
jl 0x1002a980
push edi
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x494]
call fcn.10013c00
push dword [ebp - 0xc8]
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100632b0
mov ecx, dword [ebp - 0xc8]
xor edx, edx
mov eax, dword [ebp - 0x1c]
add esp, 0xc
div ecx
mov ebx, dword [ebp - 0x14]
add esi, ecx
inc ebx
add edi, ecx
mov dword [ebp - 0x14], ebx
cmp ebx, eax
jae 0x1002a9df
mov bl, byte [ebp - 0x490]
jmp 0x1002a970
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, edi
call fcn.1001cd90
push esi
call fcn.1004bc70
push edi
call fcn.1004bc70
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002fb10
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008609b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
push edi
push 0x1009b9b4
jmp fcn.101cb119

Function at 0x10036b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 4]
mov ebx, edx
mov edi, dword [0x100ac230]
shl ebx, 0x10
add ebx, ecx
mov dword [esp + 0x24], ecx
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0xfc8]
imul ecx, eax, 0x26027a69
mov eax, ebx
shr eax, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
xor ecx, eax
imul eax, ecx, 0x26027a69
mov ecx, dword [edi + 0xfd4]
mov edi, dword [edi + 0xfc0]
and ecx, eax
mov esi, dword [edx + ecx*8]
lea edx, [edx + ecx*8]
add edx, 4
mov dword [esp + 0x18], esi
mov eax, esi
mov dword [esp + 0x1c], edx
nop dword [eax]
cmp esi, edi
jne 0x10036b98
mov ecx, edi
jmp 0x10036b9c
mov ecx, dword [edx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10036bda
cmp dword [eax + 8], ebx
je 0x10036ba9
mov eax, dword [eax]
jmp 0x10036b90
mov ecx, eax
mov esi, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, edi
jne 0x10036bbd
mov edx, edi
jmp 0x10036bc1
mov edx, dword [edx]
mov edx, dword [edx]
cmp eax, edx
je 0x10036bd2
cmp ebx, dword [eax + 8]
jne 0x10036bd2
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
jmp 0x10036bb5
mov ecx, dword [esp + 0x20]
cmp esi, eax
jne 0x10036bde
mov ecx, edi
mov eax, edi
xor edx, edx
cmp ecx, eax
je 0x10036c0e
mov ecx, dword [ecx]
inc edx
cmp ecx, eax
jne 0x10036be4
test edx, edx
je 0x10036c0e
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
add ecx, 0xfbc
call fcn.1003bce0
mov eax, dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x104
lea eax, [esp + 0x54]
push 0
push eax
call fcn.10063db0
movaps xmm0, xmmword [0x1009cbe0]
add esp, 0xc
movups xmmword [esp + 0x28], xmm0
xor ecx, ecx
mov dword [esp + 0x48], 0x6e24651f
movaps xmm0, xmmword [0x1009cba0]
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0x337224
nop dword [eax]
mov al, byte [esp + 0x28]
xor byte [esp + ecx + 0x29], al
inc ecx
cmp ecx, 0x26
jl 0x10036c50
push dword [esp + 0x24]
lea eax, [esp + 0x2d]
mov byte [esp + 0x53], 0
push dword [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1003e750
mov eax, dword [0x100ac08c]
lea ecx, [esp + 0x60]
add esp, 0x10
cmp dword [0x100ac150], 1
jne 0x10036c97
push ecx
call eax
add esp, 4
jmp 0x10036c9f
push 1
push ecx
call eax
add esp, 8
mov esi, eax
test esi, esi
je 0x10036cbb
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
add ecx, 0xfbc
call fcn.1003bce0
mov dword [eax], esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003bce0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], esi
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
mov eax, ebx
lea edx, [edx + ecx*8]
cmp ebx, esi
jne 0x1003bd3e
mov ecx, esi
jmp 0x1003bd43
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003bd56
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1003bd52
mov eax, dword [eax]
jmp 0x1003bd36
cmp eax, esi
jne 0x1003bda0
mov esi, dword [esi]
lea eax, [ebp + 8]
push ecx
push eax
push ecx
mov dword [ebp + 8], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.100407d0
mov ebx, dword [ebp - 8]
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x1003bdac
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100403b0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.10048734
int3

Function at 0x1003be50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
mov edi, dword [edi + 4]
and ecx, eax
mov ebx, dword [edx + ecx*8]
lea edx, [edx + ecx*8]
add edx, 4
mov dword [ebp + 8], ebx
mov eax, ebx
mov dword [ebp - 4], edx
nop dword [eax]
cmp ebx, edi
jne 0x1003beb8
mov ecx, edi
jmp 0x1003bebc
mov ecx, dword [edx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003befb
mov ebx, dword [esi]
cmp dword [eax + 8], ebx
je 0x1003bece
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
jmp 0x1003beb0
mov ecx, eax
mov esi, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x1003bee0
mov edx, edi
jmp 0x1003bee4
mov edx, dword [edx]
mov edx, dword [edx]
cmp eax, edx
je 0x1003bef4
cmp ebx, dword [eax + 8]
jne 0x1003bef4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
jmp 0x1003bed8
mov ecx, dword [ebp - 8]
cmp esi, eax
jne 0x1003beff
mov ecx, edi
mov eax, edi
pop edi
xor edx, edx
pop esi
pop ebx
cmp ecx, eax
je 0x1003bf0f
mov ecx, dword [ecx]
inc edx
cmp ecx, eax
jne 0x1003bf08
mov eax, edx
mov esp, ebp
pop ebp
ret 4