joyce8/EMBER2024-capa huggingface dataset:
Function at 0x784670
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebx
push edi
push esi
mov ebx, edx
mov esi, ecx
test bl, 1
je 0x784697
mov eax, ebx
and eax, 0xfffffffe
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x78468b
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x7846ee
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x7846a1
mov eax, dword [esi]
test bl, 0x10
jne 0x7846af
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x7846b6
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
je 0x7846c2
pop esi
pop edi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
call fcn.00783260
test al, al
jne 0x784714
test bl, 1
je 0x784701
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x7846e4
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x784701
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
call fcn.00783260
test al, al
jne 0x784714
push 0x9dab52
push dword [esp + 0x14]
push esi
push edi
call fcn.0078cac0
add esp, 0x10
xor eax, eax
pop esi
pop edi
pop ebx
ret
Function at 0x78d840
Capabilities:
Parse pe header

Disassembly:
push edi
push esi
mov eax, dword [ecx + 4]
xor ecx, ecx
cmp word [eax], 0x5a4d
mov edx, dword [esp + 0xc]
mov esi, 0
cmove esi, eax
mov esi, dword [esi + 0x3c]
lea edi, [eax + esi]
cmp dword [eax + esi], 0x4550
cmovne edi, ecx
cmp dword [edi + 0x74], edx
mov eax, dword [esp + 0x10]
lea edx, [edi + edx*8 + 0x78]
cmovb edx, ecx
mov ecx, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx]
pop esi
pop edi
ret 8
Function at 0x795170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x140
mov ebx, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x798ce0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x40], ebx
lea edi, [ebp - 0x149]
je 0x7951d3
push 0x104
push 0
push edi
call fcn.009350b0
add esp, 0xc
mov dword [ebp - 0x44], 0
cmp dword [ebx + 0x18], 0x10
jb 0x795234
mov eax, dword [ebx + 4]
jmp 0x795237
push 0x105
push 0
push edi
call fcn.009350b0
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
push edi
call fcn.00903f50
add esp, 4
cmp eax, 0xf
jbe 0x7952ea
sub esp, 0xc
movzx ecx, byte [ebp - 0x44]
mov byte [esp + 4], cl
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, esi
call fcn.006704d0
jmp 0x7952ff
lea eax, [ebx + 4]
lea ecx, [ebp - 0x44]
push ecx
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea esi, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
push edi
call fcn.00903f50
add esp, 4
cmp eax, 0xf
jbe 0x795286
sub esp, 0xc
movzx ecx, byte [ebp - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, esi
call fcn.006704d0
jmp 0x79529b
mov dword [ebp - 0x28], eax
push eax
push edi
push esi
mov esi, eax
call fcn.00935430
add esp, 0xc
mov byte [ebp + esi - 0x38], 0
mov dword [ebp - 0x3c], 0x956450
mov dword [ebp - 0x10], 3
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00799850
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
mov edi, dword [ebp - 0x40]
jb 0x79534f
mov ecx, dword [ebp - 0x38]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x795345
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jb 0x79533e
mov dword [ebp - 0x10], 2
call fcn.00900ce1
mov dword [ebp - 0x28], eax
push eax
push edi
push esi
mov esi, eax
call fcn.00935430
add esp, 0xc
mov byte [ebp + esi - 0x38], 0
mov dword [ebp - 0x3c], 0x956450
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00799850
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
mov edi, dword [ebp - 0x40]
jb 0x79534f
mov ecx, dword [ebp - 0x38]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x795345
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x795365
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x140
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.00900ce1
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.006575f0
add esp, 0x10
pop ebp
ret
Function at 0x795fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x13c
mov ebx, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x798d10
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea edi, [ebp - 0x145]
push 0x105
push 0
push edi
call fcn.009350b0
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push edi
call fcn.00903f50
add esp, 4
cmp eax, 0xf
jbe 0x796062
sub esp, 0xc
movzx ecx, byte [ebp - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, esi
call fcn.006704d0
jmp 0x796077
mov dword [ebp - 0x2c], eax
push eax
push edi
push esi
mov esi, eax
call fcn.00935430
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
mov dword [ebp - 0x40], 0x956450
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x24], ebx
mov ecx, ebx
push eax
call fcn.00799850
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
mov edi, dword [ebp - 0x24]
jb 0x7960ca
mov ecx, dword [ebp - 0x3c]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x7960c0
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x7960e0
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x13c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.00900ce1
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
lea ecx, [ebp - 0x40]
call fcn.006575f0
add esp, 0xc
pop ebp
ret

Function at 0x797340
Capabilities:
Get file attributes

Disassembly:
cmp dword [ecx + 0x18], 0x10
jb 0x79734b
mov ecx, dword [ecx + 4]
jmp 0x79734e
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
sete al
ret
Function at 0x79e4c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x13c
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x79e6c0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [edx + 0x18], 0xf
mov dword [edx], 0x956450
mov dword [edx + 0x14], 0
mov byte [edx + 4], 0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x145]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
lea edi, [ebp - 0x145]
push edi
call fcn.00903f50
add esp, 4
cmp eax, 0xf
mov dword [ebp - 0x24], esi
jbe 0x79e5c7
sub esp, 0xc
movzx ecx, byte [ebp - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, esi
call fcn.006704d0
mov dword [ebp - 0x40], 0x954b60
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0x10
jb 0x79e57f
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp + 8]
lea esi, [ebx + 4]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov edi, edx
sub edi, ecx
cmp edi, eax
jae 0x79e5ee
mov dword [ebp - 0x10], 2
sub esp, 0x10
movzx ecx, byte [ebp - 0x20]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov ecx, esi
call fcn.00671270
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
mov edi, dword [ebp + 8]
jae 0x79e61a
jmp 0x79e646
mov dword [ebp - 0x2c], eax
push eax
push edi
push esi
mov esi, eax
call fcn.00935430
add esp, 0xc
mov byte [ebp + esi - 0x3c], 0
mov dword [ebp - 0x40], 0x954b60
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0x10
jae 0x79e579
jmp 0x79e57f
lea edi, [ecx + eax]
mov dword [ebx + 0x14], edi
cmp edx, 0x10
jb 0x79e5fc
mov esi, dword [ebx + 4]
add ecx, esi
push eax
push dword [ebp - 0x24]
push ecx
call fcn.00935430
add esp, 0xc
mov byte [esi + edi], 0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
mov edi, dword [ebp + 8]
jb 0x79e646
mov ecx, dword [ebp - 0x3c]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x79e63c
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x79e65c
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x13c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.00900ce1
nop dword [eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.009350a0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x40]
call fcn.006575f0
add esp, 0x10
pop ebp
ret
Function at 0x79eb80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x7a09a0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ecx], 0x954d38
lea edx, [ecx + 4]
mov dword [ecx + 8], 0
mov dword [ebp - 0x20], ecx
mov dword [ecx + 4], 0
lea eax, [esi + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], edx
push edx
push eax
call fcn.009353a7
add esp, 8
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 0x9db780
mov byte [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
lea eax, [ecx + 0x14]
mov dword [ebp - 0x30], eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0xf
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x14], 0x954b60
lea eax, [ecx + 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0xf
mov byte [ecx + 0x34], 0
mov dword [ecx + 0x30], 0x954b60
lea eax, [ecx + 0x4c]
mov dword [ebp - 0x28], eax
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0xf
mov byte [ecx + 0x50], 0
mov dword [ecx + 0x4c], 0x954b60
lea eax, [ecx + 0x68]
mov dword [ebp - 0x24], eax
movsd xmm0, qword [0x954220]
movups xmmword [ecx + 0x7c], xmm0
mov byte [ecx + 0x6c], 0
mov dword [ecx + 0x68], 0x954b60
mov dword [ebp - 0x10], 1
push dword [ebp + 8]
call fcn.0079ecf0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x7a63c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, dword [esp + 0x48]
mov eax, dword [0xa7d04c]
xor eax, esp
mov dword [esp + 0x28], eax
call fcn.007aa380
xor edi, edi
cmp esi, 0x11
jb 0x7a65b2
cmp dword [esp + 0x40], 0
je 0x7a65b2
test byte [0xa8c5c5], 1
jne 0x7a65b2
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, esi
and ebx, 0xf
cmp esi, 0x20
mov dword [esp], eax
jb 0x7a6453
mov edi, esi
and edi, 0xfffffff0
lea eax, [edi - 0x10]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 0x18]
call dword [0xa37360]
push ebp
push dword [esp + 8]
push dword [esp + 0x4c]
push esi
call ecx
add esp, 0x10
mov eax, dword [esp + 0x44]
add eax, edi
add eax, 0xfffffff0
mov dword [esp + 4], eax
add ebp, edi
add ebp, 0xfffffff0
mov edi, dword [esp + 4]
jmp 0x7a6457
mov esi, dword [esp + 0x40]
movups xmm0, xmmword [esi + 0x28]
movups xmm1, xmmword [edi]
xorps xmm1, xmm0
movups xmmword [esp + 0x18], xmm1
mov ecx, dword [esi + 0x10]
call dword [0xa37360]
lea eax, [esp + 0x18]
push eax
push eax
push esi
call ecx
add esp, 0xc
test ebx, ebx
je 0x7a6563
add edi, 0x10
mov eax, dword [0xa58170]
mov ecx, dword [0xa58160]
mov esi, edi
mov edi, 0xd892
sub edi, dword [esp]
sub ecx, edi
add ecx, eax
call dword [0xa37360]
lea eax, [esp + 8]
push ebx
push esi
push eax
call ecx
add esp, 0xc
mov dword [esp], ebp
lea esi, [ebp + 0x10]
mov eax, dword [0xa58170]
mov ecx, dword [0xa58160]
sub ecx, edi
add ecx, eax
call dword [0xa37360]
push ebx
lea eax, [esp + 0x1c]
push eax
push esi
call ecx
add esp, 0xc
mov ebp, dword [esp + 0x48]
and ebp, 3
xor ecx, ecx
cmp ebx, 4
jb 0x7a64ff
sub ebx, ebp
xor ecx, ecx
nop word [eax + eax]
mov edx, dword [esp + ecx + 8]
xor dword [esp + ecx + 0x18], edx
add ecx, 4
cmp ebx, ecx
jne 0x7a64f0
mov eax, dword [esp + 0x40]
lea esi, [eax + 0x28]
test ebp, ebp
je 0x7a652c
lea edx, [esp + ecx]
add edx, 8
add ecx, esp
add ecx, 0x18
xor ebx, ebx
nop word [eax + eax]
movzx eax, byte [edx + ebx]
xor byte [ecx + ebx], al
inc ebx
cmp ebp, ebx
jne 0x7a6520
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x10]
call dword [0xa37360]
push esi
lea eax, [esp + 0x1c]
push eax
push ebx
call ecx
add esp, 0xc
mov eax, dword [0xa58170]
mov ecx, dword [0xa58160]
sub ecx, edi
add ecx, eax
call dword [0xa37360]
push 0x10
push esi
push dword [esp + 8]
jmp 0x7a65a9
lea edi, [ebp - 0x10]
mov eax, dword [0xa58170]
mov ecx, dword [0xa58160]
mov ebx, 0xd892
sub ebx, dword [esp]
sub ecx, ebx
add ecx, eax
call dword [0xa37360]
push 0x10
push edi
push ebp
call ecx
add esp, 0xc
mov eax, dword [0xa58170]
mov ecx, dword [0xa58160]
sub ecx, ebx
add ecx, eax
call dword [0xa37360]
push 0x10
lea eax, [esp + 0x1c]
push eax
push edi
call ecx
add esp, 0xc
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0091d849
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7a9750
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [esp + 0x44]
mov eax, dword [0xa7d04c]
xor eax, esp
mov dword [esp + 0x24], eax
xor esi, esi
test ebx, ebx
je 0x7a9901
cmp dword [esp + 0x3c], 0
je 0x7a9901
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x7a9901
mov edi, dword [esp + 0x48]
test edi, edi
je 0x7a9901
cmp ebx, 0xf
ja 0x7a97ca
mov esi, 0x10
sub esi, ebx
mov eax, dword [esp + 0x3c]
add eax, ebx
add eax, 0x28
lea ecx, [esp + 0x14]
push esi
push eax
push ecx
call fcn.00935430
add esp, 0xc
lea eax, [esp + esi]
add eax, 0x14
push ebx
push ebp
push eax
call fcn.00935430
add esp, 0xc
jmp 0x7a9847
movups xmm0, xmmword [ebp + ebx - 0x10]
movups xmmword [esp + 0x14], xmm0
mov esi, ebx
shr esi, 4
mov eax, dword [esp + 0x3c]
add eax, 0x28
mov dword [esp], eax
nop word cs:[eax + eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
call dword [0xa37360]
lea eax, [esp + 4]
push eax
mov ebx, dword [esp + 4]
push ebx
push dword [esp + 0x44]
call ecx
add esp, 0xc
movups xmm0, xmmword [ebp]
movups xmmword [ebx], xmm0
mov eax, dword [esp + 4]
xor eax, dword [ebp]
mov dword [edi], eax
mov eax, dword [esp + 8]
xor eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
xor eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
xor eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
add edi, 0x10
add ebp, 0x10
dec esi
jne 0x7a97f0
mov esi, dword [esp + 0x44]
and esi, 0xf
je 0x7a98f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
lea ebx, [eax + 0x28]
call dword [0xa37360]
lea eax, [esp + 4]
push eax
push ebx
push dword [esp + 0x44]
call ecx
add esp, 0xc
mov eax, dword [esp + 0x44]
and eax, 3
xor ecx, ecx
cmp esi, 4
jb 0x7a98ca
sub esi, eax
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [esp + ecx + 4]
xor dl, byte [ebp + ecx]
mov byte [edi + ecx], dl
movzx edx, byte [esp + ecx + 5]
xor dl, byte [ebp + ecx + 1]
mov byte [edi + ecx + 1], dl
movzx edx, byte [esp + ecx + 6]
xor dl, byte [ebp + ecx + 2]
mov byte [edi + ecx + 2], dl
movzx edx, byte [esp + ecx + 7]
xor dl, byte [ebp + ecx + 3]
mov byte [edi + ecx + 3], dl
add ecx, 4
cmp esi, ecx
jne 0x7a9890
test eax, eax
je 0x7a98f0
add edi, ecx
lea edx, [esp + ecx]
add edx, 4
add ebp, ecx
xor ecx, ecx
nop word [eax + eax]
movzx ebx, byte [edx + ecx]
xor bl, byte [ebp + ecx]
mov byte [edi + ecx], bl
inc ecx
cmp eax, ecx
jne 0x7a98e0
movups xmm0, xmmword [esp + 0x14]
mov eax, dword [esp + 0x3c]
movups xmmword [eax + 0x28], xmm0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0091d849
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7b7c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
sete dl
test eax, eax
sete dh
or dh, dl
jne 0x7b7da7
mov edx, dword [esp + 0x1c]
movzx esi, word [ecx + 4]
cmp esi, 0xa001
jne 0x7b7d20
test edx, edx
je 0x7b7da7
mov ebx, dword [ecx]
xor esi, esi
nop
movzx edi, byte [eax + esi]
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov ebx, edi
shr ebx, 1
and edi, 1
neg edi
and edi, 0xa001
xor edi, ebx
mov dword [ecx], edi
inc esi
mov ebx, edi
cmp edx, esi
jne 0x7b7c80
jmp 0x7b7da7
test edx, edx
je 0x7b7da7
mov ebp, dword [ecx]
xor edi, edi
nop dword [eax]
movzx ebx, byte [eax + edi]
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov ebp, ebx
shr ebp, 1
and ebx, 1
neg ebx
and ebx, esi
xor ebx, ebp
mov dword [ecx], ebx
inc edi
mov ebp, ebx
cmp edx, edi
jne 0x7b7d30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7da710
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c4
mov esi, ecx
mov eax, dword [0xa7d04c]
xor eax, esp
mov dword [esp + 0x1c0], eax
call fcn.007daa10
mov edi, eax
push 0x150
push 0
push esi
call fcn.009350b0
add esp, 0xc
push esi
call fcn.007b1660
add esp, 4
xorps xmm0, xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
xor eax, eax
nop dword [eax]
mov ecx, eax
and ecx, 0x1e
movzx edx, byte [esp + eax + 0x50]
mov dh, byte [esp + eax + 0x51]
xor byte [esp + ecx + 0x30], dl
lea ecx, [eax + 1]
and ecx, 0x1f
xor byte [esp + ecx + 0x30], dh
add eax, 2
cmp eax, 0x80
jne 0x7da760
movss xmm0, dword [esp + 0x40]
movups xmmword [esp], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp + 0x20], xmm0
lea ebp, [esp + 0x50]
push 0x150
push 0
push ebp
call fcn.009350b0
add esp, 0xc
push ebp
call fcn.007b1660
add esp, 4
push ebp
call fcn.007b1790
add esp, 4
lea eax, [esp + 0x10]
push 0x20
push eax
push ebp
call fcn.007b1ba0
add esp, 0xc
push ebp
call fcn.007b1690
add esp, 4
xor dword [esp + 0x10], 0x7da940
push 8
call fcn.0091d7fd
add esp, 4
xor dword [esp + 0x18], eax
push 8
push eax
call fcn.0091d82d
add esp, 8
xorps xmm0, xmm0
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
push ebp
call fcn.007c6070
add esp, 4
add edi, dword [0xa5d0b0]
mov eax, dword [0xa5d0a0]
add edi, eax
add edi, 0xffffd745
mov ecx, edi
call dword [0xa37360]
mov ecx, 0x2a45a582
call edi
mov edi, dword [eax]
test edi, edi
je 0x7da88f
mov ebx, dword [edi]
test ebx, ebx
je 0x7da88f
add edi, 4
nop dword [eax]
push 0x40
push ebx
call fcn.008fab30
add esp, 8
push eax
push ebx
push ebp
call fcn.007c61c0
add esp, 0xc
mov ebx, dword [edi]
add edi, 4
test ebx, ebx
jne 0x7da870
movd xmm1, ebp
movdqu xmm0, xmmword [esp]
pxor xmm1, xmm0
movdqu xmmword [esp], xmm1
pxor xmm0, xmm0
movdqu xmmword [esp + 0x1b0], xmm0
movdqu xmmword [esp + 0x1a0], xmm0
lea eax, [esp + 0x1a0]
push ebp
push eax
call fcn.007c6790
add esp, 8
movups xmm0, xmmword [esp + 0x1a0]
movups xmm1, xmmword [esp + 0x1b0]
movups xmm2, xmmword [esp + 0x10]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + 0x20]
xorps xmm0, xmm1
movups xmm1, xmmword [esp + 0x30]
xorps xmm1, xmm2
movups xmmword [esp + 0x10], xmm1
movss xmm1, dword [esp + 0x44]
movups xmm2, xmmword [esp]
unpcklps xmm2, xmm1
movsd xmm1, qword [esp + 0x48]
movlhps xmm2, xmm1
xorps xmm2, xmm0
movups xmmword [esp + 0x20], xmm2
push 0x20
lea eax, [esp + 0x14]
push eax
push esi
call fcn.007b16b0
add esp, 0xc
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0091d849
mov eax, esi
add esp, 0x1c4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7dc620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov esi, esp
mov dword [esi + 0x158], ebp
mov edi, ecx
nop
mov dword [esi + 0x15c], esp
mov dword [esi + 0x168], 0xffffffff
lea eax, [esi + 0x160]
mov dword [esi + 0x164], 0x7e2740
mov ecx, dword fs:[0]
mov dword [esi + 0x160], ecx
mov dword fs:[0], eax
call fcn.007e18d0
mov dword [esi + 4], eax
mov edi, dword [edi]
lea ebx, [esi + 0x30]
push 0x128
push 0
push ebx
call fcn.009350b0
add esp, 0xc
mov dword [esi + 8], 0x9e2834
mov eax, dword [0xa8c5dc]
add eax, ebx
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x168], 4
mov ecx, edi
push eax
call fcn.007de2f0
mov edi, dword [esi + 0x2c]
test edi, edi
sete al
or al, byte [0xa8c608]
test al, 1
jne 0x7dc6eb
xor ebx, ebx
lea eax, [esi + 8]
cmp edi, eax
setne bl
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
mov dword [esi], ecx
mov dword [esi + 0x168], 0xffffffff
call dword [0xa37360]
mov ecx, edi
push ebx
call dword [esi]
mov dword [esi + 0x168], 3
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.007a6240
add esp, 0x10
mov dword [esi + 0x168], 1
lea eax, [esi + 0x30]
push eax
call fcn.007a6110
add esp, 4
nop
mov eax, dword [esi + 0x160]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x7dc850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x170
mov esi, esp
mov dword [esi + 0x158], ebp
mov edi, ecx
nop
mov dword [esi + 0x15c], esp
mov dword [esi + 0x168], 0xffffffff
lea eax, [esi + 0x160]
mov dword [esi + 0x164], 0x7e2750
mov ecx, dword fs:[0]
mov dword [esi + 0x160], ecx
mov dword fs:[0], eax
call fcn.007e18d0
mov dword [esi + 4], eax
mov edi, dword [edi]
lea ebx, [esi + 0x30]
push 0x128
push 0
push ebx
call fcn.009350b0
add esp, 0xc
mov dword [esi + 8], 0x9e2934
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x168], 4
mov ecx, edi
push eax
call fcn.007de2f0
mov edi, dword [esi + 0x2c]
test edi, edi
je 0x7dc913
lea eax, [esi + 8]
cmp edi, eax
setne bl
or bl, byte [0xa8c608]
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
mov dword [esi], ecx
mov dword [esi + 0x168], 0xffffffff
call dword [0xa37360]
movzx eax, bl
and eax, 1
mov ecx, edi
push eax
call dword [esi]
mov dword [esi + 0x168], 3
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.007a9920
add esp, 0x10
mov dword [esi + 0x168], 1
lea eax, [esi + 0x30]
push eax
call fcn.007a6110
add esp, 4
nop
mov eax, dword [esi + 0x160]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8