joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4730c0
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 4], xmm0
mov eax, dword [edi + 0x28]
test al, 1
je 0x4730e1
mov ecx, 4
xor edx, edx
jmp 0x4730e9
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [edi + 8]
cmp byte [esi + 0x38], 4
jne 0x4730ff
test byte [esi + 0x139], 2
je 0x4730ff
or ecx, 8
test byte [edi + 0x2c], 1
pop esi
je 0x473109
or ecx, 0x10
test al, 0x10
je 0x473110
or ecx, 0x20
test al, 0x20
je 0x473117
or ecx, 0x40
test eax, 0x2000
je 0x473124
or ecx, 0x200
test eax, 0x400
je 0x473131
or ecx, 0x400
test eax, 0x200
je 0x47313e
or ecx, 0x800
test eax, 0x100
je 0x47314b
or ecx, 0x1000
test eax, 0x800
je 0x473158
or ecx, 0x2000
test al, 8
je 0x473162
or ecx, 0x8000
test al, 4
je 0x47316c
or ecx, 0x10000
test al, 2
je 0x473176
or ecx, 0x20000
test eax, 0x1000
je 0x473183
or ecx, 0x40000
test eax, 0x4000
je 0x473190
or ecx, 0x80000
test eax, 0x8000
je 0x47319d
or ecx, 0x100000
test eax, 0x10000
je 0x4731aa
or ecx, 0x200000
test eax, 0x20000
je 0x4731b7
or ecx, 0x400000
test eax, 0x40000
je 0x4731c4
or ecx, 0x800020
test eax, 0x80000
je 0x4731d1
or ecx, 0x1000000
test eax, 0x100000
je 0x4731de
or ecx, 0x2000000
test eax, 0x200000
je 0x4731eb
or ecx, 0x4000000
test eax, 0x400000
je 0x4731f8
or ecx, 0x8000000
test eax, 0x800000
je 0x473205
or ecx, 0x10000000
test eax, 0x1000000
je 0x473212
or ecx, 0x20000000
test eax, 0x2000000
je 0x47321f
or ecx, 0x40000000
test eax, 0x4000000
je 0x47322c
or ecx, 0x80000000
test eax, 0x10000000
je 0x473236
or edx, 1
test eax, 0x20000000
je 0x473240
or edx, 4
test eax, 0x40000000
je 0x47324a
or edx, 8
mov eax, dword [edi + 4]
cmp byte [eax + 2], 0
je 0x473256
or ecx, 2
mov eax, ecx
or eax, edx
jne 0x473272
cmp dword [edi + 0x1c], 7
jb 0x473272
cmp dword [edi + 0x63fe0], eax
jbe 0x473272
lea edx, [eax + 2]
pop edi
add esp, 8
ret
mov eax, ecx
pop edi
add esp, 8
ret
Function at 0x47dc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1e8
push ebx
push ebp
push esi
push edi
push 0x40
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 7
push 0
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 3
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], 0
call fcn.004e6e40
push 0x40
lea eax, [esp + 0xd0]
mov dword [esp + 0x98], 3
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
push 0
push eax
mov dword [esp + 0xb0], 8
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 3
movlpd qword [esp + 0xc0], xmm0
mov dword [esp + 0xc8], 1
mov dword [esp + 0xd0], 8
mov dword [esp + 0xd4], 0
call fcn.004e6e40
push 0x40
lea eax, [esp + 0x154]
mov dword [esp + 0x11c], 3
xorps xmm0, xmm0
mov dword [esp + 0x124], 0
push 0
push eax
mov dword [esp + 0x134], 9
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 3
movlpd qword [esp + 0x144], xmm0
mov dword [esp + 0x14c], 1
mov dword [esp + 0x154], 7
mov dword [esp + 0x158], 0
call fcn.004e6e40
push 0x40
xorps xmm0, xmm0
mov dword [esp + 0x1a0], 3
lea eax, [esp + 0x1d8]
mov dword [esp + 0x1a8], 0
push 0
push eax
mov dword [esp + 0x1b8], 9
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 3
movlpd qword [esp + 0x1c8], xmm0
mov dword [esp + 0x1d0], 4
movlpd qword [esp + 0x1d8], xmm0
call fcn.004e6e40
mov eax, dword [esp + 0x22c]
lea edi, [esp + 0x50]
add esp, 0x30
mov dword [esp + 0x1f0], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
lea ebx, [eax + 0x28]
push dword [ebx + 0x1c]
push 2
push ebx
call fcn.00486ea0
add esp, 0xc
test al, al
je 0x47ded3
mov esi, dword [edi + 0x68]
push 5
push 0
push esi
push ebx
call fcn.00486f20
add esp, 0x10
test al, al
je 0x47ded3
xor ebp, ebp
test esi, esi
je 0x47dead
mov esi, edi
nop word [eax + eax]
mov edi, dword [esi - 8]
xor eax, eax
test edi, edi
push 1
sete al
push eax
push ebx
call fcn.00486ea0
add esp, 0xc
test al, al
je 0x47ded3
test edi, edi
jne 0x47de72
push 8
jmp 0x47de8e
push 3
push edi
push ebx
call fcn.00486ea0
add esp, 0xc
test al, al
je 0x47ded3
cmp edi, 1
je 0x47de8c
cmp edi, 2
jne 0x47dea0
push 5
push dword [esi + 4]
push dword [esi]
push ebx
call fcn.00486f20
add esp, 0x10
test al, al
je 0x47ded3
mov edi, dword [esp + 0x14]
inc ebp
add esi, 0x10
cmp ebp, dword [edi + 0x68]
jb 0x47de50
mov ebp, dword [esp + 0x10]
add edi, 0x78
inc ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebp
cmp ebp, 4
jb 0x47de13
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1e8
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1e8
ret
Function at 0x489cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push 0xdc
push 0
call fcn.00461d40
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov esi, dword [esp + 0x14]
mov dword [ebx + 0xa8], eax
lea ecx, [ebx + 0xc8]
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0xffffffff
mov dword [ebx + 0x7c], 0xffffffff
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ebx + 0xac], eax
cmp edx, 5
jbe 0x489da9
mov eax, dword [esi]
cmp eax, 0x7230203
je 0x489d83
push 0x7230203
push eax
push str.words_0__was_0x_x__want_0x_x
push 0x1a43
push str..._.._src_compiler_spirv_spirv_to_nir.c
push ebx
call fcn.00487ab0
add esp, 0x18
push ebx
call fcn.00461770
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
mov dword [ebx + 0x60], eax
cmp eax, 0x10000
jae 0x489db9
push eax
push str.version_was_0x_x__want___0x10000
push 0x1a49
push str..._.._src_compiler_spirv_spirv_to_nir.c
push ebx
call fcn.00487ab0
add esp, 0x14
push ebx
call fcn.00461770
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
pop ecx
ret
movzx eax, word [esi + 0xa]
mov dword [ebx + 0x98], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
movzx ebp, word [esi + 8]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x489de2
push eax
push str.words_4__was__u__want_0
push 0x1a52
jmp 0x489d9b
imul eax, ecx, 0x58
mov dword [ebx + 0x90], ecx
push edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004614d0
push 0xac
push eax
mov dword [ebx + 0x14], eax
call fcn.00461310
push dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edi, eax
mov ecx, 0x2b
rep movsd dword es:[edi], dword [esi]
push 0x1c
push dword [ebx + 0x14]
mov dword [ebx + 0x68], eax
call fcn.004615f0
add esp, 0x1c
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x98]
pop edi
cmp eax, 8
je 0x489e41
cmp eax, 0xd
jne 0x489e4a
cmp ebp, 3
jae 0x489e4a
mov cl, 1
jmp 0x489e4c
xor cl, cl
mov byte [ebx + 0xa0], cl
test eax, eax
jne 0x489e5b
cmp ebp, 0x11
je 0x489e64
cmp eax, 0x11
je 0x489e64
xor ecx, ecx
jmp 0x489e69
mov ecx, 1
mov edx, dword [ebx + 0x68]
cmp dword [edx], 1
jne 0x489e79
test ecx, ecx
je 0x489e79
mov cl, 1
jmp 0x489e7b
xor cl, cl
mov byte [ebx + 0xa1], cl
cmp eax, 8
je 0x489e8b
cmp eax, 0xd
jne 0x489e90
cmp ebp, 0xb
jb 0x489e9e
cmp eax, 0x13
jne 0x489e9a
cmp ebp, 0x12
jb 0x489e9e
xor al, al
jmp 0x489ea0
mov al, 1
mov byte [ebx + 0xa2], al
cmp dword [edx], 0
jne 0x489ec3
cmp dword [ebx + 0x60], 0x10400
jae 0x489ec3
push ebx
call fcn.00463290
add esp, 4
mov dword [ebx + 0x84], eax
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4a1be0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, dword [esp + 8]
cmp byte [ebp + 0x38], 1
jne 0x4a1bef
xor al, al
pop ebp
ret
push edi
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x18], 0
je 0x4a1bff
pop edi
mov al, 1
pop ebp
ret
push ebp
push dword [edi + 0x1c]
call fcn.00462bf0
add esp, 8
test eax, eax
je 0x4a1c19
cmp dword [eax + 8], 0
pop edi
setne al
pop ebp
ret
push ebx
push esi
push 1
push ebp
push dword [edi + 0x1c]
call fcn.004628d0
mov esi, dword [ebp + 0x18]
xor eax, eax
add esp, 0xc
xor bl, bl
cmp dword [esi], eax
cmove esi, eax
test esi, esi
je 0x4a1d06
nop dword [eax]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, 8
ja case.0x4a1c51.1
jmp dword [eax*4 + 0x4a1d20]
mov ecx, dword [ecx + 0x18]
imul eax, ecx, 0x64
cmp byte [eax + 0x50b415], 0
je 0x4a1c80
cmp ecx, 0x140
je 0x4a1c80
push ecx
call fcn.00409900
add esp, 4
test al, al
jne 0x4a1c80
xor bl, bl
jmp 0x4a1cd1
mov bl, 1
jmp 0x4a1cd1
push edi
push ecx
call fcn.004a1be0
add esp, 8
mov bl, al
jmp 0x4a1cd1
mov eax, dword [ecx + 0x18]
cmp eax, 0xed
jg 0x4a1cd7
je 0x4a1caf
sub eax, 0xa6
cmp eax, 3
ja case.0x4a1c51.1
jmp dword [eax*4 + 0x4a1d44]
movups xmm0, xmmword [ecx + 0x54]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
test dword [ecx + 0x1c], 0xc000
sete bl
test bl, bl
jne 0x4a1d06
jmp 0x4a1cf3
sub eax, 0x106
cmp eax, 0xcc
ja case.0x4a1c51.1
movzx eax, byte [eax + 0x4a1d5c]
jmp dword [eax*4 + 0x4a1d54]
xor bl, bl
mov esi, dword [esi]
cmp dword [esi], 0
je 0x4a1d06
test esi, esi
jne 0x4a1c40
jmp 0x4a1d06
mov bl, 1
push ebp
push dword [edi + 0x1c]
movzx esi, bl
call fcn.00462bf0
add esp, 8
mov dword [eax + 8], esi
mov al, bl
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x4b0d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd0
mov eax, dword [0x886f80]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
mov ebp, dword [esp + 0xdc]
push esi
push edi
mov byte [esp + 0x13], 0
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 0x9a1af9e2
lea ebx, [ebp + 0x21]
mov dword [esp + 0x18], 0x68f185bf
xor esi, esi
mov dword [esp + 0x1c], 0x11fc1257
mov dword [esp + 0x20], 0x1102e80b
mov dword [esp + 0x24], 0x5ca350fa
mov dword [esp + 0x28], 0x4746a4a4
mov dword [esp + 0x2c], 0xe3b27d27
mov dword [esp + 0x30], 0xe6d2b0fb
mov dword [esp + 0x34], 0xb7e9ceb3
mov dword [esp + 0x38], 0x973e6152
mov dword [esp + 0x3c], 0xc49cc90d
mov dword [esp + 0x40], 0xd7208212
mov dword [esp + 0x44], 0x726502ea
mov dword [esp + 0x48], 0xe1fe62c0
mov dword [esp + 0x4c], 0xb62fbd1f
mov dword [esp + 0x50], 0xde23f35b
mov dword [esp + 0x54], 0xb6fa45ae
mov dword [esp + 0x58], 0x96da7e6b
mov dword [esp + 0x5c], 0x5a6e4a60
mov dword [esp + 0x60], 0xce0b6b31
mov dword [esp + 0x64], 0xdf36242c
mov dword [esp + 0x68], 0x705db59
mov dword [esp + 0x6c], 0xf1ddac9b
mov dword [esp + 0x70], 0xcd1c8466
mov dword [esp + 0x74], 0x4c73203b
mov dword [esp + 0x78], 0x631da72a
mov dword [esp + 0x7c], 0xc971e849
mov dword [esp + 0x80], 0xd6489a15
mov dword [esp + 0x84], 0xf7c8dddb
mov dword [esp + 0x88], 0xe8efd982
mov dword [esp + 0x8c], 0x85984b88
mov dword [esp + 0x90], 0xd16b8fee
mov dword [esp + 0x94], 0xd49d97b
mov dword [esp + 0x98], 0x5f6cc66e
mov dword [esp + 0x9c], 0xadcafad9
mov dword [esp + 0xa0], 0xad023488
mov dword [esp + 0xa4], 0x9930735
mov dword [esp + 0xa8], 0xb0567e58
mov dword [esp + 0xac], 0x336dce36
mov dword [esp + 0xb0], 0xe3c1e448
mov dword [esp + 0xb4], 0xdcc4a549
mov dword [esp + 0xb8], 0x587873fa
mov dword [esp + 0xbc], 0xeed94361
mov dword [esp + 0xc0], 0x9a47cbff
mov dword [esp + 0xc4], 0x846d0167
mov dword [esp + 0xc8], 0xfa0074a2
mov dword [esp + 0xcc], 0xef868430
mov dword [esp + 0xd0], 0x87935a0c
mov dword [esp + 0xd4], 0x19bc96be
mov dword [esp + 0xd8], 0xb5b95c74
push edi
push ebx
call fcn.00462240
add esp, 8
test al, al
jne 0x4b0f4b
inc esi
add edi, 0x14
cmp esi, 0xa
jb 0x4b0f32
jmp 0x4b0f50
mov byte [esp + 0x13], 1
lea eax, [esp + 0x13]
push eax
push 3
push 0x4b0f80
push ebp
call fcn.00417d90
mov ecx, dword [esp + 0xec]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5b77
add esp, 0xd0
ret
Function at 0x4b23d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x24]
push esi
movzx eax, word [ebx + 0x16]
push edi
mov edi, dword [esp + 0x20]
cmp ax, 0xffff
je 0x4b2406
movsx ecx, ax
mov eax, dword [esp + 0x18]
push edi
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*4]
call eax
add esp, 4
test al, al
je 0x4b2553
mov ax, word [ebx + 0xa]
mov ecx, 0x1fff
and ax, cx
movzx eax, ax
push eax
push dword [edi + 0x18]
call fcn.004b3030
add esp, 8
test al, al
je 0x4b2553
mov al, byte [ebx + 4]
test al, al
jle 0x4b243f
movzx ecx, byte [edi + 0x31]
movsx eax, al
cmp ecx, eax
jne 0x4b2553
test byte [ebx + 8], 1
jne 0x4b244f
cmp byte [ebp], 0
jne 0x4b244f
xor dl, dl
jmp 0x4b2451
mov dl, 1
mov byte [ebp], dl
test byte [edi + 0x1c], 1
je 0x4b24a6
test byte [ebx + 8], 4
jne 0x4b24a6
lea eax, [ebp + 1]
mov cl, 1
mov byte [eax], cl
test dl, dl
je 0x4b2473
test cl, cl
jne 0x4b2553
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x24]
imul eax, ecx, 0x64
cmp byte [eax + 0x50b415], 0
je 0x4b24b3
xor eax, eax
test edx, edx
je 0x4b24b3
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
cmp ecx, eax
jne 0x4b2553
inc eax
cmp eax, edx
jb 0x4b2490
mov eax, dword [edi + 0x18]
jmp 0x4b24b5
cmp byte [ebp + 1], 0
lea eax, [ebp + 1]
jne 0x4b2463
xor cl, cl
jmp 0x4b2465
mov eax, ecx
mov cl, byte [ebx + 0xc]
cmp cl, 7
ja 0x4b24cc
movzx esi, byte [ebp + 2]
shr esi, cl
and esi, 1
mov dword [esp + 0x10], esi
jmp 0x4b24d4
mov dword [esp + 0x10], 0
imul eax, eax, 0x64
mov cl, 1
xor esi, esi
mov byte [esp + 0x1c], cl
cmp byte [eax + 0x50b414], 0
jbe 0x4b254b
add ebx, 0xe
nop dword [eax + eax]
push ebp
push dword [esp + 0x2c]
mov ecx, esi
mov eax, esi
xor ecx, dword [esp + 0x18]
cmp esi, 2
push edx
cmovb eax, ecx
push eax
movzx eax, word [ebx]
push edi
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*8]
push eax
push dword [esp + 0x30]
call fcn.004b2560
add esp, 0x1c
test al, al
je 0x4b2549
imul eax, dword [edi + 0x18], 0x64
inc esi
mov edx, dword [esp + 0x24]
add ebx, 2
movzx eax, byte [eax + 0x50b414]
cmp esi, eax
jb 0x4b24f0
mov cl, byte [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, cl
pop ebx
pop ecx
ret
xor cl, cl
pop edi
pop esi
pop ebp
mov al, cl
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x4c8940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x16c
mov eax, dword [0x886f80]
xor eax, esp
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x180]
push ebx
mov ebx, dword [esp + 0x180]
push esi
mov esi, dword [esp + 0x178]
push edi
push 0xff
mov dword [esp + 0x18], eax
lea eax, [esp + 0x79]
push 0
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x80], 0
call fcn.004e6e40
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c8995
push esi
sub ecx, edx
lea eax, [esp + 0x78]
push ecx
push str._Z_zu_s
push eax
call fcn.004c84f0
lea esi, [esp + 0x84]
xor edi, edi
add esp, 0x10
add esi, eax
cmp dword [esp + 0x184], edi
jbe 0x4c8b7b
mov ecx, 1
mov dword [esp + 0xc], ecx
push ebp
mov eax, dword [ebx + edi*4]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
cmp ebp, 6
jne 0x4c8a35
mov ebx, dword [esp + 0x14]
mov byte [esi], 0x50
inc esi
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x1c]
cmp eax, 8
ja case.0x4c89f4.1
jmp dword [eax*4 + 0x4c8ba8]
mov eax, 1
jmp 0x4c8a15
mov eax, 2
jmp 0x4c8a15
mov eax, 3
jmp 0x4c8a15
mov eax, 4
push eax
push str.U3AS_d
push esi
call fcn.004c84f0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add esi, eax
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
test dword [esp + 0x184], ecx
je 0x4c8a42
mov byte [esi], 0x4b
inc esi
movzx edx, byte [ebx + 0x11]
movzx eax, byte [ebx + 0x10]
imul edx, eax
cmp edx, 1
jbe 0x4c8a90
xor ecx, ecx
test edi, edi
je 0x4c8a7f
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
cmp dword [eax], 6
jne 0x4c8a6f
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp ebx, eax
je 0x4c8b31
inc ecx
cmp ecx, edi
jb 0x4c8a60
push edx
push str.Dv_d_
push esi
call fcn.004c84f0
add esp, 0xc
add esi, eax
cmp ebp, 8
je 0x4c8b48
cmp ebp, 0xd
je 0x4c8b41
movsx eax, byte [ebx + 4]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x86531c
mov dword [esp + 0x20], 0x53b75c
mov dword [esp + 0x24], 0x539408
mov dword [esp + 0x28], 0x865320
mov dword [esp + 0x2c], str.dhcsml
mov dword [esp + 0x30], 0x865328
mov dword [esp + 0x34], 0x86532c
mov dword [esp + 0x38], 0x539418
mov dword [esp + 0x3c], 0x865330
mov dword [esp + 0x40], 0x865334
mov dword [esp + 0x44], 0x865338
mov dword [esp + 0x48], 0x53b768
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x6c], 0
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + eax*4 + 0x1c]
jmp 0x4c8b4d
push 0x8652f4
push esi
call fcn.004c84f0
add esp, 8
jmp 0x4c8b5c
mov eax, str.9ocl_event
jmp 0x4c8b4d
mov eax, str.11ocl_sampler
push eax
push 0x508570
push esi
call fcn.004c84f0
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc edi
mov ebx, dword [esp + 0x14]
add esi, eax
rol ecx, 1
mov dword [esp + 0x10], ecx
cmp edi, dword [esp + 0x188]
jb 0x4c89d4
pop ebp
lea eax, [esp + 0x74]
push eax
call fcn.004f8a78
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
mov dword [ecx], eax
mov ecx, dword [esp + 0x170]
pop esi
pop ebx
xor ecx, esp
call fcn.004e5b77
add esp, 0x16c
ret
Function at 0x4cf780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x64]
xorps xmm0, xmm0
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], 0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
movups xmm0, xmmword [esp + 0x2c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], eax
movups xmmword [esp + 0x2c], xmm0
test eax, eax
je 0x4cfad5
push ebx
push ebp
push esi
push edi
mov esi, dword [eax + 0x10]
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
test eax, eax
je 0x4cfab9
test esi, esi
je 0x4cfab9
xor ebp, ebp
cmp dword [eax], ebp
cmovne ebp, eax
mov dword [esp + 0x10], ebp
cmp dword [esi + 0xc], 1
jne 0x4cfa91
mov eax, dword [esp + 0x7c]
test dword [esi + 0x1c], eax
je 0x4cfa91
push esi
call fcn.00417190
add esp, 4
test al, al
jne 0x4cfa91
push dword [esi + 0x20]
call fcn.004607c0
add esp, 4
test al, al
je 0x4cfa91
cmp dword [esi + 0x18], 0
mov eax, esi
je 0x4cf862
nop dword [eax]
mov ecx, dword [eax + 0x18]
cmp ecx, 5
je 0x4cfa91
test ecx, ecx
jne 0x4cf844
xor eax, eax
jmp 0x4cf85c
movups xmm0, xmmword [eax + 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
mov ecx, dword [eax]
xor eax, eax
cmp dword [ecx + 0xc], 1
cmove eax, ecx
cmp dword [eax + 0x18], 0
jne 0x4cf830
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4cfa91
push eax
push dword [esp + 0x7c]
call fcn.00462bf0
add esp, 8
test eax, eax
je 0x4cfa91
push dword [esp + 0x80]
mov edi, dword [eax + 8]
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00417200
mov eax, dword [esp + 0x78]
xor edx, edx
add esp, 0xc
cmp dword [eax], edx
je 0x4cfa79
mov eax, dword [eax]
nop word [eax + eax]
cmp dword [eax + 0x18], 4
jne 0x4cf8c2
mov eax, dword [eax + 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0xc]
lea edi, [eax + ecx*8]
mov eax, dword [esp + 0x6c]
inc edx
mov eax, dword [eax + edx*4]
test eax, eax
jne 0x4cf8b0
mov edx, dword [edi + 0x14]
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x18], ebp
xor ecx, ecx
nop
mov eax, dword [esp + 0x6c]
mov esi, dword [ecx + eax]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], esi
mov ecx, dword [esi + 0x18]
jmp dword [ecx*4 + 0x4cfadc]
xor ebx, ebx
lea eax, [ebx + 0x48]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.00407b40
push esi
call fcn.00417190
add esp, 0xc
mov esi, ebp
mov dword [esp + 0x1c], esi
test ebp, ebp
je 0x4cfaab
mov eax, dword [ebp]
test eax, eax
je 0x4cfaab
xor ebp, ebp
cmp dword [eax], ebp
cmovne ebp, eax
jmp 0x4cfaad
xor ebp, ebp
mov dword [esp + 0x10], ebp
test esi, esi
jne 0x4cf7e6
push dword [esp + 0x20]
call fcn.00406fa0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4cf7c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x4d0a10
Capabilities:
Encode data using xor
Encrypt data using speck
Inspect section memory permissions

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
xor cl, cl
push edi
mov edi, dword [esp + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x10], 0
mov edx, dword [edi + 0x18]
imul eax, edx, 0x64
cmp byte [eax + 0x519893], cl
jbe 0x4d0aec
movzx eax, byte [eax + 0x519893]
mov eax, dword [edi + eax*4 + 0x30]
mov ecx, eax
and ecx, 0x7f
mov ebp, eax
cmp ecx, 0x1b
je 0x4d0a72
cmp ecx, 0x1a
je 0x4d0a72
cmp ecx, 0x1c
je 0x4d0a72
cmp ecx, 0x1d
je 0x4d0a72
xor bl, bl
mov byte [esp + 0x28], bl
jmp 0x4d0a77
mov byte [esp + 0x28], 1
cmp ecx, 0x40
jb 0x4d0a8b
cmp ecx, 0x5f
ja 0x4d0a8b
add eax, 0xffffffc0
xor eax, ebp
and eax, 0x7f
xor eax, ebp
mov ebx, eax
and ebx, 0x7f
cmp ebx, 0x60
jb 0x4d0b10
cmp ebx, 0x6f
ja 0x4d0b10
mov ecx, eax
mov edx, eax
shr ecx, 0x19
shr edx, 7
and ecx, 1
and edx, 0x3f
inc ecx
add edx, ecx
shr edx, 1
lea ecx, [ebx + edx]
cmp ecx, 0x80
jne 0x4d0abf
or ebx, 0xffffffff
jmp 0x4d0acd
lea ecx, [edx + eax]
mov ebx, 1
and ecx, 0x1f
shl ebx, cl
dec ebx
and eax, 0x1f
mov edx, 1
mov ecx, eax
shl edx, cl
mov cl, byte [esp + 0x28]
dec edx
not edx
and edx, ebx
movzx eax, dx
mov edx, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
lea eax, [edx - 0x21]
cmp eax, 0x233
ja 0x4d14bc
movzx eax, byte [eax + 0x4d158c]
jmp dword [eax*4 + 0x4d152c]
mov ebp, eax
shr ebp, 7
mov ecx, ebp
and ecx, 0x3f
add ecx, ebx
cmp ecx, 0x40
jne 0x4d0b2e
or ecx, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
jmp 0x4d0b63
lea ecx, [eax + ebp]
xor esi, esi
and ecx, 0x3f
xor ebp, ebp
bts ebp, ecx
cmp ecx, 0x20
cmovae esi, ebp
xor ebp, esi
mov dword [esp + 0x14], esi
cmp ecx, 0x40
mov ecx, esi
mov esi, dword [esp + 0x2c]
cmovae ecx, ebp
add ebp, 0xffffffff
mov dword [esp + 0x18], ebp
adc ecx, 0xffffffff
mov dword [esp + 0x14], ecx
mov ecx, ebp
cmp ebx, 0x40
jne 0x4d0b81
or ebx, 0xffffffff
or ebp, 0xffffffff
not ebx
not ebp
and ebx, ecx
and ebp, dword [esp + 0x14]
mov cl, byte [esp + 0x28]
jmp 0x4d0af4
xor ebx, ebx
xor ebp, ebp
and eax, 0x3f
bts ebx, eax
cmp eax, 0x20
cmovae ebp, ebx
xor ebx, ebp
cmp eax, 0x40
cmovae ebp, ebx
add ebx, 0xffffffff
not ebx
adc ebp, 0xffffffff
and ebx, ecx
mov cl, byte [esp + 0x28]
not ebp
and ebp, dword [esp + 0x14]
jmp 0x4d0af4
add edx, 0xffffffd3
cmp edx, 0xf
ja case.0x4d14cb.49
movzx eax, byte [edx + 0x4d17c8]
jmp dword [eax*4 + 0x4d17c0]
mov al, 4
jmp 0x4d14d8
xor al, al
or byte [esi + 0x133], al
push edi
call fcn.004d1990
add esp, 4
test al, al
je 0x4d14f2
or byte [esi + 0x132], 0x40
mov eax, dword [edi + 0x18]
cmp eax, 0x9f
je 0x4d151b
cmp eax, 0x9d
je 0x4d151b
cmp eax, 0x92
je 0x4d151b
cmp eax, 0x90
je 0x4d151b
cmp eax, 0x37
je 0x4d151b
cmp eax, 0x35
jne 0x4d1522
or byte [esi + 0x12f], 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret