joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x458030
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x420490
push 0
push eax
push 0x420470
push 0x656730
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x458132
cmp dword [0x656734], 0
jne 0x45801c
push dword [0x656738]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45801c
mov esi, eax
mov eax, 0x65673c
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x656740]
mov ebx, dword [0x656744]
mov eax, dword [0x656748]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x65674c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x656750]
mov dword [ebp - 0x24], eax
mov eax, 0x65673c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4580c4
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [0x63e63c]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x4580d9
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x63e63c]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4580ef
mov edi, dword [esi + 8]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x458108
mov edi, dword [esi + 0xc]
call dword [0x63e63c]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x45811d
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [0x63e63c]
push edi
call ebx
add esp, 4
push 0
push esi
push 0x635c90
call fcn.005087f0
add esp, 0xc
jmp 0x45801c
call fcn.005796d6
int3

Function at 0x458cf0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
mov edx, esi
call fcn.00431b40
mov eax, dword [esi]
test eax, eax
je 0x458d43
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x2c]
xor esi, esi
cmp ebx, edi
jne 0x458d4a
lea ecx, [ebp - 0x14]
call fcn.00431310
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov esi, 3
jmp 0x458d25
cmp dword [ebx + 0x50], 2
jne 0x458d69
cmp byte [ebx + 0x1b], 0
js 0x458d5b
lea eax, [ebx + 0x10]
jmp 0x458d5e
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x458d6e
add ebx, 0x58
jmp 0x458d21
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jae 0x458d94
push ebx
mov dword [ebp - 0x18], edx
push edx
call fcn.005d5bd0
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x458d69
mov ecx, dword [ebp + 8]
push ebx
call fcn.005d5ac0
mov ecx, eax
jmp 0x458d8c
Function at 0x4e4600
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.004e4617

Function at 0x4e7900
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.004e7917

Function at 0x4ec740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ec7b3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4ec79d
cmp dword [ebp - 0x18], 4
jne 0x4ec79d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x4ec79d

Function at 0x4ec7c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x644040]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8
Function at 0x4ec800
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x644040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, 0x20019
or ecx, dword [ebp + 0xc]
push esi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ec8b6
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ecx, dword [esi]
sub esp, 0x30
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4ec8d4
mov eax, dword [ebp - 0x1c]
sub eax, 1
setb dl
mov dword [esi + 4], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4ec8bc
test dl, dl
jne 0x4ec8bc
lea ebx, [esi + 8]
lea edx, [ebp - 0x14]
mov dword [edx], 0x104
xor edx, edx
dec edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
xor edx, edx
push edi
push edx
push edx
push edx
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4ec8c2
jmp 0x4ec8bc
mov dword [esi], 0
mov word [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4ec8b6

Function at 0x4eea20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4eea37
test eax, eax
je 0x4eea37
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x4eea45
mov ecx, dword [0x656854]
test ecx, ecx
jne 0x4eea81
cmp dword [0x65684c], 0
je 0x4eea31
mov esi, dword [0x656850]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x4eea8b
test esi, esi
je 0x4eea31
mov ecx, dword [0x65684c]
call dword [0x63e63c]
push esi
call ecx
add esp, 4
jmp 0x4eea31
call dword [0x63e63c]
call ecx
jmp 0x4eea45
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4eea69
Function at 0x4ef3d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ecx], 0
mov ebx, dword [eax]
mov dword [eax], 0
lea edi, [ebx + 1]
cmp edi, 2
jb 0x4ef3f9
call fcn.004ef4b0
cmp dword [esi], ebx
je 0x4ef423
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4ef42f
cmp edi, 2
jb 0x4ef41a
mov dword [esi], ebx
call fcn.004ef4b0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x4ef468
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x4ef40e
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ef4a4
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x4ef49e
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x4ef442
push 1
push 0
jmp 0x4ef494
xor eax, eax
push eax
jmp 0x4ef493
Function at 0x509580
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x28], eax
mov byte [ecx + 4], 0
mov edi, pe_nt_image_headers32
jmp 0x5095e5
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esp + 0xc]
mov dword [esi + edi], 0
mov byte [esi + edi + 4], 0
movzx eax, word [esi + edi + 6]
imul eax, dword [esp + 8]
sub dword [esi], eax
add edi, 8
cmp edi, 0x2f8
je 0x50970c
cmp byte [esi + edi + 4], 0
je 0x5095d6
mov ecx, dword [esi + edi]
movzx eax, word [esi + edi + 6]
push eax
call fcn.00508ee0
movzx eax, byte [esi + edi + 4]
mov dword [esp + 8], eax
movzx eax, word [esi + edi + 6]
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov ebx, dword [esi + edi]
mov edi, dword [esi + 0x2f8]
add edi, 0x40
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x509700
mov dword [esp + 4], edi
test ebx, ebx
jne 0x50965a
jmp 0x5095b0
xor edi, edi
jmp 0x509671
push 1
call fcn.00508f60
nop word cs:[eax + eax]
mov ebx, edi
test edi, edi
je 0x5095b0
mov edi, dword [ebx]
test edi, edi
je 0x509637
bswap edi
test edi, 0x1fc000
je 0x509725
prefetcht0 byte [edi]
mov eax, dword [esi + 0x2f8]
mov ecx, ebx
and ecx, 0xffe00000
mov edx, ebx
shr edx, 9
and edx, 0x1fe0
or edx, ecx
mov ecx, edx
or ecx, 0x1000
or edx, 0x101e
movzx edx, byte [edx]
and edx, 0x3f
shl edx, 5
sub ecx, edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
sub dword [eax + 0x117c], edx
mov eax, dword [ecx]
cmp eax, ebx
je 0x509722
bswap eax
mov dword [ebx], eax
mov dword [ecx], ebx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x50971f
lea edx, [eax + 0x3ffe]
and edx, 0x3ffe
mov ebx, eax
and ebx, 0xefffc001
or ebx, edx
mov dword [ecx + 0xc], ebx
test al, 1
jne 0x50963b
test edx, edx
jne 0x509650
jmp 0x50963b
mov ecx, edi
call fcn.0051aca0
jmp 0x50962a
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.00568175
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [ebx]
push str.first
call fcn.005952f0
push esi
call fcn.00405c30
add esp, 4
push dword [esp]
call fcn.005d3e90
int3
Function at 0x526160
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x6495f0]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5261b2
mov eax, dword [0x6495ec]
mov esi, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6495f0
call fcn.00564ee8
add esp, 4
cmp dword [0x6495f0], 0xffffffff
jne 0x526193
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00569910
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.00564ea5
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x649638]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x52625b
mov ecx, esi
push ebx
push 0x649614
push edi
call fcn.0040d210
mov dword [0x6495ec], esi
push 0x6495f0
call fcn.00564f37
add esp, 4
jmp 0x526193
push 0x649638
call fcn.00564ee8
add esp, 4
cmp dword [0x649638], 0xffffffff
jne 0x526235
xorps xmm0, xmm0
movups xmmword [0x649624], xmm0
movups xmmword [0x649614], xmm0
mov dword [0x649634], 0
push 0x649614
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x649638
call fcn.00564f37
add esp, 4
jmp 0x526235
Function at 0x531010
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ecx - 4], esp
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0x4ebf40
mov edx, dword fs:[0]
mov dword [ecx], edx
mov dword fs:[0], ecx
mov dword [esi + 0x18], eax
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x10], ecx
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x1002
mov dword [esi + 0xc], eax
mov dword [esi + 8], 6
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x30], xmm0
xorps xmm0, xmm0
movsd qword [esi + 0x40], xmm0
mov eax, dword [0x648e30]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5310bb
mov eax, dword [0x648e2c]
mov dword [esi + 0x1c], eax
cmp eax, 0x648d88
jne 0x53117a
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x648e30
call fcn.00564ee8
add esp, 4
cmp dword [0x648e30], 0xffffffff
jne 0x531095
mov eax, dword [0x648e28]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x531122
mov eax, dword [0x648e24]
mov dword [0x648e2c], eax
cmp eax, 0x648d88
jne 0x531183
push fcn.00593c60
call fcn.00566baa
add esp, 4
push 0x648e30
call fcn.00564f37
add esp, 4
jmp 0x531095
push 0x648e28
call fcn.00564ee8
add esp, 4
cmp dword [0x648e28], 0xffffffff
jne 0x5310ee
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
mov ecx, 0x648d88
push 1
call fcn.0052f330
mov dword [0x648e24], 0x648d88
push fcn.00593c60
call fcn.00566baa
add esp, 4
push 0x648e28
call fcn.00564f37
add esp, 4
mov esi, dword [ebp - 0x20]
jmp 0x5310ee
lock inc dword [eax + 4]
jmp 0x5310a8
lock inc dword [eax + 4]
jmp 0x531103

Function at 0x5329d0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005329e0
Function at 0x5341b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x53429a
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x534225
lea eax, [edi + 1]
cmp eax, 2
jb 0x534202
mov dword [esi], edi
call fcn.004ef4b0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 0
inc eax
cmp eax, 1
jbe 0x53429e
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004ef4b0
mov eax, dword [esi]
cmp dword [0x655034], 0
mov dword [ebp - 0x18], eax
je 0x53425e
mov eax, dword [0x655034]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
call dword [0x63e63c]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [ebp - 0x10]
mov dword [esi], 0
jmp 0x5341f3
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6326b5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5342a1
mov ecx, eax
cmp eax, sym.browser.exe_GetHandleVerifier
je 0x534294
call dword [0x63e63c]
call ecx
push 0
push eax
call fcn.00437740
add esp, 8
jmp 0x534238
push 1
push 0
jmp 0x53428a
mov byte [esi + 4], 0
int3
xor eax, eax
push eax
jmp 0x534289
Function at 0x5397a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x6496dc]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5397e4
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [0x6496d8]
test ecx, ecx
je 0x539829
call dword [0x63e63c]
push edi
push esi
call ecx
test eax, eax
je 0x53983b
pop esi
pop edi
pop ebp
ret
push 0x6496dc
call fcn.00564ee8
add esp, 4
cmp dword [0x6496dc], 0xffffffff
jne 0x5397c2
push str.bcryptprimitives.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x53983e
push str.ProcessPrng
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6496d8], eax
push 0x6496dc
call fcn.00564f37
add esp, 4
jmp 0x5397c2
test edi, edi
je 0x5397e0
push edi
push esi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x5397e0
int3
int3
int3

Function at 0x539850
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x6495f0]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x5398a1
mov eax, dword [0x6495ec]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6495f0
call fcn.00564ee8
add esp, 4
cmp dword [0x6495f0], 0xffffffff
jne 0x539883
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00569910
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.00564ea5
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x649638]
mov ecx, dword [0x64783c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x53994a
mov ecx, esi
push ebx
push 0x649614
push edi
call fcn.0040d210
mov dword [0x6495ec], esi
push 0x6495f0
call fcn.00564f37
add esp, 4
jmp 0x539883
push 0x649638
call fcn.00564ee8
add esp, 4
cmp dword [0x649638], 0xffffffff
jne 0x539924
xorps xmm0, xmm0
movups xmmword [0x649624], xmm0
movups xmmword [0x649614], xmm0
mov dword [0x649634], 0
push 0x649614
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x649638
call fcn.00564f37
add esp, 4
jmp 0x539924

Function at 0x53a570
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x53a57f
pop ebp
jmp fcn.0053a5a0
cmp dword [ebp + 0x10], 0
jne 0x53a599
xor eax, eax
push eax
push eax
push 0x4edcd0
push 0x656688
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
xor eax, eax
pop ebp
ret
Function at 0x53ab00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm4, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmm2, xmmword [ecx + 0x20]
movdqu xmm1, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm4
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jae 0x53ac22
movq xmm4, qword [0x626e80]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x626ec0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp eax, 0x10
jb 0x53abb9
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add ecx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
ja 0x53ab92
pmovzxdq xmm1, qword [0x626ec0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm2, xmm2
pxor xmm1, xmm1
pblendw xmm1, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm1, xmmword [0x626e90], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x626ea0], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x626eb0], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret
movq xmm4, qword [0x626e60]
movdqa xmm5, xmmword [0x626e70]
nop word cs:[eax + eax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm6
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
movdqu xmm6, xmmword [ecx]
pxor xmm0, xmm6
movdqu xmm6, xmmword [ecx + 0x10]
pxor xmm3, xmm6
movdqu xmm6, xmmword [ecx + 0x20]
pxor xmm2, xmm6
movdqu xmm6, xmmword [ecx + 0x30]
pxor xmm1, xmm6
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x53ac40
jmp 0x53ab34
Function at 0x53ef30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x53f039
mov esi, dword [ecx + 4]
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx + 0x74], 0
je 0x53f039
add ecx, esi
xor eax, eax
cmp word [ecx + 0x14], 0x68
jb 0x53f031
add ecx, 0x78
je 0x53f031
mov ecx, dword [ecx]
test ecx, ecx
je 0x53f039
add ecx, esi
je 0x53f039
cmp edx, 0xffff
jbe 0x53f029
mov eax, dword [ecx + 0x20]
lea edi, [esi + eax]
test eax, eax
cmove edi, eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x18]
lea eax, [edi + eax*4]
lea ecx, [edx + 1]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
jmp 0x53efd3
xor ecx, ecx
lea ebx, [edi + ebx*2]
movzx edx, cl
mov dword [ebp - 0x24], edx
movzx edx, byte [esi]
cmp dword [ebp - 0x24], edx
lea esi, [ebx + 4]
cmovg edi, esi
cmovs eax, ebx
cmp cl, dl
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
je 0x53f00f
cmp edi, eax
je 0x53f039
mov ebx, eax
sub ebx, edi
mov ecx, ebx
sar ecx, 2
shr ebx, 0x1f
add ebx, ecx
and ebx, 0xfffffffe
mov ecx, dword [edi + ebx*2]
add esi, ecx
test ecx, ecx
cmove esi, ecx
mov cl, byte [edx]
test cl, cl
je 0x53efaf
mov edx, dword [ebp - 0x18]
nop dword [eax + eax]
cmp cl, byte [esi]
jne 0x53efb1
inc esi
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x53f000
jmp 0x53efaf
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x24]
add esi, eax
test eax, eax
cmove esi, eax
sub ebx, dword [ebp - 0x10]
sar ebx, 1
movzx edx, word [esi + ebx]
add dx, word [ecx + 0x10]
mov eax, dword [ebp + 8]
mov word [eax], dx
mov al, 1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x53f031