joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b9840
Capabilities:
Hash data with crc32
Read file on windows
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513feb
mov eax, dword fs:[0]
push eax
mov eax, 0x10038
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push esi
push esi
push 3
push esi
push 3
mov dword [ebp - 0x1001c], eax
or ebx, 0xffffffff
mov eax, dword [ebp + 0xc]
push 0xc0000000
push eax
mov dword [ebp - 0x10024], eax
mov dword [ebp - 0x10018], esi
mov dword [ebp - 0x10020], esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
mov dword [ebp - 0x10028], edi
cmp edi, 0xffffffff
je 0x4b98d7
lea eax, [ebp - 0x10034]
push eax
lea eax, [ebp - 0x1003c]
push eax
lea eax, [ebp - 0x10044]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
mov dword [ebp - 0x10020], eax
mov dword [ebp - 0x1002c], edi
push 0x52ccc0
push dword [ebp - 0x10024]
mov dword [ebp - 4], 0
call fcn.004ed562
add esp, 8
mov dword [ebp - 0x10014], eax
test eax, eax
jne 0x4b9908
xor ebx, ebx
jmp 0x4b9a68
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push 1
push eax
call fcn.004fb1fc
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b99db
nop dword [eax]
push dword [ebp - 0x10014]
call fcn.004f6e5f
add esp, 4
test eax, eax
jne 0x4b99ed
xor ecx, ecx
test edi, edi
je 0x4b99b5
mov edx, ebx
shr edx, 8
movzx eax, byte [ebp + ecx - 0x10010]
xor eax, ebx
movzx eax, al
mov ebx, dword [eax*4 + 0x55bd10]
xor ebx, edx
mov edx, dword [ebp - 0x1001c]
mov eax, ebx
shr eax, 0x18
add byte [edx + esi], al
mov eax, ebx
shr eax, 0x10
add byte [edx + esi + 1], al
mov edx, ebx
mov eax, dword [ebp - 0x1001c]
shr edx, 8
add byte [eax + esi + 2], dl
add byte [eax + esi + 3], bl
xor eax, eax
add esi, 4
cmp esi, 0x40
cmovge esi, eax
mov eax, dword [ebp - 0x10018]
inc eax
mov dword [ebp - 0x10018], eax
cmp eax, 0x100000
jae 0x4b9a08
inc ecx
cmp ecx, edi
jb 0x4b9951
push dword [ebp - 0x10014]
lea eax, [ebp - 0x10010]
push 0x10000
push 1
push eax
call fcn.004fb1fc
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4b9930
push dword [ebp - 0x10014]
call fcn.004f6e5f
add esp, 4
test eax, eax
je 0x4b99f1
xor ebx, ebx
jmp 0x4b9a0d
cmp dword [ebp - 0x10018], 0
jne 0x4b9a08
mov edi, dword [sym.imp.KERNEL32.DLL_SetLastError]
xor ebx, ebx
push 0x26
call edi
jmp 0x4b9a13
mov ebx, 1
mov edi, dword [sym.imp.KERNEL32.DLL_SetLastError]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 0x10014]
mov esi, eax
call fcn.004ed5ef
add esp, 4
cmp dword [ebp - 0x10020], 0
je 0x4b9a65
push dword [ebp - 0x10024]
call fcn.00429c00
add esp, 4
test eax, eax
jne 0x4b9a65
lea eax, [ebp - 0x10034]
push eax
lea eax, [ebp - 0x1003c]
push eax
lea eax, [ebp - 0x10044]
push eax
push dword [ebp - 0x10028]
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call edi
lea ecx, [ebp - 0x1002c]
call fcn.004b96d0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4b9aa0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
xor edx, edx
mov dword [ebp - 4], eax
or ebx, 0xffffffff
mov dword [ebp - 8], edx
test esi, esi
je 0x4b9b34
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], 0xffffff
mov ecx, dword [ebp + 8]
movzx ecx, byte [edx + ecx]
xor ecx, ebx
movzx ecx, cl
mov ebx, dword [ecx*4 + 0x55bd10]
xor ebx, dword [ebp + 0xc]
mov ecx, ebx
mov edx, ebx
shr ecx, 0x18
add byte [eax + edi], cl
mov ecx, ebx
shr ecx, 0x10
add byte [eax + edi + 1], cl
add eax, 2
lea ecx, [eax + edi]
shr edx, 8
add byte [ecx], dl
inc eax
add byte [eax + edi], bl
lea ecx, [eax + edi]
xor ecx, ecx
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 8]
inc eax
cmp eax, 0x40
cmovge eax, ecx
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0x100000
jae 0x4b9b28
inc edx
mov dword [ebp - 8], edx
cmp edx, esi
jb 0x4b9ac7
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bc160
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa5c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x55c498]
push esi
push edi
cmp eax, 0xffffffff
jne 0x4bc275
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0041ed70
lea edi, [ebp - 0x808]
add esp, 8
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4bc1a0
lea eax, [ebp - 0xa58]
mov ecx, 7
push eax
lea eax, [ebp - 0x808]
mov esi, 0x52ce0c
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [0x55c498], eax
cmp dword [ebp - 0xa3c], 0
jne 0x4bc2a1
mov eax, dword [0x57ea94]
test eax, eax
je 0x4bc1f0
push eax
call fcn.004ec0b7
add esp, 4
lea eax, [ebp - 0x808]
push 0x401
push eax
call fcn.0041ed70
lea edx, [ebp - 0xa2c]
add esp, 8
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4bc210
lea edi, [ebp - 0x808]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4bc226
mov ecx, edx
mov dword [ebp - 0xa5c], 0
shr ecx, 2
lea eax, [ebp - 0xa5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea eax, [ebp - 0x808]
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004152b0
add esp, 8
mov dword [0x57ea94], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xa58]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4bc1d1
push dword [0x55c498]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [0x55c498], 0xffffffff
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x4bd760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x48
push 0
push edi
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0x48]
push 0x41
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x48]
lea edx, [edi + 4]
mov eax, ecx
mov esi, edx
sub esi, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4bd7a0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4bd7b0
sub edx, ecx
mov ecx, dword [ebp - 4]
mov dword [edi], edx
xor ecx, ebp
pop edi
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4bd7d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x94], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x90], eax
xor ebx, ebx
push 0x41
lea eax, [ebp - 0x48]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
push 0x41
lea eax, [ebp - 0x8c]
push eax
push edi
call esi
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x48]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4bd848
test dl, dl
je 0x4bd844
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4bd848
add eax, 2
add ecx, 2
test dl, dl
jne 0x4bd828
xor eax, eax
jmp 0x4bd84d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4bd864
cmp dword [ebp - 0x90], 1
jge 0x4bd85f
cmp dword [ebp + 0x14], ebx
je 0x4bd864
mov ebx, 1
lea eax, [ebp - 0x48]
mov ecx, 0x41
mov esi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4bd870
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bd880
lea ecx, [ebp - 0x8c]
mov edx, 0x41
mov esi, edx
mov eax, ecx
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub esi, 1
jne 0x4bd8a0
nop dword [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x4bd8b0
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x4bd8cd
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4bdce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xad], al
lea eax, [ebp - 0xac]
push ecx
push eax
mov dword [ebp - 0xb4], ebx
call fcn.004e4130
mov eax, dword [ebp - 0xb0]
mov dword [ebp + esi - 0xac], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004be3c0
movups xmm0, xmmword [ebp - 0x18]
mov ebx, dword [ebp + 0x18]
add esp, 0x20
mov eax, dword [ebp - 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
cmp ebx, 1
jle 0x4bddee
lea esi, [edi + 0x13]
dec ebx
nop
lea eax, [ebp - 0x2c]
push eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xb4]
call fcn.004be3c0
lea ecx, [ebp - 0x18]
add esp, 0x14
xor eax, eax
cmp ecx, esi
ja 0x4bdd9b
lea ecx, [ebp - 5]
cmp ecx, edi
jae 0x4bddc7
lea ecx, [ebp - 0x19]
cmp edi, ecx
ja 0x4bddb0
lea ecx, [ebp - 0x2c]
cmp esi, ecx
jae 0x4bddc7
nop dword [eax]
movups xmm1, xmmword [ebp - 0x2c]
mov eax, 0x10
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x18], xmm1
pxor xmm0, xmm1
movups xmmword [edi], xmm0
mov esi, edi
lea ecx, [ebp - 0x2c]
sub esi, ecx
nop
lea ecx, [ebp - 0x2c]
add ecx, eax
lea edx, [esi + ecx]
mov cl, byte [ecx]
xor byte [edx], cl
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x14
jl 0x4bddd0
lea esi, [edi + 0x13]
sub ebx, 1
jne 0x4bdd70
lea eax, [ebp - 0x18]
mov ecx, 0x14
mov esi, ecx
mov edx, eax
nop word [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4bde00
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bde10
lea eax, [ebp - 0x2c]
mov ecx, 0x14
mov esi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4bde27
pop edi
pop esi
pop ebx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bde35
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4bde50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xad], al
lea eax, [ebp - 0xac]
push ecx
push eax
mov dword [ebp - 0xb4], ebx
call fcn.004e4130
mov eax, dword [ebp - 0xb0]
mov dword [ebp + esi - 0xac], eax
lea eax, [ebp - 0x18]
push 0x14
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004be6a0
movups xmm0, xmmword [ebp - 0x18]
mov ebx, dword [ebp + 0x18]
add esp, 0x24
mov eax, dword [ebp - 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
cmp ebx, 1
jle 0x4bdf5e
lea esi, [edi + 0x13]
dec ebx
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xb4]
call fcn.004be6a0
lea ecx, [ebp - 0x18]
add esp, 0x18
xor eax, eax
cmp ecx, esi
ja 0x4bdf0d
lea ecx, [ebp - 5]
cmp ecx, edi
jae 0x4bdf37
lea ecx, [ebp - 0x19]
cmp edi, ecx
ja 0x4bdf20
lea ecx, [ebp - 0x2c]
cmp esi, ecx
jae 0x4bdf37
nop dword [eax + eax]
movups xmm1, xmmword [ebp - 0x2c]
mov eax, 0x10
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x18], xmm1
pxor xmm0, xmm1
movups xmmword [edi], xmm0
mov esi, edi
lea ecx, [ebp - 0x2c]
sub esi, ecx
nop
lea ecx, [ebp - 0x2c]
add ecx, eax
lea edx, [esi + ecx]
mov cl, byte [ecx]
xor byte [edx], cl
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x14
jl 0x4bdf40
lea esi, [edi + 0x13]
sub ebx, 1
jne 0x4bdee0
lea eax, [ebp - 0x18]
mov ecx, 0x14
mov esi, ecx
mov edx, eax
nop word [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4bdf70
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bdf80
lea eax, [ebp - 0x2c]
mov ecx, 0x14
mov esi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4bdf97
pop edi
pop esi
pop ebx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4bdfa5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4bdfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x105], al
lea eax, [ebp - 0x104]
push ecx
push eax
mov dword [ebp - 0x10c], ebx
call fcn.004e4130
mov eax, dword [ebp - 0x108]
mov dword [ebp + esi - 0x104], eax
lea eax, [ebp - 0x44]
push 0x40
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004bea80
movups xmm0, xmmword [ebp - 0x44]
mov ebx, dword [ebp + 0x18]
add esp, 0x24
movups xmmword [edi], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edi + 0x30], xmm0
cmp ebx, 1
jle 0x4be10a
lea esi, [edi + 0x3f]
dec ebx
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x10c]
call fcn.004bea80
lea ecx, [ebp - 0x44]
add esp, 0x18
xor eax, eax
cmp ecx, esi
ja 0x4be092
lea ecx, [ebp - 5]
cmp ecx, edi
jae 0x4be0a3
lea ecx, [ebp - 0x45]
cmp edi, ecx
ja 0x4be0cb
lea ecx, [ebp - 0x84]
cmp esi, ecx
jb 0x4be0cb
mov esi, edi
lea ecx, [ebp - 0x84]
sub esi, ecx
nop dword [eax]
lea ecx, [ebp - 0x84]
add ecx, eax
lea edx, [esi + ecx]
mov cl, byte [ecx]
xor byte [edx], cl
mov byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 0x40
jl 0x4be0b0
jmp 0x4be0fe
lea edx, [ebp - 0x44]
mov eax, edi
lea esi, [ebp - 0x84]
sub edx, edi
sub esi, edi
mov ecx, 4
nop
lea eax, [eax + 0x10]
movups xmm1, xmmword [esi + eax - 0x10]
movups xmm0, xmmword [eax - 0x10]
movups xmmword [edx + eax - 0x10], xmm1
pxor xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x4be0e0
lea esi, [edi + 0x3f]
sub ebx, 1
jne 0x4be062
lea eax, [ebp - 0x44]
mov ecx, 0x40
mov esi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4be116
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4be121
lea eax, [ebp - 0x84]
mov ecx, 0x40
mov esi, ecx
mov edx, eax
nop dword [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4be140
pop edi
pop esi
pop ebx
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4be150
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4be170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x105], al
lea eax, [ebp - 0x104]
push ecx
push eax
mov dword [ebp - 0x10c], ebx
call fcn.004e4130
mov eax, dword [ebp - 0x108]
mov dword [ebp + esi - 0x104], eax
lea eax, [ebp - 0x44]
push 0x40
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.004beed0
movups xmm0, xmmword [ebp - 0x44]
mov ebx, dword [ebp + 0x18]
add esp, 0x24
movups xmmword [edi], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edi + 0x30], xmm0
cmp ebx, 1
jle 0x4be2ba
lea esi, [edi + 0x3f]
dec ebx
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x10c]
call fcn.004beed0
lea ecx, [ebp - 0x44]
add esp, 0x18
xor eax, eax
cmp ecx, esi
ja 0x4be242
lea ecx, [ebp - 5]
cmp ecx, edi
jae 0x4be253
lea ecx, [ebp - 0x45]
cmp edi, ecx
ja 0x4be27b
lea ecx, [ebp - 0x84]
cmp esi, ecx
jb 0x4be27b
mov esi, edi
lea ecx, [ebp - 0x84]
sub esi, ecx
nop dword [eax]
lea ecx, [ebp - 0x84]
add ecx, eax
lea edx, [esi + ecx]
mov cl, byte [ecx]
xor byte [edx], cl
mov byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 0x40
jl 0x4be260
jmp 0x4be2ae
lea edx, [ebp - 0x44]
mov eax, edi
lea esi, [ebp - 0x84]
sub edx, edi
sub esi, edi
mov ecx, 4
nop
lea eax, [eax + 0x10]
movups xmm1, xmmword [esi + eax - 0x10]
movups xmm0, xmmword [eax - 0x10]
movups xmmword [edx + eax - 0x10], xmm1
pxor xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x4be290
lea esi, [edi + 0x3f]
sub ebx, 1
jne 0x4be212
lea eax, [ebp - 0x44]
mov ecx, 0x40
mov esi, ecx
mov edx, eax
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4be2c6
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4be2d1
lea eax, [ebp - 0x84]
mov ecx, 0x40
mov esi, ecx
mov edx, eax
nop dword [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub esi, 1
jne 0x4be2f0
pop edi
pop esi
pop ebx
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4be300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4bfdb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x57ec08], 0
push ebx
mov ebx, 1
mov dword [ebp - 4], ebx
je 0x4bfdcf
cmp dword [0x55c4a4], 0
jne 0x4bfdd6
mov byte [0], 0
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x140
jle 0x4bfde9
mov byte [0], 0
push 0x57ec28
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [0x57ec14], 0
je 0x4bfe03
cmp dword [ebp + 0x10], 0
je 0x4bfe21
call fcn.004c0710
neg eax
mov dword [0x57ec14], 1
sbb eax, eax
and ebx, eax
mov dword [ebp - 4], ebx
je 0x4bfed6
call fcn.004bf750
test eax, eax
jne 0x4bfe31
xor ebx, ebx
jmp 0x4bfed6
mov edx, dword [0x57eac4]
push esi
xor esi, esi
test edi, edi
jle 0x4bfe67
mov ecx, dword [0x57ec10]
mov ebx, dword [ebp + 8]
mov al, byte [ecx + edx]
inc ecx
mov byte [esi + ebx], al
xor eax, eax
cmp ecx, 0x140
cmove ecx, eax
inc esi
cmp esi, edi
jl 0x4bfe47
mov ebx, dword [ebp - 4]
mov dword [0x57ec10], ecx
movups xmm1, xmmword [0x521d20]
mov eax, 0xa
lea edx, [edx + 0x20]
movups xmm0, xmmword [edx - 0x20]
pandn xmm0, xmm1
movups xmmword [edx - 0x20], xmm0
movups xmm0, xmmword [edx - 0x10]
pandn xmm0, xmm1
movups xmmword [edx - 0x10], xmm0
sub eax, 1
jne 0x4bfe73
call fcn.004bf750
test eax, eax
jne 0x4bfea0
xor ebx, ebx
jmp 0x4bfed5
xor edx, edx
test edi, edi
jle 0x4bfed5
mov ecx, dword [0x57ec10]
mov esi, dword [ebp + 8]
mov ebx, dword [0x57eac4]
mov al, byte [ecx + ebx]
inc ecx
xor byte [edx + esi], al
xor eax, eax
cmp ecx, 0x140
cmove ecx, eax
inc edx
cmp edx, edi
jl 0x4bfeb5
mov ebx, dword [ebp - 4]
mov dword [0x57ec10], ecx
pop esi
push 0x57ec28
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, ebx
pop edi
test ebx, ebx
jne 0x4bfeef
mov byte [0], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bff10
Capabilities:
Create new key via cryptacquirecontext
Create thread
Log keystrokes via application hook

Disassembly:
call fcn.004b7e80
cmp eax, 0x140
jle 0x4bff23
mov byte [0], 0
cmp dword [0x57ec08], 0
je 0x4bff32
mov eax, 1
ret
push esi
push 0x57ec28
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
cmp dword [0x57eac4], 0
mov dword [0x57ec08], 1
jne 0x4bff9e
push 0x140
call fcn.004f1588
mov esi, eax
add esp, 4
mov dword [0x57eac4], esi
test esi, esi
je 0x4c003b
push 0x140
push 0
push esi
mov dword [0x57ec14], 0
mov dword [0x57ec18], 0
call fcn.004e46b0
add esp, 0xc
push 0x140
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualLock]
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push eax
push 0
push 0x4c0080
push 2
call esi
mov dword [0x57ec24], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
push 0
push 0x4c01d0
push 7
call esi
mov dword [0x57ec20], eax
test eax, eax
je 0x4c003b
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push 0
push 0
push 0x57ec4c
call esi
test eax, eax
jne 0x4c000a
push 8
push 1
push eax
push eax
push 0x57ec4c
call esi
mov dword [0x57ec48], 0
test eax, eax
je 0x4c0014
mov dword [0x57ec48], 1
push 0
push 0
push 0
push 0x4bfa50
push 0
push 0
call fcn.004f1e8c
add esp, 0x18
mov dword [0x57ec1c], eax
test eax, eax
je 0x4c003b
mov eax, 1
pop esi
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 1
mov esi, eax
call fcn.004c09d0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
ret
Function at 0x4c0b50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0b85
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0baf
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c0bc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0bf5
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0c1f
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c0c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push dword [ebp + 8]
mov dword [ebp - 8], 4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c0c8e
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c0cc5
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 0xc], 4
pop esi
sete al
mov esp, ebp
pop ebp
ret