joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bef00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4bef0c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004bc7e0

Function at 0x4bfde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4bffb3
cmp dword [esi + 0x20], 0
je 0x4bffb3
cmp dword [esi + 0x24], 0
je 0x4bffb3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4bffb3
cmp dword [ecx], esi
jne 0x4bffb3
mov eax, dword [ecx + 4]
cmp eax, 0x2a
je 0x4bfe47
cmp eax, 0x39
je 0x4bfe47
cmp eax, 0x45
je 0x4bfe47
cmp eax, 0x49
je 0x4bfe47
cmp eax, 0x5b
je 0x4bfe47
cmp eax, 0x67
je 0x4bfe47
cmp eax, 0x71
je 0x4bfe47
cmp eax, 0x29a
jne 0x4bffb3
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], eax
test edx, edx
jns 0x4bfe7c
neg edx
mov dword [ecx + 0x18], edx
cmp edx, 2
jne 0x4bfe8c
mov dword [ecx + 4], 0x39
xor eax, eax
jmp 0x4bfea5
push edi
mov edi, 0x2a
test edx, edx
mov eax, 0x71
cmovne eax, edi
mov dword [ecx + 4], eax
mov eax, 1
pop edi
mov dword [esi + 0x30], eax
lea eax, [ecx + 0x94]
mov dword [ecx + 0xb18], eax
lea eax, [ecx + 0x988]
mov dword [ecx + 0xb24], eax
lea eax, [ecx + 0xa7c]
mov dword [ecx + 0xb30], eax
xor eax, eax
push ecx
mov dword [ecx + 0x28], 0
mov dword [ecx + 0xb20], 0x7501c8
mov dword [ecx + 0xb2c], 0x7501dc
mov dword [ecx + 0xb38], 0x7501f0
mov word [ecx + 0x16b8], ax
mov dword [ecx + 0x16bc], eax
call fcn.004bdd20
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.006f4b50
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x752532]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x752530]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x752534]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x752536]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebp
ret
mov eax, 0xfffffffe
pop esi
pop ebp
ret
Function at 0x4c1e20
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x731c8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
mov eax, dword [ebp + 8]
mov edi, str.SOFTWAREROBLOX_CorporationEnvironmentsRobloxPlayerChannel
mov dword [ebp - 4], 0
sub eax, 0
jne 0x4c1e55
mov edi, str.SOFTWAREROBLOX_CorporationEnvironmentsRobloxStudioChannel
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x20006
push 0
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1f1b
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
call fcn.00506000
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4c1e95
mov eax, dword [eax]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0047c860
test esi, esi
pop esi
jne 0x4c1f1b
cmp byte [0xa82632], 0
mov eax, dword [str.Output]
mov ecx, dword [0x8e0c50]
mov dword [ebp - 0x10], eax
je 0x4c1eee
cmp byte [0x8e0c40], 0
je 0x4c1eee
test cl, cl
je 0x4c1f7d
cmp cl, 6
jb 0x4c1f7d
shr ecx, 8
cmp cl, 3
jb 0x4c1f7d
jmp 0x4c1ef6
test cl, cl
je 0x4c1f7d
mov dword [ebp - 0x10], 0x8b841e
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0x16508a
push dword [ebp + 0x10]
push edi
push eax
push dword [0x8e0c54]
push dword [0x8e0c50]
jmp 0x4c1f75
cmp byte [0xa82632], 0
mov eax, dword [str.Error]
mov ecx, dword [0x8e0c58]
mov dword [ebp - 0x10], eax
je 0x4c1f4e
cmp byte [0x8e0c40], 0
je 0x4c1f4e
test cl, cl
je 0x4c1f7d
cmp cl, 6
jb 0x4c1f7d
shr ecx, 8
cmp cl, 3
jb 0x4c1f7d
jmp 0x4c1f52
test cl, cl
je 0x4c1f7d
mov dword [ebp - 0x10], 0x8c823e
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
sub eax, 0x174e6e
push dword [ebp + 0x10]
push edi
push eax
push dword [0x8e0c5c]
push dword [0x8e0c58]
call fcn.005050f0
add esp, 0x18
mov eax, dword [ebp + 8]
pop edi
test eax, eax
je 0x4c1f8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c1fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x731cad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
push edi
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x108
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.0047e700
mov edx, eax
mov dword [ebp - 0x20], 0x100
xor eax, eax
mov dword [ebp - 0x1c], 0x107
mov ecx, 0x80
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx + 0x200], ax
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
mov esi, str.SOFTWAREROBLOX_CorporationEnvironmentsRobloxPlayerChannel
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0x200
sub eax, 0
jne 0x4c2026
mov esi, str.SOFTWAREROBLOX_CorporationEnvironmentsRobloxStudioChannel
push dword [ebp + 0x14]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x48]
push dword [ebp + 0x10]
lea edi, [ebp - 0x30]
push eax
cmovae edi, edx
call fcn.00506000
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4c204a
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0
push 2
push eax
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp - 0x34]
mov edi, eax
cmp edx, 8
jb 0x4c209c
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2092
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c21d6
push edx
push ecx
call fcn.00503df0
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
test edi, edi
jne 0x4c211d
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov esi, dword [ebp + 8]
cmovae eax, dword [ebp - 0x30]
push 0xc350
push eax
push esi
call fcn.005060d0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
cmp edx, 8
jb 0x4c210b
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c21d1
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp byte [0xa82632], 0
mov eax, dword [str.Error]
mov ecx, dword [0x8e0c58]
mov dword [ebp - 0x14], eax
je 0x4c2150
cmp byte [0x8e0c40], 0
je 0x4c2150
test cl, cl
je 0x4c217f
cmp cl, 6
jb 0x4c217f
shr ecx, 8
cmp cl, 3
jb 0x4c217f
jmp 0x4c2154
test cl, cl
je 0x4c217f
mov dword [ebp - 0x14], 0x874cd1
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x10]
sub eax, 0x121981
push dword [ebp + 0x14]
push esi
push eax
push dword [0x8e0c5c]
push dword [0x8e0c58]
call fcn.005050f0
add esp, 0x18
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edx, 8
jb 0x4c210b
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c2101
call fcn.006fee64
call fcn.006fee64
int3
Function at 0x4c6500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x732055
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x4c652d
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x4c6552
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4c6540
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00493390
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4c6582
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x4924924
je 0x4c66ec
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00503d60
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.0047b780
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x74c0b0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x74c0b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4c668b
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.00704910
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.006f2860
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4c666f
cmp eax, 0x200
jae 0x4c666d
shl eax, 3
cmp eax, ecx
jae 0x4c666f
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004957d0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00493390
mov edx, dword [eax]
jmp 0x4c668e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4c66ba
mov dword [ecx + eax*8], edi
jmp 0x4c66cc
cmp esi, edx
jne 0x4c66c3
mov dword [ecx + eax*8], edi
jmp 0x4c66d0
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4c66d0
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.006ddb1a
int3
Function at 0x4c8270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x4c83e3
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jb 0x4c82ab
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x4c82d4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x4c82c0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004aaed0
push 0x38
push edi
call fcn.00503df0
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x4c833d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x4c82f0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x4c83d8
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x4c834f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x4c8352
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x4c83d8
nop dword [eax]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x4c836e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x4c8391
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x4c8380
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004aaed0
push 0x38
push edi
call fcn.00503df0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x4c83e9
cmp esi, eax
jne 0x4c83a8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x4c8360
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4c8630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], 0x10
jb 0x4c8647
mov eax, dword [esi]
push eax
call fcn.004d0910
add esp, 4
test al, al
je 0x4c86d0
cmp dword [esi + 0x14], 0x10
push ebx
mov ebx, dword [esi + 0x10]
push edi
mov edi, esi
jb 0x4c8663
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4c8681
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4c8670
push edx
push esi
lea eax, [ebp - 0xc]
mov ecx, 0x8f3058
push eax
call fcn.004a9a60
pop edi
pop ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x4c86d0
cmp eax, dword [0x8f305c]
je 0x4c86d0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push esi
push eax
add ecx, 8
call fcn.004c6500
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add ecx, 0x20
cmp ecx, eax
je 0x4c86d0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4c86c9
mov eax, dword [eax]
push edx
push eax
call fcn.0047e790
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4c9120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov esi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4c913c
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x4c9158
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x4c9147
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edi
push edx
push eax
mov ecx, ebx
call fcn.00493390
mov esi, dword [eax + 4]
test esi, esi
je 0x4c91d0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4c9197
cmp eax, esi
jne 0x4c918f
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4c919f
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4c919f
cmp eax, esi
jne 0x4c919f
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [ebx + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
call fcn.004aaed0
push 0x38
push esi
call fcn.00503df0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c9690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7322bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
test byte [ecx], 1
lea eax, [ecx + 8]
push ebx
mov dword [ebp - 0x14], eax
je 0x4c9700
mov ebx, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], eax
mov eax, 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x4c], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
cmp dword [edx + 0x14], 0x10
mov word [ebp - 0x34], 0x5f
jb 0x4c9724
mov eax, dword [edx]
mov ecx, eax
add ecx, dword [edx + 0x10]
jmp 0x4c972b
mov ebx, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
test ebx, ebx
jne 0x4c96bc
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edx + 0x10]
mov eax, edx
add ecx, edx
push esi
push edi
xor edi, edi
cmp eax, ecx
je 0x4c9754
mov esi, edi
mov edx, edi
shr edx, 2
shl esi, 6
add esi, edx
movsx edx, byte [eax]
add edx, 0x9e3779b9
inc eax
add edx, esi
xor edi, edx
cmp eax, ecx
jne 0x4c9733
mov edx, dword [ebp + 8]
lea eax, [ebx - 1]
mov dword [ebp - 0x18], 1
mov ebx, eax
mov dword [ebp - 0x1c], eax
and ebx, edi
lea esi, [ebx + ebx*2]
shl esi, 4
add esi, dword [ebp - 0x14]
mov ecx, esi
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x4c977a
mov ecx, dword [esi]
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4c9784
mov eax, dword [edx]
push dword [esi + 0x10]
push ecx
push dword [edx + 0x10]
push eax
call fcn.00481b60
add esp, 0x10
test al, al
jne 0x4c9803
mov eax, esi
cmp edi, 0x10
jb 0x4c97a1
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x4c]
push ecx
push dword [esi + 0x10]
push eax
call fcn.00481b60
add esp, 0x10
test al, al
jne 0x4c97f7
mov eax, esi
cmp edi, 0x10
jb 0x4c97c0
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x34]
push ecx
push dword [esi + 0x10]
push eax
call fcn.00481b60
add esp, 0x10
test al, al
je 0x4c97e1
mov edx, dword [ebp - 0x10]
test edx, edx
cmove edx, esi
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp - 0x18], ecx
and ebx, dword [ebp - 0x1c]
jmp 0x4c9765
mov eax, dword [ebp - 0x10]
xor bl, bl
test eax, eax
cmovne esi, eax
jmp 0x4c9805
mov bl, 1
mov eax, dword [ebp + 0xc]
mov edx, 0xf
pop edi
mov dword [eax], esi
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ca020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4ca035
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x4ca037
add ecx, eax
push edi
xor edi, edi
cmp eax, ecx
je 0x4ca05f
push esi
nop
mov esi, edi
mov edx, edi
shr edx, 2
shl esi, 6
add esi, edx
movsx edx, byte [eax]
add edx, 0x9e3779b9
inc eax
add edx, esi
xor edi, edx
cmp eax, ecx
jne 0x4ca040
pop esi
mov eax, edi
pop edi
pop ebp
ret
Function at 0x4d21d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.006f4b50
add esp, 0xc
mov dword [ebp - 0x40], 0x40
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4d220c
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
shrd eax, edx, 0x14
shr edx, 0x14
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
Function at 0x4d25c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x18]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4d2674
cmp ebx, 0xaaaaaaa
ja 0x4d271e
lea edi, [ebx + ebx*2]
shl edi, 3
cmp edi, 0x1000
jb 0x4d2639
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x4d2723
push eax
call fcn.00503d60
add esp, 4
test eax, eax
je 0x4d2719
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4d264c
test edi, edi
je 0x4d264a
push edi
call fcn.00503d60
add esp, 4
mov esi, eax
jmp 0x4d264c
xor esi, esi
lea eax, [edi + esi]
mov dword [ebp - 4], eax
mov eax, esi
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4d2671
push edi
push 0
push esi
call fcn.006f4b50
mov edi, dword [ebp - 4]
add esp, 0xc
mov eax, edi
mov dword [ebp - 8], eax
jmp 0x4d2674
mov edi, dword [ebp - 4]
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 3
push eax
push esi
push 0
push 0
push 0xb
call sub.POWRPROF.dll_CallNtPowerInformation
test eax, eax
js 0x4d26b5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], edi
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x4d2710
mov ecx, dword [ebp - 4]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 3
cmp ecx, 0x1000
jb 0x4d2706
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4d2719
mov esi, edx
push ecx
push esi
call fcn.00503df0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.006fee64
call fcn.0048d130
call fcn.0047e4c0
int3
Function at 0x4e4070
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0xa76c68]
sub esp, 0x24
mov edx, dword [0xa76c6c]
mov eax, ecx
or eax, edx
jne 0x4e4125
push ebx
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
rdtsc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 5
call esi
rdtsc
mov ebx, eax
mov esi, edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
sub ebx, dword [ebp - 4]
mov ecx, ebx
sbb esi, dword [ebp - 8]
mov edx, esi
call fcn.006f2b00
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp - 0x18]
movsd qword [ebp - 0xc], xmm0
call fcn.006f2b60
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsd qword [ebp - 0x1c], xmm0
call fcn.006f2b60
movsd xmm1, qword [ebp - 0x1c]
divsd xmm1, xmm0
movsd xmm0, qword [ebp - 0xc]
divsd xmm0, xmm1
call fcn.006f2a50
pop esi
mov dword [0xa76c68], eax
mov dword [0xa76c6c], edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov esp, ebp
pop ebp
ret