joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x4e631c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x40a08d
mov esi, dword [0x4e6308]
lea eax, [esp + 0xc]
mov edi, dword [0x4e62fc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x4e630c
push edi
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x4e631c], 0
cmp byte [0x4e62f8], 0
je 0x40a0d0
mov esi, dword [0x4e62e4]
lea eax, [esp + 0xc]
mov edi, dword [0x4e62d8]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x4e62e8
push edi
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x4e62f8], 0
cmp byte [0x4e62d4], 0
je 0x40a113
mov esi, dword [0x4e62c0]
lea eax, [esp + 0xc]
mov edi, dword [0x4e62b4]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x4e62c4
push edi
call fcn.00468db0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x4e62d4], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40a570
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486d90
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e1898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
xorps xmm0, xmm0
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
movups xmmword [esi], xmm0
mov dword [ebp - 0x14], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 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 byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x40a6c4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x14]
jle 0x40a6c4
mov eax, dword [0x4e5fbc]
test eax, eax
je 0x40a66e
inc dword [eax + 0xb0]
lea eax, [ecx*4]
push eax
call fcn.0046fdc6
mov edx, dword [edi + 0x18]
add esp, 4
mov dword [ebp - 0x10], eax
test edx, edx
je 0x40a6bb
mov ecx, dword [edi + 0x10]
shl ecx, 2
push ecx
push edx
push eax
call fcn.00468db0
mov ecx, dword [edi + 0x18]
add esp, 0xc
test ecx, ecx
je 0x40a6af
mov eax, dword [0x4e5fbc]
test eax, eax
je 0x40a6af
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 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 0x40f650
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x40f6ae
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40f692
cmp edi, 2
jb 0x40f692
cmp byte [esi], cl
jne 0x40f692
cmp byte [esi + 1], cl
jne 0x40f692
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4d0f30]
jmp 0x40f663
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4d0f30]
test edi, edi
jne 0x40f663
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x40f6dd
cmp cl, 0x23
jne 0x40f6c4
cmp byte [esi], cl
jne 0x40f6c4
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4d0f30]
test cl, cl
jne 0x40f6b5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x40f7f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x40f802
mov dword [ebx], 0
mov edx, 0x4d7994
call fcn.0040f6f0
mov esi, eax
test esi, esi
je 0x40f8d4
push esi
call fcn.00472a9c
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x40f8cb
push 2
push 0
push esi
call fcn.0047326d
add esp, 0xc
test eax, eax
jne 0x40f8cb
push esi
call fcn.00472a9c
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x40f8cb
push 0
push ebp
push esi
call fcn.0047326d
add esp, 0xc
test eax, eax
jne 0x40f8cb
mov eax, dword [0x4e5fbc]
test eax, eax
je 0x40f86e
inc dword [eax + 0xb0]
push edi
call fcn.0046fdc6
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40f8cb
push esi
push edi
push 1
push ebp
call fcn.00473e69
add esp, 0x10
push esi
cmp eax, edi
je 0x40f8b6
call fcn.00472f54
mov eax, dword [0x4e5fbc]
add esp, 4
test eax, eax
je 0x40f8a6
dec dword [eax + 0xb0]
push ebp
call fcn.0046fdab
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.00472f54
add esp, 4
test ebx, ebx
je 0x40f8c4
mov dword [ebx], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.00472f54
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x40fa40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
lea eax, [edx - 1]
push ebp
mov ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea eax, [ebx + eax*2]
mov dword [esp + 0x1c], eax
cmp ebx, eax
mov eax, dword [esp + 0x24]
jae 0x40fc13
push esi
mov esi, dword [esp + 0x2c]
push edi
nop dword [eax]
test esi, esi
je 0x40fa7c
cmp eax, esi
jae 0x40fc0d
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x40fc0d
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x4d7ef8]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x40faad
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x40fac8
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x40facd
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x40fadc
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x40fae1
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x40faec
mov ch, byte [esi]
jmp 0x40faee
xor ch, ch
mov ebp, dword [esp + 0x18]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x4d7f18]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebp
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebp, dword [esp + 0x14]
and ecx, 0x3f
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x4d7ee4]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x4d7f2c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebp*4 + 0x4d7f40]
mov ebp, dword [esp + 0x20]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x40fbf2
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x12], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov word [ebp], si
add eax, ebx
mov esi, dword [esp + 0x30]
add ebp, 2
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x24]
jb 0x40fa70
mov ebx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40fc23
mov dword [ecx], eax
sub ebp, ebx
sar ebp, 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x40fc30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
xor ecx, ecx
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x40fc4d
cmp eax, ebp
jae 0x40fdb7
mov bl, byte [eax]
test bl, bl
je 0x40fdb7
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x4d7ef8]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], edi
sete cl
add ecx, edi
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x40fc7e
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x40fc97
mov bl, byte [esi]
mov byte [esp + 0x10], bl
jmp 0x40fc9c
mov byte [esp + 0x10], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x40fca7
mov ch, byte [esi]
jmp 0x40fca9
xor ch, ch
lea ebx, [eax + 3]
mov byte [esp + 0x12], ch
cmp ebx, edx
jae 0x40fcb8
mov bl, byte [ebx]
jmp 0x40fcba
xor bl, bl
mov edi, dword [edi*4 + 0x4d7f18]
movzx esi, byte [esp + 0x10]
movzx edx, ch
movzx ecx, cl
and edi, ecx
mov byte [esp + 0x11], bl
shl edi, 6
mov ecx, esi
and ecx, 0x3f
movzx ebx, bl
or edi, ecx
and esi, 0xc0
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
or ebx, edx
shl edi, 6
or edi, ecx
shr ebx, 2
mov ecx, dword [esp + 0x14]
or ebx, esi
mov esi, dword [esp + 0x14]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x4d7ee4]
shr edi, cl
cmp edi, dword [esi*4 + 0x4d7f2c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
or ebx, edx
mov edx, 0xffff
cmp edx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x4d7f40]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x40fda7
xor edx, edx
cmp byte [esp + 0x11], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp dword [esp + 0x18], edx
cmovl edx, dword [esp + 0x18]
mov ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x40fc3d
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x40fc3d
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
Function at 0x413a80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4d0f30]
sub esi, 1
jne 0x413aa0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x413ad8
push ecx
push dword [esp + 0x14]
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.00427240
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4d0f30]
sub esi, 1
jne 0x413b00
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x413b38
push ecx
push dword [esp + 0x14]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.00427240
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4d0f30]
sub edi, 1
jne 0x413bb1
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x416f60
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [0x4e5fbc]
mov ebp, edx
push edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
mov dword [esp + 0x1c], ebp
mov ebx, dword [esi + 0x3e60]
mov ecx, ebx
mov eax, dword [ebx + 0xc]
and eax, 4
or eax, 0x1000103
or edi, eax
cmp dword [ebx + 0x190], 0
mov dword [esp + 0x2c], edi
jne 0x416fa9
cmp dword [esi + 0x4a28], 0
mov eax, 0x228
je 0x416fae
mov eax, 0x1f8
movss xmm4, dword [eax + ebx]
xorps xmm3, xmm3
movss xmm5, dword [eax + ebx + 4]
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [0x4da0c8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 2
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
mov eax, 1
cmovnp ecx, eax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
mov eax, dword [esp + 0x14]
cmovnp eax, dword [esp + 0x24]
or eax, ecx
comiss xmm3, xmm1
mov dword [esp + 0x14], eax
jb 0x417037
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x417037
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x417048
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x417048
movaps xmm0, xmm2
or dword [esi + 0x4714], 2
movss dword [esi + 0x4734], xmm1
movss dword [esi + 0x4738], xmm0
mov dword [esi + 0x471c], 1
mov eax, dword [ebx + 4]
push ebp
test edx, edx
je 0x417089
push edx
push eax
push str._s__s__08X
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0040f5b0
add esp, 0x18
jmp 0x41709e
push eax
push str._s__08X
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040f5b0
add esp, 0x14
movss xmm0, dword [esi + 0x37b8]
xor edx, edx
mov ecx, dword [esp + 0x24]
push edi
movss dword [esp + 0x1c], xmm0
call fcn.004197a0
mov edi, dword [esi + 0x3e60]
add esp, 4
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x37b8], xmm0
mov byte [esp + 0x24], al
cmp word [edi + 0xb6], 1
mov eax, dword [esp + 0x14]
mov dword [edi + 0x74], ebp
mov byte [edi + 0xc6], al
jne 0x4170fc
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
not ebp
mov edx, 0x4d6f41
mov ebx, ebp
mov al, 0x23
cmp al, 0x23
jne 0x417115
cmp byte [edx], al
jne 0x417115
cmp byte [edx + 1], al
cmove ebx, ebp
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4d0f30]
test al, al
jne 0x417107
not ebx
cmp dword [esi + 0x3eac], ebx
jne 0x417141
xor edx, edx
xor ecx, ecx
call fcn.00413be0
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x47fc], eax
jne 0x417191
test dword [esp + 0x2c], 0x800000
jne 0x417191
cmp word [edi + 0x14c], 0
jne 0x41716a
cmp byte [edi + 0x152], 0
je 0x417191
xor edx, edx
mov ecx, edi
call fcn.0041bee0
xor dl, dl
mov ecx, edi
call fcn.00421de0
mov edx, edi
mov ecx, ebx
call fcn.00413be0
mov eax, dword [esi + 0x4820]
mov dword [esi + 0x3ecc], eax
mov al, byte [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x417400
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x4e5fbc]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3e50]
mov edi, ecx
mov eax, dword [eax + 0x3e48]
lea ebx, [esi + eax*8]
test eax, eax
je 0x4173de
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x4173d8
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x4173da
mov eax, edx
test eax, eax
jne 0x4173c0
cmp esi, ebx
je 0x4173ed
cmp dword [esi], edi
jne 0x4173ed
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x41743d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x417423
cmp byte [esi], bl
jne 0x417423
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4d0f30]
test bl, bl
jne 0x417414
pop edi
pop esi
not ecx
pop ebx
jmp 0x4173a0
Function at 0x425710
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4e5fbc]
test bl, bl
je 0x425759
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x42573f
cmp byte [esi], bl
jne 0x42573f
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4d0f30]
test bl, bl
jne 0x425730
pop ebp
mov ecx, dword [edi + 0x5a8c]
not eax
mov edx, dword [edi + 0x5a94]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x425780
cmp dword [edx + 4], eax
je 0x425783
add edx, 0x24
cmp edx, ecx
jne 0x425774
xor eax, eax
ret
mov eax, edx
ret
Function at 0x433b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x433b66
mov eax, dword [0x4e5fbc]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x433b56
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x433b9a
mov eax, dword [0x4e5fbc]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x433b8a
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x433bce
mov eax, dword [0x4e5fbc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x433bbe
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x433c1e
mov eax, dword [0x4e5fbc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x433c0e
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x433c52
mov eax, dword [0x4e5fbc]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x433c42
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x433c86
mov eax, dword [0x4e5fbc]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x433c76
dec dword [eax + 0xb0]
push ecx
call fcn.0046fdab
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00436940
Function at 0x45c820
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4e2710], 0
jne 0x45c839
push 0
push 0x10001
call fcn.0045cbf0
add esp, 8
ret
jmp fcn.0045d860

Function at 0x45d2b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0045e3d0
add esp, 0xc
test eax, eax
je 0x45d3e4
mov edi, dword [ebp + 0x10]
cmp dword [edi], 0
je 0x45d351
mov eax, dword [edi + 4]
cmp eax, 0x36001
jne 0x45d2fa
call fcn.00464ce0
test eax, eax
je 0x45d3e4
push ebx
push edi
push esi
call fcn.00464850
jmp 0x45d334
cmp eax, 0x36002
jne 0x45d318
call fcn.00466040
test eax, eax
je 0x45d3e4
push ebx
push edi
push esi
call fcn.00465b00
jmp 0x45d334
cmp eax, 0x36003
jne 0x45d33f
call fcn.00466be0
test eax, eax
je 0x45d3e4
push ebx
push edi
push esi
call fcn.00466990
add esp, 0xc
test eax, eax
je 0x45d3e4
push edi
push esi
call fcn.0045b7c0
add esp, 8
test eax, eax
je 0x45d3e4
cmp dword [esi + 0x3c], 0
je 0x45d3b4
push 8
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.0045e1a0
push esi
call fcn.0045ead0
mov eax, dword [ebp + 0xc]
add esp, 8
cmp dword [eax + 0x28], 0
je 0x45d3da
push esi
call fcn.00460100
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x10], 0
je 0x45d3da
push 8
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x18], 0
je 0x45d3da
push esi
call fcn.0045d4a0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x45d9e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
je 0x45da4e
push esi
lea ecx, [edi + edi]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x45da29
push str.Win32:_Failed_to_allocate_global_handle_for_clipboard
push 0x10008
call fcn.00461e20
add esp, 8
pop esi
pop edi
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x45da51
push str.Win32:_Failed_to_lock_global_handle
push 0x10008
call fcn.00461e20
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebp
ret
push edi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x4e3a14]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x45da83
push str.Win32:_Failed_to_open_clipboard
jmp 0x45da39
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]

Function at 0x45dba0
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp dword [0x4e47c8], eax
jne 0x45dbfd
cmp dword [ebp + 0xc], 0
je 0x45dbc4
push eax
call fcn.0045ea80
add esp, 4
mov esp, ebp
pop ebp
ret
push 0xc
push 1
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20001
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x45dbfd
push str.Win32:_Failed_to_remove_raw_input_device
push 0x10008
call fcn.00461e20
add esp, 8
mov esp, ebp
pop ebp
ret