joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov ebx, dword [ebp + 8]
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, 0x30
ja 0x49c9fc
mov edi, edx
mov esi, ecx
pcmpeqd xmm0, xmm0
lea eax, [ebp - 0x20]
movdqu xmmword [eax], xmm0
movdqu xmmword [eax - 0x10], xmm0
movdqu xmmword [eax - 0x20], xmm0
mov ecx, dword [ecx + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea eax, [esi + 0xfc]
mov dword [ebp - 0x44], eax
call dword [0x73c768]
lea eax, [ebp - 0x40]
push esi
push eax
push dword [ebp - 0x44]
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [0x73c768]
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x44]
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [0x73c768]
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
call ecx
add esp, 0xc
test ebx, ebx
je 0x49c9a1
xor eax, eax
mov cl, byte [edi + eax]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp ebx, eax
jne 0x49c995
push 1
call fcn.00501410
add esp, 4
bt eax, 0x19
jae 0x49ca00
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.004034c0
add esp, 0xc
mov eax, 0x401cd0
mov ecx, 0x401140
lea edx, [ebp - 0x20]
mov edi, dword [ebp - 0x44]
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
movups xmm0, xmmword [edx]
movups xmmword [edi], xmm0
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x49c9e8
bt eax, 9
jae 0x49ca21
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.00403fe0
add esp, 0xc
xor eax, eax
mov ecx, 0x404090
jmp 0x49c9cd
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.005c04c0
add esp, 0xc
mov eax, 0x5c0c50
mov ecx, 0x5c03d0
jmp 0x49c9cd
Function at 0x4a86e0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x4a86f9
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], edx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [esi]
cmp ebx, eax
je 0x4a873f
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4a8799
lea eax, [edi + 1]
cmp eax, 2
jb 0x4a8736
mov dword [esi], edi
call fcn.004f2b80
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi]
lea eax, [ebx + 1]
cmp eax, 2
jae 0x4a8753
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov esi, dword [ebp - 0x10]
mov eax, esi
add eax, 1
mov edx, dword [ebp - 0x14]
mov ecx, edx
adc ecx, 0x80000000
cmp eax, 2
sbb ecx, 0
jae 0x4a8779
xor eax, eax
test edx, edx
setns al
neg eax
jmp 0x4a8787
push 0
push 0x3e8
push edx
push esi
call fcn.0056b020
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
sete al
jmp 0x4a8749
call fcn.004f2b80
push dword [esi]
call fcn.004e4b30
add esp, 4
mov dword [esi], 0
jmp 0x4a8727

Function at 0x4aaf40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x4ab01c
cmp dword [esi], 0
jne 0x4ab01c
cmp dword [esi + 0xc], 0
jne 0x4ab01c
xor eax, eax
cmp dword [esi + 4], 0
jne 0x4ab01c
mov ebx, dword [edi]
cmp eax, ebx
je 0x4aafa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4ab002
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4aaf99
mov dword [esi], ebx
call fcn.004f2b80
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x4aafd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x4aafe9
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4aafcc
mov dword [esi + 4], ebx
call fcn.004f2b80
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004f2b80
push dword [esi + 4]
call fcn.004e4b30
add esp, 4
mov dword [esi + 4], 0
jmp 0x4aafbc
call fcn.004f2b80
push dword [esi]
call fcn.004e4b30
add esp, 4
mov dword [esi], 0
jmp 0x4aaf8a
mov ecx, esi
call fcn.004e03a0
lea ecx, [esi + 4]
call fcn.004e03a0
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi]
jmp 0x4aaf74
Function at 0x4b18a0
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 [0x742040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x4b18d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x4b19e0
push 0
push eax
push 0x4b1830
push 0x757940
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4b19d8
cmp dword [0x757944], 0
jne 0x4b18bc
push dword [0x757948]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b18bc
mov esi, eax
mov eax, 0x75794c
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x757950]
mov ebx, dword [0x757954]
mov eax, dword [0x757958]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x75795c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x757960]
mov dword [ebp - 0x24], eax
mov eax, 0x75794c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
jne 0x4b19be
test ebx, ebx
jne 0x4b19ab
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4b1987
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
jne 0x4b1976
test ebx, ebx
jne 0x4b1998
push esi
call fcn.004f72a0
add esp, 4
jmp 0x4b18bc
mov edi, dword [esi + 0xc]
call dword [0x73c768]
push edi
call ecx
add esp, 4
jmp 0x4b1964
mov edi, dword [esi + 8]
call dword [0x73c768]
push edi
call ecx
add esp, 4
jmp 0x4b195a
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [0x73c768]
push edi
call ebx
add esp, 4
jmp 0x4b1968
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [0x73c768]
push edi
call ebx
add esp, 4
jmp 0x4b1953
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [0x73c768]
push dword [ebp - 0x18]
call edi
add esp, 4
jmp 0x4b194f
call fcn.0055487f
int3
Function at 0x4b1a00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x4b19e0
push 0
push eax
push 0x4b1830
push 0x757940
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4b1ac8
mov esi, dword [ebp + 0xc]
cmp dword [0x757944], 0
jne 0x4b1ad6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x757948]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x4b1a8b
push 0x14
push 1
call fcn.004f7390
add esp, 8
test eax, eax
je 0x4b1ad6
mov edi, eax
push eax
push dword [0x757948]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4b1acd
mov ebx, dword [ebp + 8]
mov esi, 0x75794c
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x757950], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0055487f
push edi
call fcn.004f72a0
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [0x73c768]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x4b1ab4

Function at 0x4b28a0
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [ecx], 0x6bbf74
add ecx, 4
call fcn.004f2fc0
mov ecx, esi
pop esi
pop ebp
jmp fcn.00411680
Function at 0x4b3210
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea edx, [ebp - 0x18]
mov dword [edx], eax
mov dword [edx + 4], eax
push 6
push edx
push ecx
call fcn.004fa320
add esp, 0xc
xor esi, esi
test eax, eax
je 0x4b326d
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
movzx eax, byte [0x6dfd8d]
cmp ebx, eax
jne 0x4b3281
mov esi, 0x6dfd80
test al, al
je 0x4b326d
push ebx
push 0x6dfd84
push edi
call fcn.0054265d
add esp, 0xc
test eax, eax
jne 0x4b3281
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x6dfeb5]
cmp ebx, eax
jne 0x4b32a8
mov esi, 0x6dfea8
test al, al
je 0x4b326d
push ebx
push 0x6dfeac
push edi
call fcn.0054265d
add esp, 0xc
test eax, eax
je 0x4b326d
movzx eax, byte [0x6dfe21]
cmp ebx, eax
jne 0x4b32cf
mov esi, 0x6dfe14
test al, al
je 0x4b326d
push ebx
push 0x6dfe18
push edi
call fcn.0054265d
add esp, 0xc
test eax, eax
je 0x4b326d
movzx eax, byte [0x6dffe1]
cmp ebx, eax
jne 0x4b3303
mov esi, 0x6dffd4
test al, al
je 0x4b326d
push ebx
push 0x6dffd8
push edi
call fcn.0054265d
add esp, 0xc
test eax, eax
je 0x4b326d
jmp 0x4b3303
xor esi, esi
jmp 0x4b326d
movzx eax, byte [0x6dff49]
cmp ebx, eax
jne 0x4b32fc
mov esi, 0x6dff3c
test al, al
je 0x4b326d
push ebx
push 0x6dff40
push edi
call fcn.0054265d
add esp, 0xc
test eax, eax
je 0x4b326d
jmp 0x4b32fc
Function at 0x4b6de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [0x742040]
xor esi, ebp
mov dword [ebp - 8], esi
mov esi, SysReAllocString
cmp edx, 0x7fffffff
cmovb esi, edx
lea edx, [ebp - 0xc]
mov dword [edx], 0xffffffff
push 0
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4b6e3f
mov esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x4b6e3c
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
int3
xor esi, esi
dec esi
jmp 0x4b6e2a

Function at 0x4b6e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x742040]
xor ecx, ebp
mov esi, SysReAllocString
cmp eax, 0x7fffffff
cmovb esi, eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xffffffff
push 0
push eax
push esi
push edx
mov edi, ebx
push ebx
mov esi, ecx
call ecx
test eax, eax
je 0x4b6ed3
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4b6ebd
cmp ebx, 0xffffffff
je 0x4b6ed0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x4b6ee5
mov ebx, dword [ebp - 0x14]
jmp 0x4b6ea9
int3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x4b6ea9
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, esi
mov esi, dword [ebp - 0x18]
jmp 0x4b6e86

Function at 0x4b7340
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xa4
mov esi, dword [ebp + 8]
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor ebx, ebx
push ebx
push ebx
push ebx
push esi
call fcn.004b7230
add esp, 0x10
or edx, eax
jne 0x4b7377
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
je 0x4b738d
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005412b6
mov eax, ebx
add esp, 0xa4
pop esi
pop ebx
pop ebp
ret
push 2
call fcn.004f2410
add esp, 4
test al, al
je 0x4b73d7
call fcn.005bd350
lea esi, [ebp - 0xac]
mov ecx, esi
push eax
push 2
push 0xfc
push 0x6dd330
call fcn.005bd520
lea eax, [ebp - 0xa4]
push 0xc
push 0x6dd37e
push eax
call fcn.004d1fe0
add esp, 0xc
mov ecx, esi
call fcn.005bd580
xor ebx, ebx
jmp 0x4b7377
Function at 0x4b8f20
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 0xb], 0
jns 0x4b8f39
mov edx, dword [edx]
mov ebx, eax
and ebx, 0xfffffff
test al, 4
je 0x4b8f51
cmp byte [esi + 0x28], 1
je 0x4b8fc2
or ebx, 0x20000000
test bl, 8
jne 0x4b8fca
mov dword [ebp - 0x10], 0
cmp byte [esi + 0x30], 0
mov eax, 0
je 0x4b8f6b
mov eax, dword [esi + 0x2c]
cmp byte [esi + 0x24], 0
mov edi, 0
je 0x4b8f79
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x18], eax
cmp byte [esi + 0x1c], 1
je 0x4b901c
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp byte [esi + 0xc], 1
je 0x4b9032
test ecx, ecx
jne 0x4b8fef
xor ecx, ecx
inc ecx
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x4b8fe6
test esi, esi
sete al
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
or ebx, 0x80000000
jmp 0x4b8f51
cmp byte [esi + 0x34], 1
jne 0x4b8fdb
or ebx, 0x40000000
jmp 0x4b8f56
or ebx, 0x10000000
jmp 0x4b8f56
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4b8fb3
cmp ecx, 4
jne 0x4b8ffb
mov ecx, 6
jmp 0x4b8f9c
mov esi, ecx
add ecx, 0xfffffffe
cmp ecx, 2
jae 0x4b900c
mov ecx, 7
jmp 0x4b8f9c
cmp esi, 1
jne 0x4b9018
mov ecx, 4
jmp 0x4b8f9c
xor ecx, ecx
jmp 0x4b8f9c
lea ecx, [esi + 0x10]
mov dword [ebp - 0x14], edx
call fcn.0048a660
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x4b8f86
mov ecx, esi
mov esi, edx
call fcn.0048a660
mov ecx, dword [ebp + 0xc]
mov edx, esi
jmp 0x4b8f95

Function at 0x4b9050
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, eax
and ebx, 0xfffffff
test al, 4
je 0x4b907a
cmp byte [esi + 0x28], 1
je 0x4b9100
or ebx, 0x20000000
test bl, 8
jne 0x4b910b
xor eax, eax
cmp byte [esi + 0x30], 0
mov ecx, 0
je 0x4b9093
mov ecx, dword [esi + 0x2c]
cmp byte [esi + 0x24], 0
mov edi, 0
je 0x4b90a1
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0x1c], 1
je 0x4b9127
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp byte [esi + 0xc], 1
je 0x4b913d
mov ecx, dword [ebp + 8]
cmp edx, 4
jne 0x4b90ef
mov edx, 6
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
push eax
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x4b9134
test esi, esi
sete al
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov esi, edx
add edx, 0xfffffffe
cmp edx, 2
jae 0x4b914d
mov edx, 7
jmp 0x4b90c9
or ebx, 0x80000000
jmp 0x4b907a
cmp byte [esi + 0x34], 1
jne 0x4b911c
or ebx, 0x40000000
jmp 0x4b9083
or ebx, 0x10000000
jmp 0x4b9083
lea ecx, [esi + 0x10]
call fcn.0048a660
jmp 0x4b90aa
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4b90e0
mov ecx, esi
mov esi, edx
call fcn.0048a660
mov edx, esi
jmp 0x4b90bc
test esi, esi
jne 0x4b9159
xor edx, edx
inc edx
jmp 0x4b90c9
cmp esi, 1
jne 0x4b9168
mov edx, 4
jmp 0x4b90c9
xor edx, edx
jmp 0x4b90c9
Function at 0x4bca60
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 0x4bca77
test eax, eax
je 0x4bca77
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
sete al
mov ecx, dword [0x75a354]
test ecx, ecx
setne dl
and dl, al
cmp dl, 1
je 0x4bcaca
cmp dword [0x75a34c], 0
je 0x4bca71
mov esi, dword [0x75a350]
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 0x4bcad4
test esi, esi
je 0x4bca71
mov ecx, dword [0x75a34c]
call dword [0x73c768]
push esi
call ecx
add esp, 4
jmp 0x4bca71
call dword [0x73c768]
call ecx
jmp 0x4bca8e
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4bcab2
Function at 0x4de6e0
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 0x4de802
movq xmm4, qword [0x6c7b20]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x6c7b60]
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 0x4de799
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 0x4de772
pmovzxdq xmm1, qword [0x6c7b60]
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 [0x6c7b30], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x6c7b40], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x6c7b50], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret
movq xmm4, qword [0x6c7b00]
movdqa xmm5, xmmword [0x6c7b10]
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 0x4de820
jmp 0x4de714

Function at 0x4ded50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
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 0x4ded77
call fcn.004f2b80
cmp dword [esi], ebx
je 0x4deda1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4dedad
cmp edi, 2
jb 0x4ded98
mov dword [esi], ebx
call fcn.004f2b80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004f2b80
push dword [esi]
call fcn.004e4b30
add esp, 4
mov dword [esi], 0
jmp 0x4ded8c
Function at 0x4dee60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x4dee95
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4dee9c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4dee8e
mov dword [esi], ebx
call fcn.004f2b80
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004f2b80
push dword [esi]
call fcn.004e4b30
add esp, 4
mov dword [esi], 0
jmp 0x4dee7f

Function at 0x4e49e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x748a34]
mov ecx, dword [0x746d68]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4e4a30
mov esi, dword [0x748a30]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x748a34
call fcn.005403cd
add esp, 4
cmp dword [0x748a34], 0xffffffff
jne 0x4e4a13
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00544260
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 0x58
call fcn.00540349
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x748a64]
mov ecx, dword [0x746d68]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4e4ad9
mov ecx, esi
push ebx
push 0x748a40
push edi
call fcn.00485c90
mov dword [0x748a30], esi
push 0x748a34
call fcn.00540447
add esp, 4
jmp 0x4e4a13
push 0x748a64
call fcn.005403cd
add esp, 4
cmp dword [0x748a64], 0xffffffff
jne 0x4e4ab3
xorps xmm0, xmm0
movups xmmword [0x748a50], xmm0
movups xmmword [0x748a40], xmm0
mov dword [0x748a60], 0
push 0x748a40
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x748a64
call fcn.00540447
add esp, 4
jmp 0x4e4ab3

Function at 0x4e52d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
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 0x4e534e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4e5337
lea eax, [edi + 1]
cmp eax, 2
jb 0x4e531b
mov dword [esi], edi
call fcn.004f2b80
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 0
inc eax
cmp eax, 1
jbe 0x4e5352
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004f2b80
push dword [esi]
call fcn.004e4b30
add esp, 4
mov dword [esi], 0
jmp 0x4e530c
mov byte [esi + 4], 0
int3