joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ffa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100873d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100b4540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1005e172
mov esi, eax
add esp, 4
test esi, esi
je 0x1000fff9
push 1
mov dword [ebp - 4], 0
call fcn.1005d343
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000fffb
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.100240e0
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
lea ebx, [eax + 4]
mov dword [eax + 0x2c], edx
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x100b9380]
mov ecx, dword [0x100b9384]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10022310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087b90
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100b4540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1018936c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x10022437
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0xac
nop
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10022405
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10022405
cmp byte [eax], 0xfd
jne 0x10022405
push 0
push ecx
push eax
lea ecx, [ebp - 0x124]
call fcn.10004020
push 8
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0
call fcn.10004170
push 1
push 0x10
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x124]
call fcn.100041e0
cmp word [ebp - 0x128], bx
je 0x100223e2
push 7
call fcn.10022c30
mov eax, 0x10051d20
add eax, 0x219
push 0x219
push eax
call fcn.1000cf30
add esp, 0xc
jmp 0x100223f3
push 0
push 0
push 0
push 0x10023240
push 0
push 0
call edi
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0xffffffff
call fcn.100040d0
push esi
call fcn.100415e0
add esp, 4
test al, al
jne 0x10022435
mov eax, dword [0x1018936c]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [0x1018936c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, eax
test esi, esi
jne 0x10022360
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e15b
mov esp, ebp
pop ebp
ret
Function at 0x10025ab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087fdd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b4540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1005e172
mov edi, eax
add esp, 4
test edi, edi
je 0x10025b4d
push 1
mov dword [ebp - 4], 0
call fcn.1005d343
add esp, 4
mov dword [edi + 4], eax
jmp 0x10025b4f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.1000fbe0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x10025baa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x10025baa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x10025bc6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10025be9
cmp byte [ebp + 0xc], 0
je 0x10025bd5
push esi
call fcn.1005d7d8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10025bf5
mov esi, str.ios_base::badbit_set
jmp 0x10025c05
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10025e70
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10010bd0
push 0x100af3b8
lea eax, [ebp - 0x28]
push eax
call fcn.1005fd1c
int3
Function at 0x10037450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b4540]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100c59dd], 0
je 0x10037512
cmp byte [0x100c59df], 0
mov byte [0x100c59dd], 0
jne 0x100374a1
mov eax, dword [0x100c59e0]
mov ecx, dword [0x100c59e8]
mov edx, dword [0x100c59ec]
mov byte [0x100c59df], 1
mov byte [0x100c59de], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [ebp - 0x18], 0x6f
xor ecx, ecx
mov byte [ebp - 0x17], 0x70
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x80
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x45
mov byte [ebp - 0x12], 0x45
mov byte [ebp - 0x11], 0x7e
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x3d
mov byte [ebp - 0xd], 0x45
mov byte [ebp - 0xc], 0x45
mov byte [ebp - 0xb], 0x80
mov byte [ebp - 0xa], 0x79
mov byte [ebp - 9], 0x77
mov byte [ebp - 8], 0x7a
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0
mov al, byte [ebp - 0x18]
mov al, byte [ebp + ecx - 0x18]
sub al, 0xb
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0x13
jb 0x100374f6
lea eax, [ebp - 0x18]
push eax
call fcn.100413d0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e15b
mov esp, ebp
pop ebp
ret
Function at 0x100377b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b4540]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.10037b40
cmp eax, 1
je 0x100377ef
cmp eax, 4
je 0x100377ef
push 0
push 0x1008a990
push str.Unsupported_GTA:SA_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037810
push ebx
push edi
sub eax, edx
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.10004870
mov ecx, 0x100b3df4
call fcn.10004e50
mov esi, dword [0x101855d0]
mov ebx, 0x10037920
movups xmm0, xmmword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 0xf
mov dword [ebp - 0x14], 0xd8964
mov eax, ebx
mov dword [ebp - 0x10], 0x83000000
sar eax, 8
movups xmmword [0x100b3df4], xmm0
movq xmm0, qword [ebp - 0xc]
mov byte [ebp - 8], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 7], al
lea eax, [ebp - 0x24]
push eax
push 0x40
push 0xf
mov byte [ebp - 9], bl
push esi
movq qword [0x100b3e04], xmm0
mov word [ebp - 0xc], 0x10c4
mov byte [ebp - 0xa], 0xe9
sar ebx, 0x18
call edi
movq xmm0, qword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov ax, word [ebp - 8]
mov word [esi + 0xc], ax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov byte [esi + 0xe], bl
push 0xf
push esi
call edi
mov esi, dword [0x101855d4]
lea eax, [ebp - 0x24]
push eax
push 0x40
push 5
push esi
call edi
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
mov eax, dword [0x101855d8]
mov dword [eax], 0x100d5950
lea eax, [ebp - 0x24]
mov esi, dword [0x101855dc]
push eax
push 0x40
push 5
push esi
call edi
mov ecx, dword [ebp - 4]
mov dword [esi], 0x90909090
xor ecx, ebp
mov byte [esi + 4], 0x90
mov eax, dword [0x101855e0]
pop edi
pop ebx
pop esi
mov dword [eax], 0x100d5950
call fcn.1005e15b
mov esp, ebp
pop ebp
ret

Function at 0x10037c00
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10037c10

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10037ea0
Function at 0x1003b0b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008822b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100b4540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
lea edi, [ebx + 4]
push 0x24
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.1005e172
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push dword [edi]
sar eax, 2
push eax
mov byte [ebp - 4], 1
call fcn.10042be0
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1003b27b
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
mov edx, ebx
jb 0x1003b164
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x1003b182
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x1003b170
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push edi
push ebx
push eax
call fcn.1003bc50
cmp dword [ebp - 0x20], 0
jne 0x1003b26d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x1003b291
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.1005e172
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 8], eax
push ebx
call fcn.10004c80
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x18], ecx
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008a660]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008a660]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x1003b251
mov ecx, ebx
call fcn.10042f80
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.1003bc50
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x1003b254
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 0
push ecx
push edi
mov ecx, ebx
call fcn.10042f20
mov byte [ebp - 4], 1
jmp 0x1003b270
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x1003b157
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1005d013
int3
Function at 0x1003c1c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1003c1de
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1003c204
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1003c1f0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.1003bc50
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1003c2f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1003c30e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1003c334
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1003c320
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1003bc50
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1003c354
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003dfc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088735
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100b4540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x1003dff7
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x1003e015
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x1003e003
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1003bc50
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003e0e1
cmp dword [ebx + 8], 0x71c71c7
je 0x1003e0f8
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.1005e172
add esp, 4
mov dword [ebp - 0x18], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 8], eax
push edi
call fcn.10004c80
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008a660]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008a660]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x1003e0d2
mov ecx, ebx
call fcn.10042f80
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1003bc50
mov ecx, dword [eax]
jmp 0x1003e0d5
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.10042f20
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.1005d013
int3
Function at 0x100407c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push 0x8a5a80
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x101857a0]
cmp eax, 8
jg case.0x100407ee.8
dec eax
cmp eax, 7
ja case.0x100407ee.3
jmp dword [eax*4 + 0x10040824]
mov byte [0x8a5a80], 0
mov esp, ebp
pop ebp
ret
mov byte [0x8a5a80], 0xff
mov esp, ebp
pop ebp
ret
mov byte [0x8a5a80], 0xfe
mov esp, ebp
pop ebp
ret
mov byte [0x8a5a80], 0xfc
mov esp, ebp
pop ebp
ret

Function at 0x10040880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b4540]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1006f488
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x100408fc
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x100408f2
cmp word [eax + 6], dx
jne 0x100408f2
cmp word [eax + 0xc], dx
je 0x10040916
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x100408e0
mov ecx, dword [eax + 1]
mov eax, dword [ebp + 8]
pop esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e15b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x100408ff
Function at 0x100411a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10185788], 1
je 0x100413cc
mov dword [0x10185788], 1
cmp dword [0xb6f5f0], 0
push esi
jne 0x100411db
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, 0xb6f5f0
push 5
call esi
cmp dword [edi], 0
je 0x100411d1
pop edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x522f74
mov dword [ebp - 4], 0
call esi
push 0xa
push 0x10041480
push 0x522f74
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x51d5ab
call esi
movq xmm0, qword [0x1009036c]
mov ecx, 0x51d5ab
movq qword [ecx], xmm0
movzx eax, word [0x10090374]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x52c159
call esi
push 6
push 0x1003e350
push 0x52c159
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x52167a
call esi
push 7
push 0x10042bd0
push 0x52167a
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x5108aa
call esi
push 6
push 0x10041ff0
push 0x5108aa
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f47
call esi
mov eax, dword [0x10090378]
mov ecx, 0x522f47
mov dword [ecx], eax
movzx eax, word [0x1009037c]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x524bde
call esi
movq xmm0, qword [0x1009036c]
mov ecx, 0x524bde
movq qword [ecx], xmm0
movzx eax, word [0x10090374]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x509bc6
call esi
mov eax, dword [0x10090380]
mov ecx, 0x509bc6
mov dword [ecx], eax
movzx eax, word [0x10090384]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x50e490
call esi
push 5
push 0x1003e320
push 0x50e490
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f32
call esi
push 6
push 0x100414a0
push 0x522f32
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x523f61
call esi
push 6
push 0x100414b0
push 0x523f61
call fcn.10058400
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f51
call esi
mov eax, dword [0x10090378]
mov ecx, 0x522f51
mov dword [ecx], eax
movzx eax, word [0x1009037c]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f6a
call esi
mov eax, dword [0x10090378]
mov ecx, 0x522f6a
pop esi
mov dword [ecx], eax
movzx eax, word [0x1009037c]
mov word [ecx + 4], ax
mov esp, ebp
pop ebp
ret
Function at 0x10042d80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x10042efd
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp + 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10042be0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x10042ed8
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
jb 0x10042e01
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x10042e2a
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x10042e13
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x10042e49
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x10042ece
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.1003b540
add esp, 8
test al, al
je 0x10042e86
mov ebx, dword [ebx]
cmp ebx, esi
je 0x10042e7e
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x10042ecb
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x10042eae
nop dword [eax]
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.1003b540
add esp, 8
test al, al
jne 0x10042ee1
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x10042e90
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov esi, edi
cmp edi, eax
jne 0x10042de5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x10042ecb
push str.invalid_hash_bucket_count
call fcn.1005d013
int3
Function at 0x100475a0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor edx, edx
push ebx
mov bl, byte [ecx + edx + 4]
mov eax, dword [ecx]
add al, dl
xor al, bl
mov byte [ecx + edx + 4], al
inc edx
cmp edx, 0x17
jb 0x100475a4
pop ebx
mov byte [ecx + 0x1b], 0
lea eax, [ecx + 4]
pop esi
ret

Function at 0x10047600
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100b4540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 4
mov dword [ebp - 4], 1
call fcn.1005e172
add esp, 4
test eax, eax
je 0x10047649
mov dword [eax], 0
jmp 0x1004764b
xor eax, eax
push 0x10023640
push eax
lea ecx, [ebp - 0x70]
call fcn.1000a060
lea ecx, [ebp - 0x68]
call fcn.10010cc0
lea ecx, [ebp - 0x50]
call fcn.10010ae0
xor eax, eax
mov byte [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov ecx, esi
mov dword [esi + 4], eax
lea eax, [ebp - 0x70]
push eax
push 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.100233f0
lea ecx, [ebp - 0x70]
call fcn.100113c0
xor eax, eax
xorps xmm0, xmm0
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0xffff
mov dword [esi + 0x2c], 0xffff
mov byte [esi + 0x30], al
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e15b
mov esp, ebp
pop ebp
ret