joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
cmp dword [edx + 0x18], 0
jne 0x4cd2bb
movzx eax, word [ecx + 0x14]
mov ecx, dword [ecx + 4]
push eax
push dword [ebp + 0xc]
call fcn.004cb9a0
add esp, 8
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x1c]
push edi
mov dword [ebp - 4], ebx
mov edi, dword [esi + 4]
mov eax, edi
mov edx, dword [esi]
imul eax, ebx
lea eax, [eax + edx*2]
add eax, dword [ecx + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, edi
sub ebx, dword [ecx + 8]
imul ebx, dword [ebp + 0xc]
sub ebx, dword [ecx + 4]
add ebx, dword [ecx]
mov ecx, dword [esi + 8]
add ebx, edx
sub ecx, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [esi + 0xc]
sub ecx, edi
mov dword [ebp + 8], ecx
lea ecx, [edx + edx]
sub dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
sub dword [ebp + 0xc], edx
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0xc], ecx
mov edi, edx
nop word [eax + eax]
movzx ecx, word [eax]
movzx esi, byte [ebx]
mov edx, ecx
and edx, 0x7e0
inc esi
shl edx, 0x10
inc ebx
or edx, ecx
shr esi, 3
mov ecx, dword [ebp - 0xc]
and edx, 0xfffff81f
sub ecx, edx
imul esi, ecx
shr esi, 5
add esi, edx
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
and ecx, 0x7e0
xor ecx, esi
mov word [eax], cx
add eax, 2
sub edi, 1
jne 0x4cd320
add eax, dword [ebp - 4]
add ebx, dword [ebp + 0xc]
sub dword [ebp + 8], 1
mov edx, dword [ebp - 8]
jne 0x4cd318
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4cd380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, 0x20
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
imul ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
lea eax, [ecx + eax*2]
movzx ecx, byte [ebp + 0x14]
inc ecx
shr ecx, 3
imul edi, ecx
sub ebx, ecx
nop word [eax + eax]
movzx ecx, word [eax]
mov edx, ecx
and edx, 0x7e0
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
imul edx, ebx
add edx, edi
shr edx, 5
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax], cx
add eax, dword [ebp - 4]
sub esi, 1
jne 0x4cd3c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cd410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [eax + 0x1c]
dec esi
mov edx, edi
mov dword [ebp - 8], ecx
imul edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
add edx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
lea ebx, [edx + eax*2]
movzx eax, word [ecx + 0x14]
movzx ecx, ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0x1a], 0
je 0x4cd518
mov edx, dword [ebp + 8]
xor edx, dword [ebp + 0xc]
movzx eax, word [eax + 0x18]
and edx, 1
mov dword [ebp + 0x14], eax
test esi, esi
js 0x4cd538
movzx ecx, ax
test edx, edx
mov eax, dword [ebp - 4]
movzx eax, ax
cmove ecx, eax
mov eax, dword [ebp - 4]
movzx edi, cx
movzx ecx, ax
mov eax, dword [ebp + 0x14]
movzx eax, ax
cmove ecx, eax
movzx ecx, cx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0x10]
movzx edx, cx
mov dword [ebp - 8], edx
movzx edx, di
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], ebx
test eax, eax
jle 0x4cd4fc
test bl, 2
je 0x4cd4c9
lea eax, [ebx + 2]
movzx edx, cx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebx], di
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], edx
movzx ecx, di
jmp 0x4cd4cc
mov ecx, dword [ebp - 8]
sar eax, 1
push eax
movzx ecx, cx
shl ecx, 0x10
movzx eax, dx
or ecx, eax
push ecx
push dword [ebp + 8]
call dword [0x60ffa4]
mov eax, dword [ebp + 0x14]
add esp, 0xc
test al, 1
je 0x4cd4f9
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov word [edx + eax*2 - 2], cx
mov ecx, dword [ebp + 0xc]
add ebx, dword [ebp - 0xc]
sub esi, 1
movzx eax, cx
movzx ecx, di
mov edi, eax
mov dword [ebp + 0xc], ecx
jns 0x4cd490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
js 0x4cd538
nop dword [eax]
push dword [ebp + 0x10]
push ecx
push ebx
call dword [0x60ffa8]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ebx, edi
sub esi, 1
jns 0x4cd520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4cd6b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
movzx eax, cl
and esi, 0xffffff00
mov ebx, 0x100
shl esi, 0xe
or esi, eax
mov eax, ecx
shr eax, 3
shr ecx, 0x18
and eax, 0x1fe000
shl esi, 2
sub ebx, ecx
push edi
mov edi, dword [ebp + 8]
or esi, eax
shr ebx, 3
movzx eax, word [edx]
lea edx, [edx + 2]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, ebx
add ecx, esi
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [edx - 2], ax
sub edi, 1
jne 0x4cd6e5
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4cd760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push esi
push edi
mov edi, dword [ecx + 0x10]
mov edx, dword [eax + 0x1c]
imul edx, dword [ebp + 0xc]
add edx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], edi
lea eax, [edx + eax*2]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x14]
movsx esi, word [edx]
test esi, esi
jle 0x4cd80d
push ebx
mov ebx, dword [ebp + 0x10]
lea edx, [edx + esi*2]
mov dword [ebp + 0x14], edx
lea ecx, [esi + esi]
movzx edx, byte [ebx]
add ebx, esi
mov dword [ebp + 0x10], ebx
test edx, edx
je 0x4cd800
lea ecx, [edx + 1]
mov ebx, 0x20
imul ecx, edi
shr ecx, 0xb
mov edi, ecx
imul edi, dword [ebp + 0xc]
sub ebx, ecx
nop dword [eax]
movzx ecx, word [eax]
mov edx, ecx
and edx, 0x7e0
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
imul edx, ebx
add edx, edi
shr edx, 5
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax], cx
add eax, 2
sub esi, 1
jne 0x4cd7c0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
jmp 0x4cd802
add eax, ecx
mov edx, dword [ebp + 0x14]
movsx esi, word [edx]
test esi, esi
jg 0x4cd792
pop ebx
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x4cdbd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp dword [edx + 0x18], 0
jne 0x4cdc04
movzx eax, word [ecx + 0x14]
push eax
mov eax, 0x100
sub eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 4]
push eax
push dword [ebp + 0xc]
call fcn.004cd9f0
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x1c]
push edi
mov dword [ebp - 4], ebx
mov edi, dword [esi + 4]
mov eax, edi
mov edx, dword [esi]
imul eax, ebx
lea eax, [eax + edx*2]
add eax, dword [ecx + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, edi
sub ebx, dword [ecx + 8]
imul ebx, dword [ebp + 0xc]
sub ebx, dword [ecx + 4]
add ebx, dword [ecx]
mov ecx, dword [esi + 8]
add ebx, edx
sub ecx, edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0xc]
sub ecx, edi
mov esi, dword [ebp - 8]
mov dword [ebp + 8], ecx
lea ecx, [edx + edx]
sub dword [ebp - 4], ecx
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
sub dword [ebp + 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
mov edi, edx
nop dword [eax]
movzx edx, byte [ebx]
inc ebx
movzx ecx, word [eax]
inc edx
imul edx, esi
mov esi, ecx
and esi, 0x7e0
shl esi, 0x10
or esi, ecx
mov ecx, 0x20
and esi, 0xfffff81f
shr edx, 0xb
sub ecx, edx
imul edx, dword [ebp - 0x10]
imul esi, ecx
add esi, edx
shr esi, 5
mov ecx, esi
shr ecx, 0x10
xor ecx, esi
and ecx, 0x7e0
xor ecx, esi
mov esi, dword [ebp - 8]
mov word [eax], cx
add eax, 2
sub edi, 1
jne 0x4cdc70
add eax, dword [ebp - 4]
add ebx, dword [ebp + 0xc]
sub dword [ebp + 8], 1
mov edx, dword [ebp - 0xc]
jne 0x4cdc67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cdce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, 0x20
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
imul ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
lea eax, [ecx + eax*2]
movzx ecx, byte [ebp + 0x14]
inc ecx
imul ecx, dword [esi + 0x10]
mov esi, dword [ebp + 0x10]
shr ecx, 0xb
imul edi, ecx
sub ebx, ecx
nop dword [eax + eax]
movzx ecx, word [eax]
mov edx, ecx
and edx, 0x7e0
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
imul edx, ebx
add edx, edi
shr edx, 5
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax], cx
add eax, dword [ebp - 4]
sub esi, 1
jne 0x4cdd20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4cdd70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push ebx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 4], edx
imul edx, dword [ebp + 0xc]
add edx, dword [eax + 0x10]
sub dword [ebp + 0x14], 1
mov eax, dword [ebp + 8]
lea ebx, [edx + eax*2]
mov dword [ebp + 0xc], ebx
js 0x4cde22
push esi
push edi
mov edi, ecx
movzx eax, cl
and edi, 0xffffff00
shl edi, 0xe
or edi, eax
mov eax, ecx
shr eax, 3
and eax, 0x1fe000
shl edi, 2
or edi, eax
shr ecx, 0x18
mov eax, 0x100
sub eax, ecx
shr eax, 3
mov dword [ebp + 8], eax
nop dword [eax]
mov esi, dword [ebp + 0x10]
mov eax, ebx
mov ebx, dword [ebp + 8]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov edx, ecx
and edx, 0x7e0
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
imul edx, ebx
add edx, edi
shr edx, 5
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax - 2], cx
sub esi, 1
jne 0x4cddd8
mov ebx, dword [ebp + 0xc]
add ebx, dword [ebp - 4]
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ebx
jns 0x4cddd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d06b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
imul edx, edi
sub edi, dword [ecx + 0x10]
add edx, dword [eax + 0x10]
mov eax, dword [ecx + 8]
lea edx, [edx + esi*4]
sub esi, dword [ecx + 0xc]
mov ebx, dword [eax + 0x1c]
imul edi, ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ebx
lea ecx, [edi + esi*2]
add ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
nop
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, edx
mov dword [ebp + 0xc], ecx
nop dword [eax + eax]
movzx edx, word [ecx]
lea eax, [eax + 4]
mov edi, dword [eax - 4]
mov esi, edx
and esi, 0xf
mov ecx, edx
shl esi, 0x14
and ecx, 0xf000
or esi, ecx
mov ecx, edx
shr ecx, 4
and edx, 0xf00
shl esi, 4
and ecx, 0xf
or esi, ecx
or esi, edx
mov edx, 0x100
mov ebx, esi
shl ebx, 4
or ebx, esi
mov esi, edi
mov ecx, ebx
and esi, 0xff00ff
shr ecx, 0x18
sub edx, ecx
mov ecx, edi
shr ecx, 8
imul esi, edx
and ecx, 0xffff00ff
imul ecx, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
shr esi, 8
xor esi, ecx
mov ecx, dword [ebp + 0xc]
and esi, 0xff00ff
add ecx, 2
mov dword [ebp + 0xc], ecx
xor esi, edi
add esi, ebx
sub dword [ebp + 8], 1
mov dword [eax - 4], esi
jne 0x4d0700
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
sub dword [ebp + 0x14], 1
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
jne 0x4d06f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4d0a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp + 0xc]
imul edx, edi
sub edi, dword [ecx + 0x10]
add edx, dword [eax + 0x10]
mov eax, dword [ecx + 8]
lea ebx, [edx + esi*2]
sub esi, dword [ecx + 0xc]
mov edx, dword [eax + 0x1c]
imul edi, edx
mov dword [ebp - 0x10], edx
mov dword [ebp + 0xc], ebx
lea edx, [edi + esi*2]
add edx, dword [eax + 0x10]
movzx eax, byte [ecx + 0x18]
inc eax
mov dword [ebp + 8], edx
shr eax, 3
mov dword [ebp - 8], eax
nop word [eax + eax]
mov ecx, dword [ebp + 0x10]
mov edi, edx
mov eax, ebx
sub edi, ebx
mov ebx, ecx
nop dword [eax + eax]
movzx edx, word [eax]
lea eax, [eax + 2]
movzx ecx, word [edi + eax - 2]
mov esi, edx
and esi, 0x7e0
shl esi, 0x10
or esi, edx
mov edx, ecx
and edx, 0x7e0
and esi, 0xfffff81f
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
sub edx, esi
imul edx, dword [ebp - 8]
shr edx, 5
add edx, esi
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax - 2], cx
sub ebx, 1
jne 0x4d0ad0
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add ebx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], edx
jne 0x4d0ac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d12c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x1c]
mov edx, ecx
imul edx, ebx
sub ebx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi + 8]
add edx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
lea edi, [edx + eax*2]
mov edx, dword [ecx + 0x1c]
imul ebx, edx
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edx
sub ebx, dword [esi + 0xc]
add ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
add ebx, eax
mov dword [ebp + 0xc], ebx
call fcn.004a5b10
mov dword [ebp - 4], eax
movzx eax, byte [esi + 0x18]
inc eax
shr eax, 3
mov dword [ebp - 8], eax
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp + 0x10]
nop
mov cl, byte [edi]
lea edi, [edi + 1]
mov esi, dword [ebp - 4]
lea eax, [eax + 2]
movzx edx, word [eax - 2]
movzx ecx, cl
movzx ecx, word [esi + ecx*2]
mov esi, edx
and esi, 0x7e0
shl esi, 0x10
or esi, edx
mov edx, ecx
and edx, 0x7e0
and esi, 0xfffff81f
shl edx, 0x10
or edx, ecx
and edx, 0xfffff81f
sub edx, esi
imul edx, dword [ebp - 8]
shr edx, 5
add edx, esi
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0x7e0
xor ecx, edx
mov word [eax - 2], cx
sub ebx, 1
jne 0x4d1320
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add edi, dword [ebp - 0xc]
add ebx, dword [ebp - 0x10]
sub dword [ebp + 0x14], 1
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], ebx
jne 0x4d1318
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4d88f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a7c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [0x61a268], 1
jne 0x4d8969
cmp dword [0x61a250], 3
jg 0x4d8969
test esi, esi
jne 0x4d8969
push 3
push 0x12c
push str.f:my_lab_tabexplorerextab_masterlibraryui_gfxicon_util.cpp
lea ecx, [ebp - 0xc4]
call fcn.0046c100
mov dword [ebp - 4], ebx
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_header.
mov dword [ebp - 0x14], ebx
call fcn.00403840
test bl, 1
je 0x4d8979
lea ecx, [ebp - 0xc4]
call fcn.0046c520
push 0x7c
push 0
push esi
call fcn.0056f6e0
mov eax, dword [ebp + 8]
add esp, 0xc
neg eax
mov dword [esi], 0x7c
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x200001
mov dword [esi + 0x28], 0xff0000
mov dword [esi + 0x2c], 0xff00
mov dword [esi + 0x30], 0xff
mov dword [esi + 0x34], 0xff000000
mov dword [esi + 0x38], 0x57696e20
mov dword [esi + 0x6c], 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
Function at 0x4e51e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4e520a
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4e5222
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4e5217
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4e5253
cmp esi, ecx
jae 0x4e5217
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4e5241
cmp esi, ecx
jae 0x4e5217
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e9dc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a897a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.view::FocusTraversable.0
mov dword [edi], vtable.view::Widget.0
mov dword [edi + 4], vtable.view::Widget.1.0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 5
lea esi, [edi + 0x48]
mov dword [edi + 0x44], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00550175
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea ecx, [edi + 0x80]
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 1
mov dword [edi + 0x64], 0
mov word [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push 0x64
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
call fcn.004d63a0
mov dword [edi + 0x84], 0x64
mov eax, edi
mov byte [edi + 0x88], 1
mov dword [edi + 0x8c], 0
mov word [edi + 0x90], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ea4b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp byte [edi + 0x3c], 0
jne 0x4ea4d6
cmp byte [edi + 8], 0
jne 0x4ea4d2
mov eax, dword [edi]
cmp eax, 2
je 0x4ea4d2
cmp eax, 5
jne 0x4ea4d6
xor al, al
jmp 0x4ea4d8
mov al, 1
mov byte [esi + 0x90], al
mov eax, dword [edi + 4]
test eax, eax
jne 0x4ea50b
push 0x10
call fcn.00550175
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax + 4], 0
mov dword [eax], vtable.view::DefaultWidgetDelegate.0
mov dword [eax + 8], esi
cmp dword [edi], 3
setne cl
mov byte [eax + 0xc], cl
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x4ea522
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4ea529
mov ecx, esi
call fcn.00509a80
cmp dword [esi + 0x34], 0
push ebx
mov dword [esi + 0x14], eax
jne 0x4ea554
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xac]
mov ecx, dword [esi + 0x34]
mov ebx, eax
cmp ebx, ecx
je 0x4ea554
test ecx, ecx
je 0x4ea551
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x34], ebx
push 4
call fcn.00550175
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebx], vtable.view::DefaultThemeProvider.0
mov ecx, dword [esi + 0x40]
cmp ebx, ecx
je 0x4ea57d
test ecx, ecx
je 0x4ea57a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x40], ebx
cmp dword [edi], 4
jne 0x4ea5b9
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call ebx
test al, al
js 0x4ea5b4
push 2
call ebx
test al, al
js 0x4ea5b4
push 4
call ebx
test al, al
js 0x4ea5b4
push 5
call ebx
test al, al
js 0x4ea5b4
push 6
call ebx
test al, al
js 0x4ea5b4
xor al, al
jmp 0x4ea5b6
mov al, 1
mov byte [esi + 8], al
mov ecx, dword [esi + 0x14]
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi], 0
pop ebx
mov byte [esi + 0x91], 1
jne 0x4ea5d5
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x38], eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x4ec660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8cfe
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x60f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
test ecx, ecx
je 0x4ec6aa
mov eax, dword [ecx]
mov eax, dword [eax + 0xac]
call eax
mov byte [ebp - 0x14], al
test al, al
jne 0x4ec6ba
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [ebp - 0x14], al
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 0x18]
call fcn.004ed9d0
mov esi, dword [0x61a748]
test esi, esi
je 0x4ec6e1
cmp byte [esi + 4], bl
jne 0x4ec6e1
push 1
mov ecx, esi
call fcn.005189a0
xor esi, esi
mov byte [ebp + 0x1b], bl
test esi, esi
jne 0x4ec71a
push 0xcc
call fcn.00550175
add esp, 4
mov dword [ebp + 0x18], eax
push esi
push 1
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.00519f00
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x61a748], esi
mov byte [ebp + 0x1b], 1
jmp 0x4ec77b
cmp dword [0x61a268], 1
jne 0x4ec764
cmp dword [0x61a250], 3
jg 0x4ec764
cmp byte [esi + 4], bl
jne 0x4ec764
push 3
push 0xf4
push str.f:my_lab_tabexplorerextab_masterlibrary_viewcontrolsmenumenu_item_view.cpp
lea ecx, [ebp - 0xc4]
call fcn.0046c100
mov dword [ebp - 4], 1
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:_controller__IsBlockingRun__.
mov dword [ebp - 0x14], ebx
call fcn.00403840
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4ec77b
lea ecx, [ebp - 0xc4]
call fcn.0046c520
lea eax, [ebp - 0x14]
mov dword [edi + 0x88], esi
push eax
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00518480
mov ecx, edi
mov ebx, eax
call fcn.004ede90
cmp byte [ebp + 0x1b], 0
mov dword [edi + 0x88], 0
je 0x4ec7d1
mov ecx, dword [0x61a748]
xor eax, eax
cmp ecx, esi
cmove ecx, eax
mov dword [0x61a748], ecx
test esi, esi
je 0x4ec7d1
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, edi
call fcn.004ee970
test ebx, ebx
je 0x4ec7f4
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x4ec7f4
push dword [ebp - 0x14]
mov eax, dword [ecx]
push dword [ebx + 0x9c]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14