joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6bc0
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ecx + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4a6d2c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], edi
mov edi, dword [edi + 0x18]
test edi, edi
je 0x4a6cf7
imul eax, dword [ebp + 8], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e995
xor eax, 0x6f47a654
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x14]
and ecx, 0xf0f0f0f
imul ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
jbe 0x4a6d22
mov edx, ebx
cmp ebx, edi
jb 0x4a6c74
mov eax, ebx
xor edx, edx
div edi
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4a6cf7
mov esi, dword [eax]
test esi, esi
je 0x4a6cf7
lea eax, [edi - 1]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4a6c9d
mov eax, dword [ebp + 8]
cmp dword [esi + 8], eax
je 0x4a6cc2
jmp 0x4a6cba
cmp ecx, 1
mov dword [ebp - 0x24], edx
jbe 0x4a6d43
cmp eax, edi
jb 0x4a6cb3
xor edx, edx
div edi
mov eax, edx
mov edx, dword [ebp - 0x24]
cmp eax, edx
jne 0x4a6cf7
mov esi, dword [esi]
test esi, esi
jne 0x4a6c8c
jmp 0x4a6cf7
lea edi, [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
push esi
push edi
call fcn.0049c850
mov esi, dword [edi]
mov dword [edi], 0
test esi, esi
je 0x4a6cf7
cmp byte [ebp - 0x14], 0
je 0x4a6cee
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4a6cee
lock dec dword [eax + 4]
je 0x4a6d38
push esi
call fcn.004eca8e
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
setne bl
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea edx, [edi - 1]
and edx, ebx
jmp 0x4a6c74
mov ecx, esi
call fcn.004c2ef0
jmp 0x4a6be7
push eax
call fcn.004be220
add esp, 4
jmp 0x4a6cee
and eax, dword [ebp - 0x28]
jmp 0x4a6cb3
Function at 0x4a73b0
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 [0x59d024]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x4a73e0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x4a74e0
push 0
push eax
push 0x4a7390
push 0x5b2714
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4a74db
cmp dword [0x5b2718], 0
jne 0x4a73cc
push dword [0x5b271c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a73cc
mov esi, eax
mov eax, 0x5b2720
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x5b2724]
mov ebx, dword [0x5b2728]
mov eax, dword [0x5b272c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5b2730]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5b2734]
mov dword [ebp - 0x24], eax
mov eax, 0x5b2720
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x4a7474
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x4a7489
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4a749f
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x4a74b8
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x4a74cd
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.004d5980
add esp, 4
jmp 0x4a73cc
call fcn.00501b50
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x5b271c], eax
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x5b2718], ecx
pop ebp
ret
Function at 0x4a7500
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 [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x4a74e0
push 0
push eax
push 0x4a7390
push 0x5b2714
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4a75d3
mov esi, dword [ebp + 0xc]
cmp dword [0x5b2718], 0
jne 0x4a75e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x5b271c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x4a7596
push 0x14
call fcn.004d5950
add esp, 4
test eax, eax
je 0x4a75e1
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push dword [0x5b271c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4a75d8
mov ebx, dword [ebp + 8]
mov esi, 0x5b2720
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x5b2724], 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.004ed092
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00501b50
push edi
call fcn.004d5980
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x4a75bf
Function at 0x4a8230
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4a832d
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x10], 7
jb 0x4a8358
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
shr cl, 3
and cl, 1
mov dword [ebp - 0x10], ecx
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 8], eax
shr edi, 0xc
and edi, 3
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0xd], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0xe], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and al, 1
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x1a], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x4a8366
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [esi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [esi + 0x16], cl
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x18], al
mov eax, SysReAllocString
xor ecx, ecx
cpuid
cmp eax, reloc.OLEAUT32.dll_SysStringLen
jle 0x4a836a
mov eax, VariantClear
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x19], dh
test dh, dh
je 0x4a836f
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
xor ebx, ebx
jmp 0x4a827a
xor eax, eax
jmp 0x4a82fe
mov dh, byte [esi + 0x19]
jmp 0x4a834c
cmp byte [esi + 0x1a], 0
je 0x4a8350
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x4a8350
cmp ecx, 0x666f736f
jne 0x4a8350
cmp edx, 0x76482074
jne 0x4a8350
mov byte [esi + 0x19], 1
jmp 0x4a8350

Function at 0x4a9480
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x5b27e0]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4a94ea
mov ecx, 0x5b27d8
call fcn.00478d80
test eax, eax
jne 0x4a94dd
push 4
call fcn.004eca5e
add esp, 4
mov edi, eax
mov dword [eax], 0
mov ecx, 0x5b27d8
call fcn.00478d80
mov esi, eax
mov ecx, 0x5b27d8
push edi
call fcn.004be640
test esi, esi
jne 0x4a952d
mov ecx, 0x5b27d8
pop esi
pop edi
pop ebp
jmp fcn.00478d80
push 0x5b27e0
call fcn.004ecb07
add esp, 4
cmp dword [0x5b27e0], 0xffffffff
jne 0x4a94a2
xor eax, eax
mov dword [0x5b27dc], eax
mov dword [0x5b27d8], eax
mov ecx, 0x5b27d8
push 0x431380
call fcn.00478e20
push 0x5b27e0
call fcn.004ecb7d
add esp, 4
jmp 0x4a94a2
push esi
call fcn.004eca8e
add esp, 4
jmp 0x4a94dd
Function at 0x4ae970
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x4ae987
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4ae98a
and edx, 0x7f
mov ecx, edx
cmp edx, 4
jb 0x4ae9c6
nop word cs:[eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4ae9a0
cmp edx, 1
je 0x4ae9e7
cmp edx, 2
je 0x4ae9de
cmp edx, 3
jne 0x4ae9f2
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4af130
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 0x4af165
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4af16c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4af15e
mov dword [esi], ebx
call fcn.004b4480
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004b4480
push dword [esi]
call fcn.004c3200
add esp, 4
mov dword [esi], 0
jmp 0x4af14f
Function at 0x4be480
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.004edde0
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x59ece0]
cmp eax, 0xffffffff
je 0x4be5d3
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x4be5d3
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.004efd90
add esp, 0xc
mov ecx, dword [0x59ece0]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.00493e80
add esp, 8
test ebx, ebx
je 0x4be4fb
push ebx
call fcn.004ecacc
add esp, 4
mov eax, dword [0x5a3b2c]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4be5e8
mov esi, dword [0x5a3b28]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4be62d
lea eax, [ebp - 0x1410]
push 0xc00
push 0x5a2f28
push eax
call fcn.004efd90
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
test al, 1
je 0x4be5c3
mov dword [ebp - 0x1418], ecx
xor ebx, ebx
lea edi, [ebp - 0x1408]
xor eax, eax
jmp 0x4be57c
inc ebx
add edi, 0xc
cmp ebx, 0x100
je 0x4be5ba
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
je 0x4be570
cmp dword [edi - 8], 0
je 0x4be570
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x4be570
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x4be570
mov dword [ebp + ebx*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x4be570
mov ecx, dword [ebp - 0x1418]
dec ecx
jne 0x4be558
push 2
push dword [ebp - 0x1414]
call fcn.00493e80
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a3b2c
call fcn.004ecb07
add esp, 4
cmp dword [0x5a3b2c], 0xffffffff
jne 0x4be51c
push 4
call fcn.004eca5e
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.004c2ee0
mov dword [0x5a3b28], esi
push 0x5a3b2c
call fcn.004ecb7d
add esp, 4
jmp 0x4be51c
mov ecx, esi
call fcn.004c2ef0
jmp 0x4be531
Function at 0x4c2d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x4c2d4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4c2d62
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4c2d44
mov dword [esi], ebx
call fcn.004b4480
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x4c2d79
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004b4480
push dword [esi]
call fcn.004c3200
add esp, 4
mov dword [esi], 0
jmp 0x4c2d35
int3

Function at 0x4c2f40
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 0x4c2fbe
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4c2fa7
lea eax, [edi + 1]
cmp eax, 2
jb 0x4c2f8b
mov dword [esi], edi
call fcn.004b4480
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x4c2fc2
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004b4480
push dword [esi]
call fcn.004c3200
add esp, 4
mov dword [esi], 0
jmp 0x4c2f7c
mov byte [esi + 4], 1
int3
Function at 0x4c3230
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5a3bac]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4c327d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, 0x5a3ba8
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a3bac
call fcn.004ecb07
add esp, 4
cmp dword [0x5a3bac], 0xffffffff
jne 0x4c3263
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.004f0310
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.004eca5e
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x5a3bdc]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4c3326
mov ecx, esi
push ebx
push 0x5a3bb8
push edi
call fcn.00481140
mov dword [0x5a3ba8], esi
push 0x5a3bac
call fcn.004ecb7d
add esp, 4
jmp 0x4c3263
push 0x5a3bdc
call fcn.004ecb07
add esp, 4
cmp dword [0x5a3bdc], 0xffffffff
jne 0x4c3300
xorps xmm0, xmm0
movups xmmword [0x5a3bc8], xmm0
movups xmmword [0x5a3bb8], xmm0
mov dword [0x5a3bd8], 0
push 0x5a3bb8
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x5a3bdc
call fcn.004ecb7d
add esp, 4
jmp 0x4c3300
Function at 0x4c3380
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5a3bac]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4c33d0
mov esi, dword [0x5a3ba8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a3bac
call fcn.004ecb07
add esp, 4
cmp dword [0x5a3bac], 0xffffffff
jne 0x4c33b3
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.004f0310
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.004eca5e
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x5a3bdc]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4c3479
mov ecx, esi
push ebx
push 0x5a3bb8
push edi
call fcn.00481140
mov dword [0x5a3ba8], esi
push 0x5a3bac
call fcn.004ecb7d
add esp, 4
jmp 0x4c33b3
push 0x5a3bdc
call fcn.004ecb07
add esp, 4
cmp dword [0x5a3bdc], 0xffffffff
jne 0x4c3453
xorps xmm0, xmm0
movups xmmword [0x5a3bc8], xmm0
movups xmmword [0x5a3bb8], xmm0
mov dword [0x5a3bd8], 0
push 0x5a3bb8
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x5a3bdc
call fcn.004ecb7d
add esp, 4
jmp 0x4c3453

Function at 0x4c3680
Capabilities:
Encode data using xor
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [0x5a3bec]
test dl, 1
je 0x4c369f
call fcn.004d68a0
pop ebp
jmp fcn.004d5c10
test ecx, ecx
je 0x4c36ae
push ecx
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x4c36b0
pop ebp
ret
int3
Function at 0x4cf950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4cf988
mov edx, dword [ebp + 0xc]
xor esi, esi
nop word cs:[eax + eax]
movzx edi, al
movzx ebx, byte [edx + esi]
xor ebx, edi
shr eax, 8
xor eax, dword [ebx*4 + 0x590214]
inc esi
cmp ecx, esi
jne 0x4cf970
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4d0580
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5b2508]
mov ecx, dword [0x5a0f40]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4d05ab
mov ecx, 0x5b2500
pop ebp
jmp fcn.00478d80
push 0x5b2508
call fcn.004ecb07
add esp, 4
cmp dword [0x5b2508], 0xffffffff
jne 0x4d05a0
xor eax, eax
mov dword [0x5b2504], eax
mov dword [0x5b2500], eax
mov ecx, 0x5b2500
push eax
call fcn.00478e20
push 0x5b2508
call fcn.004ecb7d
add esp, 4
jmp 0x4d05a0
Function at 0x4d6590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0x48], eax
cmp ebx, 0x30
ja 0x4d66cd
mov edi, edx
mov esi, ecx
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x30]
movdqa xmmword [eax], xmm0
movdqa xmmword [eax - 0x10], xmm0
movdqa 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 [esp + 0xc], eax
call dword [section..00cfg]
lea eax, [esp + 0x10]
push esi
push eax
push dword [esp + 0x14]
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 [section..00cfg]
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
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 [section..00cfg]
push esi
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x14]
call ecx
add esp, 0xc
test ebx, ebx
je 0x4d666d
xor eax, eax
mov cl, byte [edi + eax]
xor byte [esp + eax + 0x10], cl
inc eax
cmp ebx, eax
jne 0x4d6661
lea edi, [esi + 0xf4]
mov eax, dword [0x5b25b4]
bt eax, 0x19
jae 0x4d66d1
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
call fcn.00403500
add esp, 0xc
mov ecx, 0x401180
mov eax, 0x401d10
test edi, edi
je 0x4d66a1
mov dword [edi], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x30]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
movups xmmword [eax], xmm0
xor esi, esi
inc esi
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004ed092
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x4d66b8
bt eax, 9
jae 0x4d66f3
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
call fcn.00404020
add esp, 0xc
xor eax, eax
mov ecx, 0x4040d0
jmp 0x4d669b
push esi
push 0x100
lea eax, [esp + 0x18]
push eax
call fcn.0054b210
add esp, 0xc
mov ecx, 0x54b110
mov eax, 0x54b9a0
jmp 0x4d669b
Function at 0x4e83f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x4a74e0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x4a7390
push 0x5b2714
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4e846a
xor esi, esi
cmp dword [0x5b2718], 0
jne 0x4e8456
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x5b271c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x4e8456
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00501b50
int3