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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088820
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100b5540]
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.1005f6a2
mov esi, eax
add esp, 4
test esi, esi
je 0x1000fac9
push 1
mov dword [ebp - 4], 0
call fcn.1005e875
add esp, 4
mov dword [esi + 4], eax
jmp 0x1000facb
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.10025cd0
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 [0x100bb380]
mov ecx, dword [0x100bb384]
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 0x10023f70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089110
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x100b5540]
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 [0x1018b374]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, eax
test esi, esi
je 0x10024097
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0x6c3
nop
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10024065
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10024065
cmp byte [eax], 0xfd
jne 0x10024065
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 0x10024042
push 7
call fcn.10024880
mov eax, 0x10052e80
add eax, 0x15d
push 0x15d
push eax
call fcn.1000cb20
add esp, 0xc
jmp 0x10024053
push 0
push 0
push 0
push 0x10024e30
push 0
push 0
call edi
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0xffffffff
call fcn.100040d0
push esi
call fcn.10042370
add esp, 4
test al, al
jne 0x10024095
mov eax, dword [0x1018b374]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [0x1018b374]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, eax
test esi, esi
jne 0x10023fc0
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.1005f68b
mov esp, ebp
pop ebp
ret
Function at 0x100276a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008955d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b5540]
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.1005f6a2
mov edi, eax
add esp, 4
test edi, edi
je 0x1002773d
push 1
mov dword [ebp - 4], 0
call fcn.1005e875
add esp, 4
mov dword [edi + 4], eax
jmp 0x1002773f
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.1000f6b0
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 0x1002779a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1002779a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x100277b6
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 0x100277d9
cmp byte [ebp + 0xc], 0
je 0x100277c5
push esi
call fcn.1005ed0a
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 0x100277e5
mov esi, str.ios_base::badbit_set
jmp 0x100277f5
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.10027a60
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.100106a0
push 0x100b0bc8
lea eax, [ebp - 0x28]
push eax
call fcn.1006124c
int3
Function at 0x10039430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b5540]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100c79dd], 0
je 0x100394f2
cmp byte [0x100c79df], 0
mov byte [0x100c79dd], 0
jne 0x10039481
mov eax, dword [0x100c79e0]
mov ecx, dword [0x100c79e8]
mov edx, dword [0x100c79ec]
mov byte [0x100c79df], 1
mov byte [0x100c79de], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov byte [ebp - 0x18], 0x6b
xor ecx, ecx
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x7c
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x41
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0x7a
mov byte [ebp - 0x10], 0x68
mov byte [ebp - 0xf], 0x68
mov byte [ebp - 0xe], 0x39
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], 0x41
mov byte [ebp - 0xb], 0x7c
mov byte [ebp - 0xa], 0x75
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x68
mov byte [ebp - 6], 0x6b
mov byte [ebp - 5], 0
mov al, byte [ebp - 0x18]
mov al, byte [ebp + ecx - 0x18]
sub al, 7
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0x13
jb 0x100394d6
lea eax, [ebp - 0x18]
push eax
call fcn.10042160
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005f68b
mov esp, ebp
pop ebp
ret
Function at 0x10039790
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 [0x100b5540]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.10039b20
cmp eax, 1
je 0x100397cf
cmp eax, 4
je 0x100397cf
push 0
push 0x1008b9b0
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 0x100397f0
push ebx
push edi
sub eax, edx
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.10004870
mov ecx, 0x100b4df4
call fcn.10004e50
mov esi, dword [0x101875d0]
mov ebx, 0x10039900
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 [0x100b4df4], 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 [0x100b4e04], 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 [0x101875d4]
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 [0x101875d8]
mov dword [eax], 0x100d7950
lea eax, [ebp - 0x24]
mov esi, dword [0x101875dc]
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 [0x101875e0]
pop edi
pop ebx
pop esi
mov dword [eax], 0x100d7950
call fcn.1005f68b
mov esp, ebp
pop ebp
ret

Function at 0x10039be0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10039bf0

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10039e80
Function at 0x1003d0b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100897ab
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100b5540]
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.1005f6a2
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.10043bb0
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1003d27b
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
mov edx, ebx
jb 0x1003d164
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x1003d182
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x1003d170
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push edi
push ebx
push eax
call fcn.1003dcc0
cmp dword [ebp - 0x20], 0
jne 0x1003d26d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x1003d291
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.1005f6a2
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 + 0x1008b680]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008b680]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x1003d251
mov ecx, ebx
call fcn.10043f50
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.1003dcc0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x1003d254
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 0
push ecx
push edi
mov ecx, ebx
call fcn.10043ef0
mov byte [ebp - 4], 1
jmp 0x1003d270
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x1003d157
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.1005e545
int3
Function at 0x1003e230
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 0x1003e24e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1003e274
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1003e260
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.1003dcc0
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 0x1003e360
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 0x1003e37e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1003e3a4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1003e390
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1003dcc0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1003e3c4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10040060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100b5540]
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 0x10040097
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x100400b5
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x100400a3
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1003dcc0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10040181
cmp dword [ebx + 8], 0x71c71c7
je 0x10040198
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.1005f6a2
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 + 0x1008b680]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008b680]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x10040172
mov ecx, ebx
call fcn.10043f50
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1003dcc0
mov ecx, dword [eax]
jmp 0x10040175
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.10043ef0
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.1005e545
int3
Function at 0x100414a0
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 [0x101877b4]
cmp eax, 8
jg case.0x100414ce.8
dec eax
cmp eax, 7
ja case.0x100414ce.3
jmp dword [eax*4 + 0x10041504]
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 0x10041560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b5540]
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.100708e2
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x100415dc
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x100415d2
cmp word [eax + 6], dx
jne 0x100415d2
cmp word [eax + 0xc], dx
je 0x100415f6
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x100415c0
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.1005f68b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x100415df
Function at 0x10041f30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1018779c], 1
je 0x1004215c
mov dword [0x1018779c], 1
cmp dword [0xb6f5f0], 0
push esi
jne 0x10041f6b
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, 0xb6f5f0
push 5
call esi
cmp dword [edi], 0
je 0x10041f61
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 0x10042210
push 0x522f74
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x51d5ab
call esi
movq xmm0, qword [0x10091398]
mov ecx, 0x51d5ab
movq qword [ecx], xmm0
movzx eax, word [0x100913a0]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x52c159
call esi
push 6
push 0x100403f0
push 0x52c159
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x52167a
call esi
push 7
push 0x10043ba0
push 0x52167a
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x5108aa
call esi
push 6
push 0x10042d80
push 0x5108aa
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f47
call esi
mov eax, dword [0x100913a4]
mov ecx, 0x522f47
mov dword [ecx], eax
movzx eax, word [0x100913a8]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x524bde
call esi
movq xmm0, qword [0x10091398]
mov ecx, 0x524bde
movq qword [ecx], xmm0
movzx eax, word [0x100913a0]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x509bc6
call esi
mov eax, dword [0x100913ac]
mov ecx, 0x509bc6
mov dword [ecx], eax
movzx eax, word [0x100913b0]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x50e490
call esi
push 5
push 0x100403c0
push 0x50e490
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f32
call esi
push 6
push 0x10042230
push 0x522f32
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x523f61
call esi
push 6
push 0x10042240
push 0x523f61
call fcn.10059920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f51
call esi
mov eax, dword [0x100913a4]
mov ecx, 0x522f51
mov dword [ecx], eax
movzx eax, word [0x100913a8]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f6a
call esi
mov eax, dword [0x100913a4]
mov ecx, 0x522f6a
pop esi
mov dword [ecx], eax
movzx eax, word [0x100913a8]
mov word [ecx + 4], ax
mov esp, ebp
pop ebp
ret
Function at 0x10043d50
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 0x10043ecd
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.10043bb0
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 0x10043ea8
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 0x10043dd1
mov edx, dword [ecx]
mov dword [ebp - 4], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x10043dfa
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 0x10043de3
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 0x10043e19
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x10043e9e
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.1003d540
add esp, 8
test al, al
je 0x10043e56
mov ebx, dword [ebx]
cmp ebx, esi
je 0x10043e4e
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 0x10043e9b
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x10043e7e
nop dword [eax]
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.1003d540
add esp, 8
test al, al
jne 0x10043eb1
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x10043e60
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 0x10043db5
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 0x10043e9b
push str.invalid_hash_bucket_count
call fcn.1005e545
int3