joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ca80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4817a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00472c55
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004783c5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00479960
test eax, eax
je 0x43cb9c
mov ecx, dword [esp + 0x3c]
call fcn.004783f2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43cb60
push edi
mov ecx, esi
call fcn.004759b4
mov ecx, esi
call fcn.0043cd00
cmp dword [esp + 0x38], 1
jne 0x43cb95
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00475b1e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f5d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f603
push esi
call fcn.004426c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f5fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f689
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f672
mov eax, dword [esi + 8]
test eax, eax
je 0x43f627
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f66e
cmp eax, 2
je 0x43f672
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f61a
cmp eax, 3
je 0x43f64d
cmp eax, 1
jne 0x43f61a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f61a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f61a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f6b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f698
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f6b0
add esp, 4
pop esi
ret
Function at 0x451670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4516bc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4516bc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4516a6
push eax
call ebp
test ax, ax
jl 0x4516b4
inc esi
add edi, 4
cmp esi, 6
jb 0x451698
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00451370
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x455450
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4554b0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4554b0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4554b0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4554b0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4554c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x473a4b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x473a83
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00471aff
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00471ad7
jmp 0x473a8f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47513d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47517f
call fcn.0047afed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47517f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x475176
xor eax, eax
jmp 0x475187
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047518d
pop edi
pop esi
pop ebx
ret 4

Function at 0x47b51d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47b54b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47b569
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047b483
jmp 0x47b569
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47b569
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047b483
test edi, edi
mov eax, edi
jne 0x47b553
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3585
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x60502
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004ac060
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [ebp - 0x18], eax
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x14], 0xffff711f
cmp dword [ebp - 0x14], 0x39794
jne 0x4087fd
mov dword [ebp - 0x14], 0xfffffee0
lea ecx, [ebp - 0x64]
call fcn.00408910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00402b40
mov dword [ebp - 0x10], 0x79b3
cmp dword [ebp - 0x10], 0x1ba80
jne 0x408828
mov dword [ebp - 0x10], 0xdb
cmp dword [ebp - 0x10], 0x4f547
jne 0x408838
mov dword [ebp - 0x10], 0x323
cmp dword [ebp - 0x10], 0x1ee6d
jne 0x408848
mov dword [ebp - 0x10], 0xb5
cmp dword [ebp - 0x10], 0x18a1
jne 0x408858
mov dword [ebp - 0x10], 0x226
cmp dword [ebp - 0x10], 0x4d68
jne 0x408868
mov dword [ebp - 0x10], 0x89
push 1
call fcn.005938a8
add esp, 4
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 3
call fcn.00401880
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00491b80
mov byte [ebp - 4], 2
push str.Game_ended_in_the_following_state:_n
lea ecx, [ebp - 0x2c]
call fcn.00492610
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00403d30
lea ecx, [ebp - 0x44]
call fcn.00410130
mov byte [ebp - 4], 3
call fcn.004ae4b0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00408980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00492090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00408960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004ac550
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47cf90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b54ef
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x40
call fcn.0058ea0c
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.QObjectData.0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], 0
call fcn.004bf920
mov dword [esi], vtable.QObjectPrivate.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x18]
and eax, 0xfffffff0
mov dword [ebp - 0x10], 0
or eax, 0x30
mov dword [esi + 4], 0
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], 0
nop
nop
push dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov ecx, edi
and dword [esi + 0x18], 0xfffff83f
push esi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047cdc0
mov dword [edi], vtable.QObject.0
mov eax, edi
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 0x47d090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5520
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.QObjectData.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
mov dword [esi + 0x1c], 0
call fcn.004bf920
mov ecx, dword [ebp + 8]
mov dword [esi], vtable.QObjectPrivate.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
cmp ecx, 0x60502
je 0x47d156
movaps xmm0, xmmword [0x5cecd0]
push 2
push 5
push 6
movzx eax, cl
push eax
mov eax, ecx
mov dword [ebp - 0x14], 0x5c7218
sar eax, 8
movzx eax, al
push eax
sar ecx, 0x10
movzx eax, cl
push eax
lea eax, [ebp - 0x24]
push str.Cannot_mix_incompatible_Qt_library___d._d._d__with_this_library___d._d._d_
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00498850
add esp, 0x20
mov eax, dword [esi + 0x18]
and eax, 0xfffffff0
mov dword [ebp - 0x10], 0
or eax, 0x30
mov dword [esi + 4], 0
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], 0
nop
nop
mov dword [esi + 0x1c], eax
and dword [esi + 0x18], 0xfffff83f
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x499f00
Capabilities:
Terminate process

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00499f30
push dword [esp + 0x10]
call fcn.00498970
add esp, 0x10
test al, al
jne fcn.004f76c0
ret

Function at 0x49b640
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b573d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0x71e410
mov ecx, 1
mov esi, 0x71e410
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x49b68a
mov ecx, esi
call fcn.004f0cc0
mov byte [ebp - 0x14], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ecx + 8], 0x7ffe
jg 0x49b6b2
call fcn.004906d0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x49b779
push 0xfffe
call fcn.0058ea3c
mov edx, dword [ebp + 8]
add esp, 4
xor edi, edi
mov ebx, eax
mov ecx, dword [edx + 8]
test ecx, ecx
jle 0x49b770
mov edx, dword [edx + 4]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x14], edx
mov esi, 0x7ffe
mov edx, edi
cmp eax, esi
mov dword [ebp - 0x10], edx
cmovl esi, eax
cmp edi, ecx
jg 0x49b734
test edi, edi
jns 0x49b716
test esi, esi
js 0x49b70a
add esi, edi
cmp esi, ecx
jge 0x49b70a
test esi, esi
jle 0x49b734
mov eax, dword [ebp - 0x14]
xor edx, edx
lea ecx, [eax + edx*2]
jmp 0x49b738
mov eax, dword [ebp - 0x14]
xor edx, edx
mov esi, ecx
lea ecx, [eax + edx*2]
jmp 0x49b738
mov eax, ecx
sub eax, edi
cmp esi, eax
cmova esi, eax
mov eax, esi
test edi, edi
jne 0x49b72c
mov edx, dword [ebp - 0x10]
cmp eax, ecx
jne 0x49b72c
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx*2]
jmp 0x49b738
xor esi, esi
xor ecx, ecx
test ecx, ecx
je 0x49b74a
lea eax, [esi + esi]
push eax
push ecx
push ebx
call fcn.00591570
add esp, 0xc
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 8]
add edi, 0x7ffe
mov ecx, dword [edx + 8]
cmp edi, ecx
jl 0x49b6d1
mov esi, 0x71e410
push ebx
call fcn.0058f1d5
add esp, 4
xor edx, edx
mov eax, 1
lock cmpxchg dword [esi], edx
cmp eax, 1
je 0x49b790
mov ecx, esi
call fcn.004f0e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ab230
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4ab280
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4ab242
mov eax, dword [edi]
jmp 0x4ab367
cmp eax, 0x4e0
jb 0x4ab367
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4ab2a0
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4ab2f0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x4ab460
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8710
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x71c56c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movq xmm0, qword [0x71fb60]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub edi, edx
movq qword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
and ecx, 0x800
sar edi, 2
or ecx, ebx
mov dword [ebp - 0x10], eax
je 0x4ab4c4
push edi
push edx
call fcn.0050ec40
mov edx, dword [ebp + 8]
add esp, 8
mov ebx, eax
cmp ebx, edi
je 0x4ab528
mov esi, edi
sub esi, ebx
shl esi, 2
push esi
lea eax, [edx + ebx*4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
xor ecx, ecx
test al, al
cmovne ecx, esi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add ebx, eax
cmp ebx, edi
je 0x4ab528
mov eax, dword [ebp + 8]
sub edi, ebx
lea esi, [eax + ebx*4]
lea edi, [esi + edi*4]
cmp esi, edi
je 0x4ab528
nop dword [eax + eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00597b0f
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], eax
add esi, 4
cmp esi, edi
jne 0x4ab510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ab5b0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8730
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x71c56c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 0x10
nop
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x4ab627
sub esi, 1
jne 0x4ab5e0
lea esi, [ebp - 0x20]
lea eax, [ebp - 0x34]
push eax
call fcn.00597b0f
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [esi], eax
add esi, 4
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x4ab606
movups xmm0, xmmword [ebp - 0x20]
jmp 0x4ab62b
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp + 8]
movups xmmword [eax], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058e709
mov esp, ebp
pop ebp
ret
Function at 0x4ab650
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 0x9c4
mov eax, dword [0x71c56c]
xor eax, esp
mov dword [esp + 0x9c0], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x9d4]
mov edx, 0x1571
mov ecx, 1
mov dword [edi], 1
lea esi, [edi + 0xc]
mov dword [edi + 0x1388], 0xffffffff
mov dword [edi + 8], 0x1571
mov eax, edx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
inc ecx
mov dword [esi - 4], edx
cmp ecx, 0x270
jb 0x4ab692
push ebx
lea eax, [esp + 0x9d0]
mov dword [edi + 4], 0x270
push eax
lea eax, [esp + 0x14]
mov ecx, 0x71e488
push eax
call fcn.004ab460
xor edx, edx
lea ebx, [edi + 8]
xor esi, esi
mov eax, dword [esp + esi*4 + 0x10]
lea ebx, [ebx + 4]
mov ecx, eax
mov dword [ebx - 4], eax
or ecx, edx
mov edx, eax
shr edx, 0x1f
test esi, esi
cmovne edx, ecx
inc esi
cmp esi, 0x270
jb 0x4ab6d6
pop ebx
test edx, edx
jne 0x4ab703
mov dword [edi + 8], 0xffffffff
mov ecx, dword [esp + 0x9cc]
mov dword [edi + 4], 0x270
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0058e709
add esp, 0x9c4
ret
Function at 0x4b1b40
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 0xc]
movd xmm0, dword [esp + 0x10]
mov ecx, dword [esp + 4]
pshufd xmm4, xmm0, 0
movd xmm0, eax
cwde
push esi
mov esi, dword [esp + 0xc]
pinsrw xmm0, eax, 4
pshufhw xmm1, xmm0, 0
lea edx, [ecx + esi]
pxor xmm1, xmm4
aesenc xmm1, xmm1
cmp esi, 0x10
jae 0x4b1bc7
test esi, esi
je 0x4b1cb0
test ecx, 0x800
jne 0x4b1b9b
movups xmm0, xmmword [ecx]
mov eax, 0x61824f
sub eax, esi
movups xmm2, xmmword [eax]
pand xmm2, xmm0
jmp 0x4b1bae
movups xmm2, xmmword [edx - 0x10]
mov eax, 0x61826f
sub eax, esi
movups xmm0, xmmword [eax]
pshufb xmm2, xmm0
pxor xmm1, xmm2
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd eax, xmm1
pop esi
ret
cmp esi, 0x20
ja 0x4b1c1e
lea eax, [ecx + 0x10]
movaps xmm3, xmm1
aesenc xmm3, xmm4
cmp eax, edx
jae 0x4b1bf6
movups xmm0, xmmword [edx - 0x10]
movups xmm2, xmmword [ecx]
pxor xmm3, xmm0
aesenc xmm3, xmm3
pxor xmm2, xmm1
aesenc xmm3, xmm3
jmp 0x4b1c0a
movaps xmm2, xmm1
cmp ecx, edx
je 0x4b1c14
movups xmm2, xmmword [edx - 0x10]
pxor xmm2, xmm1
aesenc xmm2, xmm2
aesenc xmm2, xmm2
aesenc xmm2, xmm2
pxor xmm2, xmm3
movd eax, xmm2
pop esi
ret
lea eax, [ecx + 0x20]
movaps xmm2, xmm1
aesenc xmm2, xmm4
cmp eax, edx
jae 0x4b1c5d
nop dword [eax]
movups xmm0, xmmword [ecx]
add ecx, 0x20
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
add eax, 0x20
aesenc xmm1, xmm1
pxor xmm2, xmm0
aesenc xmm2, xmm2
aesenc xmm1, xmm1
aesenc xmm2, xmm2
cmp eax, edx
jb 0x4b1c30
lea eax, [ecx + 0x10]
cmp eax, edx
jae 0x4b1c91
movups xmm0, xmmword [ecx]
pop esi
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x10]
aesenc xmm1, xmm1
aesenc xmm1, xmm1
pxor xmm2, xmm0
aesenc xmm2, xmm2
aesenc xmm2, xmm2
pxor xmm1, xmm2
movd eax, xmm1
ret
cmp ecx, edx
je 0x4b1cac
movups xmm0, xmmword [edx - 0x10]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
pxor xmm1, xmm2
movd eax, xmm1
pop esi
ret
Function at 0x4b1cc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 0xc]
movd xmm0, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
pshufd xmm4, xmm0, 0
movd xmm0, eax
cwde
push esi
lea esi, [ecx + edx]
pinsrw xmm0, eax, 4
pshufhw xmm2, xmm0, 0
pxor xmm2, xmm4
aesenc xmm2, xmm2
cmp edx, 0x10
jae 0x4b1d43
test edx, edx
je 0x4b1d3d
test ecx, 0x800
jne 0x4b1d17
movups xmm0, xmmword [ecx]
mov eax, 0x61824f
sub eax, edx
movups xmm1, xmmword [eax]
pand xmm1, xmm0
jmp 0x4b1d2a
movups xmm1, xmmword [esi - 0x10]
mov eax, 0x61826f
sub eax, edx
movups xmm0, xmmword [eax]
pshufb xmm1, xmm0
pxor xmm2, xmm1
aesenc xmm2, xmm2
aesenc xmm2, xmm2
aesenc xmm2, xmm2
movd eax, xmm2
pop esi
ret
cmp edx, 0x20
ja 0x4b1d9a
lea eax, [ecx + 0x10]
movaps xmm3, xmm2
aesenc xmm3, xmm4
cmp eax, esi
jae 0x4b1d72
movups xmm0, xmmword [esi - 0x10]
movups xmm1, xmmword [ecx]
pxor xmm3, xmm0
aesenc xmm3, xmm3
pxor xmm1, xmm2
aesenc xmm3, xmm3
jmp 0x4b1d86
movaps xmm1, xmm2
cmp ecx, esi
je 0x4b1d90
movups xmm1, xmmword [esi - 0x10]
pxor xmm1, xmm2
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
pxor xmm1, xmm3
movd eax, xmm1
pop esi
ret
movaps xmm1, xmm2
aesenc xmm1, xmm4
vmovdqu xmm0, xmm2
vinsertf128 ymm0, ymm0, xmm1, 1
pop esi
jmp fcn.004b1dc0

Function at 0x4b1e60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x40
movq xmm0, qword [0x71fb60]
movq qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x18]
and ecx, 0x8000000
or ecx, 0
je 0x4b1f7b
movq xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x18]
and ecx, 0x400000
or ecx, 0
je 0x4b1f63
mov eax, dword [ebp + 0x10]
movd xmm0, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
pshufd xmm2, xmm0, 0
movd xmm0, eax
cwde
pinsrw xmm0, eax, 4
pshufhw xmm0, xmm0, 0
pxor xmm0, xmm2
aesenc xmm0, xmm0
movaps xmm1, xmm0
aesenc xmm1, xmm2
cmp edx, 0x20
ja 0x4b1f51
vinsertf128 ymm1, ymm0, xmm1, 1
test edx, edx
je 0x4b1f46
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
bzhi eax, eax, edx
kmovd k1, eax
vmovdqu8 ymm0 {k1} {z}, ymmword [ecx]
vmovdqu ymmword [esp + 0x20], ymm0
cmp edx, 0x10
jb 0x4b1f29
vpxor ymm0, ymm0, ymm1
vaesenc ymm0, ymm0, ymm0
vaesenc ymm1, ymm0, ymm0
vextracti128 xmm0, ymm1, 1
vpxor xmm1, xmm1, xmm0
vmovd eax, xmm1
vzeroupper
mov esp, ebp
pop ebp
ret
vmovaps xmm0, xmmword [esp + 0x20]
vpxor xmm0, xmm0, xmm1
vaesenc xmm0, xmm0, xmm0
vaesenc xmm0, xmm0, xmm0
vaesenc xmm0, xmm0, xmm0
vmovaps xmm1, xmm0
vmovd eax, xmm1
vzeroupper
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
vinsertf128 ymm0, ymm0, xmm1, 1
call fcn.004b1dc0
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b1cc0
add esp, 0x10
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b1b40
add esp, 0x10
mov esp, ebp
pop ebp
ret