joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003230
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 0x10003291
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003274
cmp edi, 2
jb 0x10003274
cmp byte [esi], cl
jne 0x10003274
cmp byte [esi + 1], cl
jne 0x10003274
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006af80]
jmp 0x10003245
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006af80]
test edi, edi
jne 0x10003245
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100032c0
cmp cl, 0x23
jne 0x100032a7
cmp byte [esi], cl
jne 0x100032a7
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 + 0x1006af80]
test cl, cl
jne 0x10003298
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100033b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100033c3
mov dword [ebx], 0
mov edx, 0x1006ade8
call fcn.100032d0
mov esi, eax
test esi, esi
je 0x100034a0
push esi
call fcn.10040f1f
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10003497
push 2
push 0
push esi
call fcn.100418be
add esp, 0xc
test eax, eax
jne 0x10003497
push esi
call fcn.10040f1f
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10003497
push 0
push dword [ebp + 8]
push esi
call fcn.100418be
add esp, 0xc
test eax, eax
jne 0x10003497
mov eax, dword [0x1007ac38]
test eax, eax
je 0x10003436
inc dword [eax + 0x374]
push edi
call fcn.1004aae9
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10003497
push esi
push edi
push 1
push eax
call fcn.10045ef7
add esp, 0x10
push esi
cmp eax, edi
je 0x10003481
call fcn.100415a5
mov eax, dword [0x1007ac38]
add esp, 4
test eax, eax
je 0x1000346f
dec dword [eax + 0x374]
push dword [ebp + 8]
call fcn.10045d03
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100415a5
add esp, 4
test ebx, ebx
je 0x1000348f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100415a5
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10005600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xbc]
mov eax, dword [ecx + 0xc4]
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 + 0x1006af80]
sub edi, 1
jne 0x10005620
mov ecx, dword [0x1007ac38]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1a2c], eax
jne 0x10005652
mov dword [ecx + 0x1a30], eax
cmp dword [ecx + 0x1a64], eax
jne 0x10005661
mov byte [ecx + 0x1a68], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10079040]
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 + 0xbc]
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 + 0xc4]
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 + 0x1006af80]
sub edi, 1
jne 0x100056e4
mov eax, dword [0x1007ac38]
not edx
pop edi
pop esi
cmp dword [eax + 0x1a2c], edx
jne 0x10005715
mov dword [eax + 0x1a30], edx
cmp dword [eax + 0x1a64], edx
jne 0x10005724
mov byte [eax + 0x1a68], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1003ae6b
mov esp, ebp
pop ebp
ret 4
Function at 0x10006060
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062593
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10079040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1007ac38]
test eax, eax
je 0x10006096
inc dword [eax + 0x374]
push 0x3bd8
call fcn.1004aae9
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100060c9
push ecx
mov ecx, eax
call fcn.10001820
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x100060ce
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [0x1007ac38], 0
jne 0x100060de
mov eax, edi
mov dword [0x1007ac38], eax
or edx, 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], str.Window
mov esi, 0x1006ad25
mov al, 0x57
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1000610e
cmp byte [esi], al
jne 0x1000610e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1006af80]
test al, al
jne 0x10006100
mov edi, dword [ebp - 0x14]
not edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0x100130e0
mov dword [ebp - 0x28], 0x10013180
mov esi, dword [edi + 0x2d90]
mov ecx, dword [edi + 0x2d94]
mov dword [ebp - 0x24], 0x10013250
cmp esi, ecx
jne 0x100061e9
inc esi
test ecx, ecx
je 0x10006168
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000616d
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x100061e9
mov eax, dword [0x1007ac38]
test eax, eax
je 0x10006185
inc dword [eax + 0x374]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.1004aae9
mov edx, dword [edi + 0x2d98]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x100061dd
mov ecx, dword [edi + 0x2d90]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1003d7f0
mov ecx, dword [edi + 0x2d98]
add esp, 0xc
test ecx, ecx
je 0x100061d1
mov eax, dword [0x1007ac38]
test eax, eax
je 0x100061d1
dec dword [eax + 0x374]
push ecx
call fcn.10045d03
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0x2d98], eax
mov dword [edi + 0x2d94], esi
mov eax, dword [edi + 0x2d90]
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d98]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d90]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008b60
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 0x10008b9f
cmp bl, 0x23
jne 0x10008b81
cmp byte [esi], bl
jne 0x10008b81
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 + 0x1006af80]
test bl, bl
jne 0x10008b72
mov ecx, dword [0x1007ac38]
not eax
mov esi, dword [ecx + 0x19e8]
mov edi, dword [ecx + 0x19f0]
lea ebx, [edi + esi*8]
test esi, esi
je 0x10008bde
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10008bd8
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x10008bda
mov esi, edx
test esi, esi
jne 0x10008bc0
cmp edi, ebx
je 0x10008bed
cmp dword [edi], eax
jne 0x10008bed
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1000de40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007ac38]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19f8]
mov esi, 4
mov eax, dword [edi + 0xbc]
add edi, 0xbc
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1006af80]
sub esi, 1
jne 0x1000de80
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x1000dec7
inc esi
test ecx, ecx
je 0x1000deb5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000deba
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10013c60
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003ae6b
mov esp, ebp
pop ebp
ret
Function at 0x10012de0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x1007ac38]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x10012e09
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10012e00
sub esi, ecx
test edx, edx
je 0x10012e13
inc dword [edx + 0x374]
lea eax, [esi + 1]
push ebx
push eax
call fcn.1004aae9
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call fcn.1003d7f0
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x10012fa4
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x10012fd1
cmp al, 0xd
je 0x10012fd1
mov esi, ecx
cmp ecx, ebx
jae 0x10012e77
mov al, byte [esi]
cmp al, 0xa
je 0x10012e77
cmp al, 0xd
je 0x10012e77
inc esi
cmp esi, ebx
jb 0x10012e68
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10012f96
cmp al, 0x5b
jne 0x10012f75
cmp esi, ecx
jbe 0x10012f75
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10012f72
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call fcn.1003dd70
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10012f90
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.1003dd70
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10012f90
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x1007ac38]
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 0x10012f2e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x10012f0f
cmp byte [edi], cl
jne 0x10012f0f
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 + 0x1006af80]
test cl, cl
jne 0x10012f00
mov ebx, dword [0x1007ac38]
mov edx, dword [ebx + 0x2d90]
xor ecx, ecx
not eax
test edx, edx
jle 0x10012f4f
mov edi, dword [ebx + 0x2d98]
cmp dword [edi + 4], eax
je 0x10012f58
inc ecx
add edi, 0x18
cmp ecx, edx
jl 0x10012f42
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x10012f93
test edi, edi
je 0x10012f51
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 0x10012f93
mov ebx, dword [ebp - 8]
test edi, edi
je 0x10012f96
test edx, edx
je 0x10012f96
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 0x10012f96
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10012e50
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x10012fb8
mov eax, dword [0x1007ac38]
test eax, eax
je 0x10012fb8
dec dword [eax + 0x374]
push esi
call fcn.10045d03
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov byte [eax + 0x2d7c], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10012e50
Function at 0x10023090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10079040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x1007ac38]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push dword [0x1007acf4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 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 [esp + 0x30]
mov ecx, edi
sub ecx, dword [0x1007acf8]
mov esi, dword [esp + 0x34]
mov edx, esi
sbb edx, dword [0x1007acfc]
call fcn.1005ed70
mov edx, dword [0x1007ad04]
mov ecx, dword [0x1007ad00]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
call fcn.1005ed70
movss xmm1, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1007acfc], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1007acf8], 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 ecx, dword [0x1007ac38]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x100231ca
cvttss2si eax, dword [esi]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x1007acf4]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10023236
mov ecx, dword [0x1007acf4]
cmp eax, ecx
je 0x100231f7
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10023236
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10023236
lea eax, [esp + 0x10]
push eax
push dword [0x1007acf4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10023236
movd xmm0, dword [esp + 0x10]
movd xmm1, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xb0], 0
je 0x10023244
or eax, 0xffffffff
jmp 0x1002324f
mov eax, dword [0x1007ac38]
mov eax, dword [eax + 0x1d84]
cmp dword [0x10079ce0], eax
je 0x10023261
mov dword [0x10079ce0], eax
call fcn.10022ce0
call fcn.10022e10
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003ae6b
mov esp, ebp
pop ebp
ret
Function at 0x10039060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1003909e
sub eax, 1
je 0x10039076
xor eax, eax
pop ebp
ret 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x10038c00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
push 0
push str.RookieCyber_Say:
push str.Game_Close_Thank_u_For_Play_Hack_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1003aa40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x24], 0
je 0x1003abd3
movaps xmm5, xmmword [0x1006fb60]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x1006fb80]
mov edx, 0x12
movups xmm4, xmmword [0x1006fb90]
mov dword [ebp - 8], ecx
sub edx, ebx
mov ecx, 0x10
mov dword [ebp - 4], 0xb
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xf
sub edi, ebx
mov esi, 0x11
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 7
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x20
jb 0x1003aab4
mov ebx, dword [ebp - 0x20]
pop edi
cmp eax, 0x23
jae 0x1003abcf
lea edx, [ebx + eax]
lea ecx, [eax + 0xb]
inc eax
xor byte [edx], cl
cmp eax, 0x23
jb 0x1003abc1
mov byte [ebx + 0x24], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x23]
push eax
push ebx
call fcn.1003ada0
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003abf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x2a], 0
je 0x1003ad83
movaps xmm5, xmmword [0x1006fb60]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x1006fb80]
mov edx, 0x12
movups xmm4, xmmword [0x1006fb90]
mov dword [ebp - 8], ecx
sub edx, ebx
mov ecx, 0x10
mov dword [ebp - 4], 0xb
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xf
sub edi, ebx
mov esi, 0x11
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 7
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x20
jb 0x1003ac64
mov ebx, dword [ebp - 0x20]
pop edi
cmp eax, 0x29
jae 0x1003ad7f
lea edx, [ebx + eax]
lea ecx, [eax + 0xb]
inc eax
xor byte [edx], cl
cmp eax, 0x29
jb 0x1003ad71
mov byte [ebx + 0x2a], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x29]
push eax
push ebx
call fcn.1003ada0
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10040cb5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1005e6c0
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1004de49
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10040cf7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10040e53
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1005e610
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1007a7e8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1004e058
mov ecx, dword [esi*4 + 0x1007a7e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10040e4c
cmp eax, dword [ecx + edi + 0x24]
jne 0x10040e4c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10040e4c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1004e058
add esp, 0x14
test edx, edx
jl 0x10040e4c
jg 0x10040dc2
test eax, eax
jb 0x10040e4c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10040e4c
jl 0x10040ddc
cmp dword [ebp - 0x1008], eax
ja 0x10040e4c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10040dfa
test ebx, ebx
je 0x10040e33
cmp ecx, edi
jae 0x10040e33
mov al, byte [ecx]
cmp al, 0xd
jne 0x10040e14
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10040e20
cmp byte [ecx + 1], 0xa
jne 0x10040e20
inc ecx
jmp 0x10040e20
movzx eax, al
movsx eax, byte [eax + 0x100792c0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10040dfa
cmp edx, ebx
jne 0x10040dfa
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10040e51
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003ae6b
leave
ret

Function at 0x1004b91c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1004b95b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004b95b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004b95b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1004b95b
cmp dword [ecx + 0x74], 0xe
jbe 0x1004b95b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret