joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008f00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10008f4c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10008f2f
cmp edi, 2
jb 0x10008f2f
cmp byte [esi], cl
jne 0x10008f2f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1014f7b8]
test edi, edi
jne 0x10008f15
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10008f7b
cmp cl, 0x23
jne 0x10008f62
cmp byte [esi], cl
jne 0x10008f62
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 + 0x1014f7b8]
test cl, cl
jne 0x10008f53
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10009120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10009134
mov dword [edi], 0
mov edx, 0x1014f634
call fcn.10008f90
mov esi, eax
test esi, esi
je 0x10009230
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10009226
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10009226
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x10009226
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10009226
mov eax, dword [0x1020e2c0]
test eax, eax
je 0x100091b0
inc dword [eax + 0x374]
push dword [0x1020e2b8]
push ebx
call fcn.10008680
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10009226
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1000920b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1020e2c0]
add esp, 4
test eax, eax
je 0x100091f3
dec dword [eax + 0x374]
push dword [0x1020e2b8]
push ebx
call fcn.100086a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1000921d
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ba40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1014f7b8]
sub edi, 1
jne 0x1000ba60
mov ecx, dword [0x1020e2c0]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19ec], eax
jne 0x1000ba92
mov dword [ecx + 0x19f0], eax
cmp dword [ecx + 0x1a20], eax
jne 0x1000baa1
mov byte [ecx + 0x1a24], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1015a368]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1014f7b8]
sub edi, 1
jne 0x1000bb24
mov eax, dword [0x1020e2c0]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ec], edx
jne 0x1000bb55
mov dword [eax + 0x19f0], edx
cmp dword [eax + 0x1a20], edx
jne 0x1000bb64
mov byte [eax + 0x1a24], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100d7a38
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c540
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1020e2c0]
sub esp, 0x1c
push ebx
push esi
push edi
test eax, eax
je 0x1000c558
inc dword [eax + 0x374]
push dword [0x1020e2b8]
push 0x3b90
call fcn.10008680
add esp, 8
test eax, eax
je 0x1000c57b
push ecx
mov ecx, eax
call fcn.10007570
mov edi, eax
jmp 0x1000c57d
xor edi, edi
mov ebx, dword [0x1020e2c0]
mov esi, 0x1014f561
test ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov al, 0x57
cmove ebx, edi
or edx, 0xffffffff
mov dword [0x1020e2c0], ebx
or ebx, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1000c5be
cmp byte [esi], al
jne 0x1000c5be
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1014f7b8]
test al, al
jne 0x1000c5b0
mov esi, dword [edi + 0x2d48]
not edx
mov ecx, dword [edi + 0x2d4c]
mov ebx, dword [0x1020e2c0]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x10019000
mov dword [ebp - 0xc], 0x10019060
mov dword [ebp - 8], 0x10019110
cmp esi, ecx
jne 0x1000c69f
inc esi
test ecx, ecx
je 0x1000c61b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000c620
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000c69f
test ebx, ebx
je 0x1000c633
inc dword [ebx + 0x374]
push dword [0x1020e2b8]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.10008680
mov ebx, eax
add esp, 8
mov eax, dword [edi + 0x2d50]
test eax, eax
je 0x1000c693
mov ecx, dword [edi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x1000c684
mov eax, dword [0x1020e2c0]
test eax, eax
je 0x1000c684
dec dword [eax + 0x374]
push dword [0x1020e2b8]
push ecx
call fcn.100086a0
add esp, 8
mov dword [edi + 0x2d50], ebx
mov dword [edi + 0x2d4c], esi
mov eax, dword [edi + 0x2d48]
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d48]
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000edf0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000ee2f
cmp bl, 0x23
jne 0x1000ee11
cmp byte [esi], bl
jne 0x1000ee11
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x1014f7b8]
test bl, bl
jne 0x1000ee02
mov ebx, dword [0x1020e2c0]
not eax
mov esi, dword [ebx + 0x19a0]
mov edi, dword [ebx + 0x19a8]
mov ecx, edi
test esi, esi
je 0x1000ee74
nop dword [eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000ee68
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000ee6a
mov esi, edx
test esi, esi
jne 0x1000ee50
mov ecx, dword [ebx + 0x19a8]
mov edx, dword [ebx + 0x19a0]
lea ecx, [ecx + edx*8]
cmp edi, ecx
je 0x1000ee8c
cmp dword [edi], eax
jne 0x1000ee8c
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1020e2c0]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x19b0]
mov esi, 4
mov ebx, dword [eax + 0xd4]
lea edi, [eax + 0xcc]
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1014f7b8]
sub esi, 1
jne 0x100143b0
mov eax, dword [ebp - 4]
not ebx
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax + 0xd0]
cmp ecx, esi
jne 0x10014403
inc ecx
test esi, esi
je 0x100143ec
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x100143f1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100199b0
mov ecx, dword [edi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd4]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100189b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x1020e2c0]
push edi
cmp byte [esi + 0x2d60], 0
je 0x10018a4f
cmp dword [esi + 0x2d68], 0
lea edi, [esi + 0x2d6c]
je 0x10018a41
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100189f9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019ca0
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10009700
mov edx, dword [edi]
mov ecx, 0x1020e2bc
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10009700
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10018cf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x1020e2c0]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x10018d19
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10018d10
sub esi, ecx
test edx, edx
je 0x10018d23
inc dword [edx + 0x374]
push ebx
push dword [0x1020e2b8]
lea eax, [esi + 1]
push eax
call fcn.10008680
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x14
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x10018ebc
nop
mov al, byte [ecx]
cmp al, 0xa
je 0x10018eef
cmp al, 0xd
je 0x10018eef
mov esi, ecx
cmp ecx, ebx
jae 0x10018d87
mov al, byte [esi]
cmp al, 0xa
je 0x10018d87
cmp al, 0xd
je 0x10018d87
inc esi
cmp esi, ebx
jb 0x10018d78
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10018eae
cmp al, 0x5b
jne 0x10018e8d
cmp esi, ecx
jbe 0x10018e8d
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10018e8a
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10018ea8
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10018ea8
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x1020e2c0]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [edi]
inc edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x10018e3e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x10018e1f
cmp byte [edi], cl
jne 0x10018e1f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x1014f7b8]
test cl, cl
jne 0x10018e10
mov ebx, dword [0x1020e2c0]
mov edi, dword [ebx + 0x2d48]
xor ecx, ecx
not eax
test edi, edi
jle 0x10018e61
mov ebx, dword [ebx + 0x2d50]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x10018e6a
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x10018e55
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x10018eab
lea eax, [ecx + ecx*2]
lea edi, [ebx + eax*8]
test edi, edi
je 0x10018e63
push dword [ebp - 0x14]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x10018eab
mov ebx, dword [ebp - 8]
test edi, edi
je 0x10018eae
test edx, edx
je 0x10018eae
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x10018eae
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10018d60
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x10018ed0
mov eax, dword [0x1020e2c0]
test eax, eax
je 0x10018ed0
dec dword [eax + 0x374]
push dword [0x1020e2b8]
push esi
call fcn.100086a0
mov eax, dword [ebp - 0xc]
add esp, 8
pop edi
mov byte [eax + 0x2d34], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10018d60
Function at 0x10018f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x1020e2c0]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2d38], 0
test eax, eax
je 0x10018ff8
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10018f55
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10019ca0
xor ecx, ecx
mov dword [edi], 0
cmp dword [edi + 4], ecx
jne 0x10018f6d
push 8
mov ecx, edi
call fcn.10019ca0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d48], 0
mov ebx, dword [edi]
jle 0x10018fb7
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0x2d50]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d48]
jl 0x10018f90
mov ebx, dword [edi]
mov ecx, dword [ebp - 8]
lea eax, [ebx - 1]
neg ebx
mov edi, 0x1020e2bc
mov edx, 0x1014f638
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi + 0x2d44]
test eax, eax
cmovne edi, eax
call fcn.10008f90
mov esi, eax
test esi, esi
je 0x10018ff8
push esi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1015a368]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x1020e2c0]
lea eax, [ebp - 0x14]
push esi
push edi
push eax
push dword [0x10215960]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x30]
mov ecx, edi
sub ecx, dword [0x10215968]
mov esi, dword [ebp - 0x2c]
mov edx, esi
sbb edx, dword [0x1021596c]
call fcn.10130390
mov edx, dword [0x10215974]
mov ecx, dword [0x10215970]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.10130390
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1021596c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10215968], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov esi, dword [0x1020e2c0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [esi + 0x35b], 0
je 0x1002a345
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 0x1c], eax
cvttss2si eax, dword [esi + 0xec]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x10215960]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe8], 0xff7fffff
mov dword [esi + 0xec], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1002a3bb
mov ecx, dword [0x10215960]
cmp eax, ecx
je 0x1002a379
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1002a3bb
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002a3bb
lea eax, [ebp - 0x24]
push eax
push dword [0x10215960]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002a3bb
movd xmm0, dword [ebp - 0x24]
movd xmm1, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
cmp byte [ebx + 0xb0], 0
mov eax, dword [0x1020e2c0]
je 0x1002a3ce
or ecx, 0xffffffff
jmp 0x1002a3d4
mov ecx, dword [eax + 0x1d38]
cmp dword [0x1020036c], ecx
je 0x1002a412
test byte [eax + 8], 0x20
mov dword [0x1020036c], ecx
jne 0x1002a412
cmp dword [eax + 0x1d38], 0xffffffff
je 0x1002a40a
cmp byte [eax + 0xb0], 0
jne 0x1002a40a
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1002a40c
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d7a38
mov esp, ebp
pop ebp
ret
Function at 0x100476e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1004773c
cmp byte [esi + 1], 0
jne 0x1004777e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x1b
jb 0x10047700
jmp 0x1004777e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x1b
jb 0x10047740
lea ecx, [esi + 0x1c]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x100477a9
push 0x1a
push eax
mov ecx, esi
call fcn.10045350
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100477c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x1004781c
cmp byte [esi + 1], 0
jne 0x1004785e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x28
jb 0x100477e0
jmp 0x1004785e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x34]
xor ebx, dword [esi + 0x30]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x28
jb 0x10047820
lea ecx, [esi + 0x29]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x10047889
push 0x27
push eax
mov ecx, esi
call fcn.10045350
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100478a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x10047900
cmp byte [esi + 1], 0
jne 0x10047941
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x2c]
xor ebx, dword [esi + 0x28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x20
jb 0x100478c3
jmp 0x10047941
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x2c]
xor ebx, dword [esi + 0x28]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [esp + 0x14], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x20
jb 0x10047902
lea ecx, [esi + 0x21]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x1004796c
push 0x1f
push eax
mov ecx, esi
call fcn.10045350
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10047980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
je 0x100479dc
cmp byte [esi + 1], 0
jne 0x10047a1e
mov byte [esi + 1], 1
xor edi, edi
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, bl
xor byte [esi + edi + 2], al
inc edi
cmp edi, 0x1d
jb 0x100479a0
jmp 0x10047a1e
xor edi, edi
nop
xor edx, edx
mov ebx, edi
xor edx, dword [esi + 0x24]
xor ebx, dword [esi + 0x20]
xor edx, 0xd28f2c5
xor ebx, 0x1de26cd5
mov ecx, edx
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov dword [ebp - 4], edx
mov eax, ebx
shrd eax, edx, 7
xor al, byte [esi + edi + 2]
xor al, bl
mov byte [esi + edi + 2], al
inc edi
cmp edi, 0x1d
jb 0x100479e0
lea ecx, [esi + 0x1e]
lea eax, [esi + 2]
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
cmp eax, ecx
je 0x10047a49
push 0x1c
push eax
mov ecx, esi
call fcn.10045350
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4