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

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x10], ebx
cmp esi, dword [ebx + 0x6c]
jle 0x471280
mov dword [ebx + 0x6c], esi
push dword [ebx + 0x68]
call fcn.0051723e
lea eax, [esi + esi*2]
push eax
call fcn.00517259
add esp, 8
mov dword [ebx + 0x68], eax
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov ebp, dword [ebx + 0x68]
push esi
push edi
push ebp
call fcn.00432570
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0x10]
mov ebx, edx
mov eax, dword [esp + 0x10]
imul ebx, edi
mov dword [esp + 0x14], edx
add ebx, dword [eax + 0x64]
mov eax, dword [eax + 0x50]
imul eax, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
sar eax, 8
mov dword [esp + 0x1c], eax
cmp eax, 0xfe
jge 0x4713b2
mov edi, dword [ebx]
mov ecx, ebp
add ebp, 3
mov edx, 0x100
mov dword [esp + 0x24], ebp
dec esi
movzx ebp, byte [ecx + 1]
movzx ebx, byte [ecx + 2]
or ebp, 0xff0000
imul ebp, eax
shl ebx, 0x10
shr ebp, 8
and ebp, 0xff00ff
mov eax, ebp
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, edi
imul ebx, dword [esp + 0x1c]
and eax, 0xff00ff
imul eax, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr edi, 8
mov ecx, ebx
and edi, 0xff00ff
shr ecx, 8
add ebp, edi
and ecx, 0xff00ff
mov eax, ebp
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebp
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [esp + 0x20]
xor edx, eax
mov eax, ebp
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebp, 8
sub ecx, eax
mov eax, dword [esp + 0x1c]
shl ecx, 8
or ecx, ebp
mov ebp, dword [esp + 0x24]
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
test esi, esi
jg 0x4712c5
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ecx, ebp
dec esi
add ebp, 3
mov ax, word [ecx]
movzx ecx, byte [ecx + 2]
or ecx, 0xffffff00
mov word [esp + 0x20], ax
movzx eax, byte [esp + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x20]
shl ecx, 8
or ecx, eax
mov dword [ebx], ecx
add ebx, edx
test esi, esi
jg 0x4713b2
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4713f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x10], ebx
cmp esi, dword [ebx + 0x6c]
jle 0x471420
mov dword [ebx + 0x6c], esi
push dword [ebx + 0x68]
call fcn.0051723e
lea eax, [esi + esi*2]
push eax
call fcn.00517259
add esp, 8
mov dword [ebx + 0x68], eax
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov ebp, dword [ebx + 0x68]
push esi
push edi
push ebp
call fcn.004328d0
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0x10]
mov ebx, edx
mov eax, dword [esp + 0x10]
imul ebx, edi
mov dword [esp + 0x14], edx
add ebx, dword [eax + 0x64]
mov eax, dword [eax + 0x50]
imul eax, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
sar eax, 8
mov dword [esp + 0x1c], eax
cmp eax, 0xfe
jge 0x471552
mov edi, dword [ebx]
mov ecx, ebp
add ebp, 3
mov edx, 0x100
mov dword [esp + 0x24], ebp
dec esi
movzx ebp, byte [ecx + 1]
movzx ebx, byte [ecx + 2]
or ebp, 0xff0000
imul ebp, eax
shl ebx, 0x10
shr ebp, 8
and ebp, 0xff00ff
mov eax, ebp
shr eax, 0x10
sub edx, eax
movzx eax, byte [ecx]
or ebx, eax
mov eax, edi
imul ebx, dword [esp + 0x1c]
and eax, 0xff00ff
imul eax, edx
shr edi, 8
and edi, 0xff00ff
imul edi, edx
mov edx, 0x100
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00ff
add ebx, eax
shr edi, 8
mov ecx, ebx
and edi, 0xff00ff
shr ecx, 8
add ebp, edi
and ecx, 0xff00ff
mov eax, ebp
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebp
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, ebx
mov ebx, dword [esp + 0x20]
xor edx, eax
mov eax, ebp
shr eax, 8
and edx, 0xff00ff
and eax, 0xff00ff
shl ebp, 8
sub ecx, eax
mov eax, dword [esp + 0x1c]
shl ecx, 8
or ecx, ebp
mov ebp, dword [esp + 0x24]
xor edx, ecx
mov dword [ebx], edx
add ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
test esi, esi
jg 0x471465
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ecx, ebp
dec esi
add ebp, 3
mov ax, word [ecx]
movzx ecx, byte [ecx + 2]
or ecx, 0xffffff00
mov word [esp + 0x20], ax
movzx eax, byte [esp + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x20]
shl ecx, 8
or ecx, eax
mov dword [ebx], ecx
add ebx, edx
test esi, esi
jg 0x471552
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x472420
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x18], edi
dec ebx
mov esi, dword [edi + 8]
mov eax, esi
mov ecx, esi
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
and ecx, 0xffff00ff
imul ecx, edx
shr esi, 8
and esi, 0xff00ff
imul esi, edx
shr eax, 8
xor eax, ecx
and eax, 0xff00ff
xor eax, esi
mov esi, dword [edi]
mov edx, dword [esi + 0xc]
imul edx, dword [esp + 0x24]
mov ecx, dword [esi]
add ecx, edx
mov dword [edi + 4], ecx
mov ebp, dword [esi + 0x10]
imul ebp, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
add ebp, ecx
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x24], ebp
cmp cl, 0xff
jb 0x4724cd
test ebx, ebx
js 0x4725cf
nop
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov esi, dword [esi + 0x10]
nop dword [eax]
mov dword [ecx], eax
dec edx
add ecx, esi
test edx, edx
jg 0x4724b0
mov esi, dword [edi]
add ebp, dword [esi + 0xc]
sub ebx, 1
jns 0x4724a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
test ebx, ebx
js 0x4725cf
mov ecx, eax
shr ecx, 8
and ecx, 0xff00ff
and eax, 0xff00ff
mov dword [esp + 0x2c], ecx
nop dword [eax]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov ebx, ecx
mov edx, 0x100
shr ecx, 0x10
mov esi, 0x100
sub edx, ecx
mov ecx, dword [ebp]
mov edi, ecx
shr ecx, 8
and ecx, 0xff00ff
and edi, 0xff00ff
imul ecx, edx
imul edi, edx
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
add ebx, ecx
and edi, 0xff00ff
mov ecx, ebx
add edi, eax
shr ecx, 8
mov edx, edi
and ecx, 0xff00ff
shr edx, 8
sub esi, ecx
and edx, 0xff00ff
shl esi, 8
mov ecx, ebx
shl ecx, 8
or esi, ecx
mov ecx, 0x100
sub ecx, edx
mov edx, 0x100
or ecx, edi
xor esi, ecx
mov ecx, ebx
shr ecx, 8
and esi, 0xff00ff
and ecx, 0xff00ff
shl ebx, 8
sub edx, ecx
mov ecx, dword [esp + 0x30]
shl edx, 8
dec ecx
or edx, ebx
mov dword [esp + 0x30], ecx
xor esi, edx
mov dword [ebp], esi
add ebp, dword [esp + 0x14]
test ecx, ecx
mov ecx, dword [esp + 0x2c]
jg 0x472503
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov esi, dword [ecx]
mov ecx, dword [esp + 0x2c]
add ebp, dword [esi + 0xc]
sub dword [esp + 0x20], 1
mov dword [esp + 0x24], ebp
jns 0x4724f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x47e2e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 0xcc
je 0x47e30c
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x180]
cmp byte [eax + 8], 0
je 0x47e393
mov ecx, dword [esi + 0x78]
lea ebx, [esi + 0x78]
nop
cmp ecx, dword [esi + 0x60]
jae 0x47e366
mov eax, dword [esi + 8]
mov edi, ecx
test eax, eax
je 0x47e347
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
mov edi, dword [ebx]
add esp, 4
mov eax, dword [esi + 0x184]
push 0
push ebx
push 0
mov eax, dword [eax + 4]
push esi
call eax
mov ecx, dword [ebx]
add esp, 0x10
cmp ecx, edi
je 0x47e3a9
cmp ecx, dword [esi + 0x60]
jb 0x47e325
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x180]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
xor ecx, ecx
mov eax, dword [esi + 0x180]
add esp, 8
cmp byte [eax + 8], cl
jne 0x47e320
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x497520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53efa0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
sub eax, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
js 0x49762e
mov ebx, dword [ecx]
test ebx, ebx
jle 0x497618
mov byte [ebp - 0x1c], 0
lea esi, [ecx + 4]
push dword [ebp - 0x1c]
lea esi, [esi + ebx*8]
push ebx
lea eax, [ecx + 4]
mov dword [ebp - 0x24], esi
push esi
push eax
mov dword [ebp - 0x10], eax
call fcn.00430620
mov edx, dword [ebp - 0x10]
add esp, 0x10
xor edi, edi
mov ecx, edx
cmp edx, esi
jae 0x49760c
add edi, dword [ecx + 4]
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp - 0x20], eax
cmp ecx, esi
jae 0x4975b5
cmp dword [ecx], eax
jne 0x4975b5
add edi, dword [ecx + 4]
dec ebx
add ecx, 8
cmp ecx, esi
jb 0x4975a6
mov eax, edi
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar eax, 8
test eax, eax
je 0x4975f4
cmp byte [ebp + 8], 0
je 0x4975dd
mov esi, 0xff
jmp 0x4975f4
and esi, 0x1ff
mov eax, esi
cmp esi, 0x100
jb 0x4975f4
mov esi, 0x1ff
sub esi, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x24]
mov dword [edx], eax
add edx, 8
mov dword [ebp - 0x10], edx
cmp ecx, esi
jb 0x497597
mov ecx, dword [ebp - 0x14]
mov dword [ecx], ebx
mov dword [edx - 4], 0
sub dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x14], ecx
jns 0x497561
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
Function at 0x4a9610
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe33
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.juce::ComponentPeer.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
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 [ebp - 4], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [0x582080]
add eax, 2
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], eax
mov byte [esi + 0x58], 0
mov edi, dword [0x588a20]
mov byte [ebp - 4], 3
mov dword [0x582080], eax
test edi, edi
jne 0x4a971f
push 0xe8
call fcn.005118c7
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4a9717
mov ecx, eax
call fcn.004a97c0
mov edi, eax
jmp 0x4a9719
xor edi, edi
mov dword [0x588a20], edi
mov ecx, dword [edi + 0x60]
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
cmp eax, dword [edi + 0x5c]
jle 0x4a9749
mov ecx, dword [ebp + 8]
cdq
add ecx, 8
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x58]
and eax, 0xfffffff8
push eax
call fcn.00406c50
mov ecx, dword [edi + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], esi
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x34]
lea ecx, [eax + edx*4]
cmp eax, ecx
je 0x4a976d
cmp esi, dword [eax]
je 0x4a979c
add eax, 4
cmp eax, ecx
jne 0x4a9762
lea ecx, [edx + 1]
cmp ecx, dword [edi + 0x30]
jle 0x4a9790
mov eax, ecx
add ecx, 8
cdq
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x2c]
and eax, 0xfffffff8
push eax
call fcn.00406c50
mov edx, dword [edi + 0x34]
lea eax, [edx + 1]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x2c]
mov dword [eax + edx*4], esi
mov eax, esi
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
Function at 0x4aac50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5401ed
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x24]
mov dword [ebx + 0x34], eax
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
mov eax, dword [edx + 0x30]
mov dword [ebx + 0x40], eax
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x44], eax
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x3c]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov eax, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov eax, dword [edx + 0x48]
mov dword [ebx + 0x58], eax
movzx eax, byte [edx + 0x4c]
mov byte [ebx + 0x5c], al
movzx eax, byte [edx + 0x4d]
mov byte [ebx + 0x5d], al
test esi, esi
je 0x4aadc5
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
je 0x4aada8
mov dword [ebp + 8], edi
test esi, esi
je 0x4aad96
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4aad8a
push 0xc
call fcn.005118c7
add esp, 4
test eax, eax
je 0x4aad59
mov dword [eax + 4], 0
mov dword [eax], vtable.juce::WeakReference_class_juce::Component__class_juce::ReferenceCountedObject_::SharedPointer.0
mov dword [eax + 8], esi
jmp 0x4aad5b
xor eax, eax
cmp dword [esi + 0x78], eax
je 0x4aad7f
lock inc dword [eax + 4]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x78], eax
test ecx, ecx
je 0x4aad7f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aad7f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x78]
mov dword [edi], eax
test eax, eax
je 0x4aada2
jmp 0x4aad8c
mov dword [edi], eax
lock inc dword [eax + 4]
add dword [ebx + 4], 4
jmp 0x4aadb7
mov dword [edi], 0
mov dword [edi], 0
add dword [ebx + 4], 4
jmp 0x4aadb7
lea eax, [ebp + 8]
mov ecx, ebx
push eax
push edi
call fcn.004a35c0
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x18]
mov dword [ebp + 8], esi
test esi, esi
jne 0x4aad23
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
Function at 0x4ab530
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540300
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov ebx, 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea eax, [edi + 0x1e8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [edi + 0x150]
mov dword [esi + 0x2c], eax
mov eax, ebx
mov edx, dword [edi + 0x138]
mov ecx, dword [edx + 0xc0]
sub ecx, dword [edi + 0x1d4]
cmp ecx, ebx
cmovg eax, ecx
mov ecx, dword [edx + 0xbc]
sub ecx, dword [edi + 0x1d0]
sub ecx, 2
cmp ecx, ebx
movd xmm1, eax
mov eax, ebx
cmovg eax, ecx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x34], xmm1
movss dword [esi + 0x30], xmm0
cmp byte [edi + 0x163], 0
je 0x4ab626
mov eax, dword [edi + 0x138]
mov eax, dword [eax + 0xbc]
sub eax, dword [edi + 0x1d0]
sub eax, 2
cmp eax, ebx
cmovg ebx, eax
jmp 0x4ab62b
mov ebx, SysReAllocString
movd xmm0, ebx
lea ecx, [esi + 0x48]
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x38], xmm0
mov eax, dword [edi + 0x1fc]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x220]
mov dword [esi + 0x40], eax
mov al, byte [edi + 0x16e]
mov byte [esi + 0x44], al
call fcn.0040c1f0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], 0
cmp dword [eax + 8], 0
je 0x4ab680
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4ab680
mov ecx, esi
call fcn.004bb7a0
lea ecx, [edi + 0x1dc]
call fcn.0046d500
fstp dword [esi + 8]
mov eax, esi
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

Function at 0x4acf40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540566
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 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
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x38], 1
call fcn.004dbe80
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4afad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x128]
mov dword [esi], vtable.juce::DrawableShape.0
call fcn.0044d930
lea ecx, [esi + 0x104]
call fcn.0044d930
lea ecx, [esi + 0xe4]
call fcn.00405d50
lea ecx, [esi + 0xc4]
call fcn.00405d50
push dword [esi + 0xb8]
mov dword [esi + 0xc0], 0
call fcn.0051723e
add esp, 4
lea ecx, [esi + 0xac]
call fcn.0040df50
mov dword [esi], vtable.juce::Drawable.0
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x4afb3e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
pop esi
jmp fcn.004af280

Function at 0x4b33e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
call fcn.00507720
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 2
shl esi, 4
call ebx
shr eax, 0xf
mov edi, esi
or edi, 0x20
and al, 1
push 4
cmove edi, esi
call ebx
shr eax, 0xf
mov ecx, edi
or ecx, 0x40
and al, 1
mov eax, dword [0x5889b4]
cmove ecx, edi
and eax, 0xffffff8f
or ecx, eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [0x5889b4], ecx
mov dword [eax], ecx
pop ebx
ret 4

Function at 0x4b89a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540fd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x38
call fcn.005118c7
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_9f3ff9500419cf2d604beec12afa1518___void___.0
lea ecx, [esi + 4]
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov dword [ecx], eax
test eax, eax
je 0x4b89fc
lock inc dword [eax + 4]
lea ebx, [ecx + 4]
mov byte [ebp - 4], 1
add edi, 8
mov ecx, ebx
push edi
call fcn.0040c2e0
lea eax, [edi + 0xc]
lea ecx, [ebx + 0xc]
push eax
call fcn.0040b3b0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov edi, dword [ebp - 0x10]
lea ecx, [esi + 0x20]
add edi, 0x20
mov byte [ebp - 4], 2
push edi
call fcn.0040c2e0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0x2c]
call fcn.0040b3b0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], ecx
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
Function at 0x4bf4a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
mov eax, ecx
cmp dword [eax + 0x1fc], 0
jne 0x4bf548
mov edx, dword [eax + 0x88]
lea ecx, [eax + 0x88]
add eax, 0x1c8
push eax
lea eax, [esp + 4]
push eax
call dword [edx + 0x14]
mov eax, dword [esp]
cmp byte [eax], 0
je 0x4bf540
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4bf540
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4bf53a
push edi
push dword [esp + 4]
call fcn.00408f90
mov edi, eax
add esp, 4
add edi, 4
je 0x4bf539
push esi
lea ecx, [edi + 2]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4bf538
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4bf538
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00413c40
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp]
call fcn.0040d480
pop ecx
ret

Function at 0x4c4190
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x150
mov eax, dword [0x58213c]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push edi
mov edi, ecx
call fcn.00507720
mov ebx, dword [esp + 0x15c]
lea eax, [ebx - 0x10]
cmp eax, 0x95
ja case.0x4c41c5.19
movzx eax, byte [eax + 0x4c4324]
jmp dword [eax*4 + 0x4c4318]
push 1
mov ecx, edi
call fcn.004e4860
mov ecx, edi
mov bl, al
call fcn.004ff5c0
jmp 0x4c42e8
push 1
mov ecx, edi
call fcn.004e4860
mov ecx, dword [0x5889b4]
or ebx, 0x10000
and ecx, 0xffffff8f
mov byte [esp + 0xb], al
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
push eax
mov ecx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0
call fcn.004e4660
test al, al
jne 0x4c42fb
cmp byte [esp + 0xb], al
jmp 0x4c42ea
push 1
mov ecx, edi
call fcn.004e4860
push 0
push 0x103
push 0x102
push dword [edi + 0x70]
mov byte [esp + 0x1b], al
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4c42e4
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push ebx
call esi
push 0
push ebx
mov ebp, eax
call esi
mov esi, eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push 8
lea eax, [esp + 0x44]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x68]
push eax
push esi
push ebx
movups xmmword [esp + 0x54], xmm0
movups xmmword [esp + 0x64], xmm0
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x4c42ad
xor edx, edx
mov word [esp + 0x3c], dx
jmp 0x4c42b2
mov dx, word [esp + 0x3c]
mov eax, dword [0x5889b4]
and eax, 0xffffff8f
movzx ecx, bp
mov dword [esp + 0x18], eax
movzx eax, dx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, edi
push eax
call fcn.004e4660
pop esi
pop ebp
test al, al
jne 0x4c42fb
cmp byte [esp + 0xb], al
jmp 0x4c42ea
mov bl, byte [esp + 0xb]
test bl, bl
jne 0x4c42fb
push 0
call fcn.004d8b40
test eax, eax
jne 0x4c42fb
xor al, al
jmp 0x4c42fd
mov al, 1
mov ecx, dword [esp + 0x154]
pop edi
pop ebx
xor ecx, esp
call fcn.00511b56
add esp, 0x150
ret 4