joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010d4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x88], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x88], 0
jne 0x401104
xor al, al
jmp 0x401129
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x40112d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4011b1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp + 0x10], eax
call fcn.004040c8
mov dword [ebp - 4], eax
mov eax, dword [0x40b878]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xc], eax
push 0x4071c0
mov edx, dword [ebp + 8]
push edx
push 0x40b880
mov ecx, 0x40b7e8
call fcn.00405960
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x40b86c], eax
mov ax, word [0x40b108]
mov word [ebp - 0x1c], ax
mov cl, byte [0x40b10a]
mov byte [ebp - 0x1a], cl
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401147
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4012d5
push str.UnregServer
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401280
push 0
push 0
push 0x64
push 0x40b7e8
call fcn.00405b60
push 0
push 1
mov ecx, 0x40b7e8
call fcn.00405b40
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4012d5
push str.RegServer
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4012bd
push 0
push 1
push 0x64
push 0x40b7e8
call fcn.00405b60
push 0
push 1
mov ecx, 0x40b7e8
call fcn.00405b20
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x4012d5
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00401147
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x401239
cmp dword [ebp - 0x14], 0
je 0x40132b
mov ecx, 0x40b7e8
call fcn.004010d4
push 1
push 4
mov ecx, 0x40b7e8
call fcn.00405b90
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401316
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4012f6
mov ecx, 0x40b7e8
call fcn.00405bb0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x40b7e8
call fcn.00405ac0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401b00
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0x64
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x7c], 0
je 0x401b38
mov eax, dword [ebp - 8]
add eax, 0x7c
mov dword [ebp - 8], eax
jmp 0x401bc0
push 0
push 0
push 4
push 0
push 0
push 2
push 0x40b1c0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401bab
push 0x80
call fcn.00405e43
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x401bab
push 0
lea edx, [ebp - 8]
push edx
push 4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 4
jne 0x401bab
push 0
lea edx, [ebp - 8]
push edx
push 4
mov eax, dword [ebp - 4]
add eax, 0x570
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.wing.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x158], 0x408000
mov ecx, dword [ebp - 4]
mov edx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ecx + 0x14c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x120], 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040414b
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x403da4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ax, word [edx + 8]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], 0x4d42
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
lea edx, [edx + ecx*4 + 0xe]
mov eax, dword [ebp - 0x18]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x26], edx
mov word [ebp - 0x22], 0
mov word [ebp - 0x20], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
lea edx, [edx + ecx*4 + 0xe]
mov dword [ebp - 0x1e], edx
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
lea eax, [edx*4 + 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403ec2
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x403ec2
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esp, ebp
pop ebp
ret
Function at 0x405960
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x70], 0x40b708
mov ecx, dword [ebp - 0x34]
mov dword [0x40b8b8], ecx
mov edx, dword [ebp - 0x34]
mov dword [edx], 0x84
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x64], 0x300
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ATL.DLL_AtlModuleInit]
cmp dword [ebp + 0x10], 0
je 0x4059ba
push 0x10
mov ecx, dword [ebp + 0x10]
push ecx
push 0x40b8a8
call fcn.00405ed0
add esp, 0xc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 1
jbe 0x405a9b
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x74], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x405a04
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x20
jge 0x405a31
mov ecx, dword [ebp - 0x28]
and ecx, 0x80000000
test ecx, ecx
je 0x405a19
jmp 0x405a31
mov edx, dword [ebp - 0x28]
shl edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x74]
shr ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x74], ecx
jmp 0x4059fb
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x74]
shr ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x74], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x74]
lea edx, [ecx*4 + 4]
push edx
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x78], eax
mov dword [ebp - 0x30], 0
jmp 0x405a74
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ecx + 0x74]
ja 0x405a99
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x30]
mov dword [edx + ecx*4], eax
jmp 0x405a6b
jmp 0x405aaf
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x74], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405bd0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x405bed
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x405c34
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x405c1a
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
test eax, eax
jne 0x405bf8
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x405c32
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x405c4e
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x20
jle 0x405c4e
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x405c34
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
test edx, edx
je 0x405c72
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x405c72
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x405c4e
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x405c9b
mov edx, dword [ebp - 0x14]
and edx, 0xffff
mov dword [ebp - 0x50], edx
jmp 0x405ca2
mov dword [ebp - 0x50], 0xa
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10003b30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e640
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d4480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
mov dword [ebp - 4], 0
and ecx, 0xfffffffc
xor al, al
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 1
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x10003bac
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x10003bbd
push 0x40
push esi
call fcn.1007c344
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10004250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e600
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d4480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x100042b4
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x100042c5
push 0x48
push esi
call fcn.1007c344
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100071e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x10007202
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x12]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x100071f0
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x10017270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100172ad
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0x100184d0
push 0
push 0
mov dword [0x100d59ac], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x10016840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, 1
pop ebp
ret 0xc
Function at 0x100172c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x100845bd], 0
movq xmm0, qword [0x100845b4]
mov ax, word [0x100845bc]
push esi
mov esi, ecx
movq qword [ebp - 0xc], xmm0
mov word [ebp - 4], ax
je 0x1001731d
push ebx
xor ebx, ebx
nop dword [eax]
mov eax, 0x24924925
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x33
xor byte [ebp + ebx - 0xc], al
inc ebx
cmp ebx, 0xa
jl 0x100172f0
pop ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x1001734f
xor al, al
nop dword [eax]
movsx ecx, al
cmp byte [ecx + edx], 0xb8
je 0x10017362
inc al
cmp al, 0xf
jl 0x10017340
xor eax, eax
mov ecx, esi
push eax
call fcn.10017380
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + edx + 1]
mov ecx, esi
push eax
call fcn.10017380
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10017380
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
test esi, esi
je 0x100175bd
movups xmm0, xmmword [0x100845cc]
mov dword [ebp - 0x30], 0xb8909090
mov byte [ebp - 0x28], 0xba
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x23], 0xd2ff
psrldq xmm0, 0xf
movd eax, xmm0
mov byte [ebp - 0x21], 0xc3
test al, al
je 0x10017534
xor ecx, ecx
cmp dword [0x100d73b4], 2
mov dword [ebp - 4], ecx
jl 0x10017500
movaps xmm0, xmmword [0x10084620]
movaps xmm4, xmmword [0x10084540]
movaps xmm3, xmmword [0x10084630]
movaps xmm5, xmmword [str.8888]
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmmword [0x10084550]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x40]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + ecx - 0x40], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmmword [0x10084550]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x3c]
xorps xmm2, xmm0
movd dword [ebp + ecx - 0x3c], xmm2
add ecx, 8
cmp ecx, 0x10
jl 0x10017410
jmp 0x10017534
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [ebp - 4]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 4]
add al, 0x33
xor byte [ebp + ecx - 0x40], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x10
jl 0x10017500
cmp byte [0x100845c9], 0
movq xmm0, qword [str.__QZ_]
mov ax, word [0x100845c8]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
je 0x10017582
xor ecx, ecx
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov dl, al
shl dl, 3
sub dl, al
mov al, cl
shl dl, 3
sub al, dl
add al, 0x33
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xa
jl 0x10017556
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push 0x10
mov eax, dword [eax]
push 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi], eax
test eax, eax
je 0x100175bd
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x1001b2e0
Capabilities:
Create thread

Disassembly:
call fcn.10079530
push 0x100d5b9c
push 0x1001b3c0
push dword [0x100d59a8]
call fcn.10079670
push 0x100d5a48
push 0x100228f0
push dword [sym.imp.USER32.dll_DefWindowProcW]
call fcn.10079670
push 0
call fcn.10079a90
push 0
push 0
push 0
push 0x1001b330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10027380
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, dword [0x100d5d4c]
mov esi, dword [edi + 0x1a6c]
mov dword [ebp - 8], esi
test cl, 0x10
jne 0x100274dc
mov ebx, dword [esi + 0x114]
lea eax, [edi + 0x1aa4]
test ebx, ebx
je 0x100273c3
cmp dword [eax], ebx
jne 0x100274d3
cmp byte [edi + 0xec], 0
je 0x100274d3
test ebx, ebx
jne 0x10027460
test cl, 8
je 0x100274d3
test byte [esi + 0x118], 1
jne 0x100273fe
cmp dword [eax], ebx
je 0x100274d3
cmp dword [edi + 0x1ad0], esi
jne 0x100274d3
mov ecx, dword [ebp - 8]
add esi, 0x11c
push esi
call fcn.1002ade0
mov ebx, eax
mov eax, dword [ebp - 8]
push ebx
push esi
mov dword [eax + 0x114], ebx
call fcn.1002cf20
mov esi, dword [ebp - 8]
mov cl, al
add esp, 8
mov byte [ebp - 1], cl
test cl, cl
je 0x1002744a
cmp byte [edi + 0x3d8], 0
je 0x1002744a
push esi
push ebx
call fcn.10034630
push esi
call fcn.1002a690
mov cl, byte [ebp - 1]
add esp, 0xc
cmp dword [edi + 0x1aa4], ebx
lea eax, [edi + 0x1aa4]
jne 0x100274d3
mov byte [edi + 0x1ab1], cl
jmp 0x10027467
mov byte [edi + 0x1ab1], 0
cmp dword [eax], ebx
jne 0x100274d3
mov ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xcc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x100d5d4c]
cmp byte [eax + 0xec], 0
jne 0x10027490
xor al, al
jmp 0x100274a7
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1ab8], 0xffffffff
mov dword [edi + 0x1abc], 0xffffffff
mov dword [edi + 0x1ac0], 0xffffffff
mov dword [edi + 0x1ac4], 0xffffffff
test al, al
jne 0x1002751c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 8], esi
mov al, 0x23
mov edx, 0x100c6579
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x100274fe
cmp byte [edx], al
jne 0x100274fe
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x100c5fb8]
test al, al
jne 0x100274f0
mov esi, dword [ebp - 8]
not ebx
cmp byte [edi + 0x1e64], 0
jne 0x10027562
call fcn.10028830
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1e80], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x1e7c], ebx
mov byte [edi + 0x1e64], 1
mov dword [edi + 0x1e68], eax
mov dword [edi + 0x1e70], 0
cmp ebx, dword [edi + 0x1aa4]
jne 0x10027562
mov byte [edi + 0x1ab2], 1
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x1a10]
mov dword [edi + 0x1e6c], eax
mov byte [edi + 0x1e65], 1
test bl, 1
jne 0x100275b5
push 0
push 0
call fcn.100278b0
add esp, 8
cmp dword [edi + 0x1ecc], 0
je 0x100275b5
test dword [edi + 0x1ec0], 0x1000
je 0x100275b5
mov eax, dword [edi + 0x1a6c]
mov byte [eax + 0x87], 1
mov dword [eax + 0xa0], 1
test bl, 0x12
jne 0x100275c1
and dword [esi + 0x118], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002ad10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xcc]
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 + 0x100c5fb8]
sub edi, 1
jne 0x1002ad30
mov ecx, dword [0x100d5d4c]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1aa4], eax
jne 0x1002ad62
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x1002ad71
mov byte [ecx + 0x1ae0], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100d4480]
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 + 0xc4]
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 + 0xcc]
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 + 0x100c5fb8]
sub edi, 1
jne 0x1002ae54
mov eax, dword [0x100d5d4c]
not edx
pop edi
pop esi
cmp dword [eax + 0x1aa4], edx
jne 0x1002ae85
mov dword [eax + 0x1aa8], edx
cmp dword [eax + 0x1adc], edx
jne 0x1002ae94
mov byte [eax + 0x1ae0], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1007c66c
mov esp, ebp
pop ebp
ret 4