joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e1750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7716b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.006f23b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0
call fcn.006f34f0
push 0x69d4f4
lea ecx, [esp + 0x30]
call fcn.006f35f0
push 1
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.006f4140
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.006f3360
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 0
call fcn.007158a0
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x6e17e8
lea eax, [esp + 0x34]
push eax
call fcn.0073b410
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x6e1831
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.006f3a80
cmp dword [eax + 0x1c], 0x10
mov byte [esp + 0x58], 2
jb 0x6e1814
mov eax, dword [eax + 8]
jmp 0x6e1817
add eax, 8
push eax
call fcn.0073b410
add esp, 4
lea ecx, [esp + 0xc]
mov dword [edi + 4], eax
mov byte [esp + 0x58], 0
call fcn.007158a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.007158a0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.007562ca
add esp, 0x50
ret 4

Function at 0x6e1d40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x771808
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x6a0f10
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x80], ebx
call fcn.006e1bf0
lea ecx, [esp + 0x4c]
call fcn.006f23b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.006f3790
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
call fcn.006f2bf0
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 2
call fcn.006f3360
lea ecx, [esp + 0xc]
mov byte [esp + 0x78], 1
call fcn.007158a0
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.006e1750
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], bl
call fcn.007158a0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x6a0f10
jb 0x6e1e20
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00755e35
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.007562ca
add esp, 0x70
ret 4
Function at 0x6e1e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77185e
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x6a0f10
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0xa0], ebx
call fcn.006e1bf0
call fcn.006afd90
add eax, 8
push eax
lea ecx, [esp + 0x70]
call fcn.006f2bf0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 1
call fcn.006f23b0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c], 2
call fcn.006f31e0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 3
call fcn.006f20d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 2
call fcn.007158a0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x10]
call fcn.006f2bf0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 4
call fcn.006f3360
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 2
call fcn.007158a0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.006e1750
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 1
call fcn.007158a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], bl
call fcn.007158a0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x6a0f10
jb 0x6e1f88
mov edx, dword [esp + 0x34]
push edx
call fcn.00755e35
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.007562ca
add esp, 0x90
ret 4
Function at 0x6e4350
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x134
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x144]
push ebp
mov ebp, dword [esp + 0x140]
push esi
push edi
mov esi, ecx
push eax
lea edi, [esi + 0x4e8]
push ebp
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.006ae450
test eax, eax
jne 0x6e439d
xor al, al
jmp 0x6e4484
cmp dword [edi + 8], 0
mov eax, dword [esi + 0x4f0]
je 0x6e43ae
mov edi, dword [edi + 4]
jmp 0x6e43b0
xor edi, edi
mov ecx, dword [ebx]
push ecx
push eax
push edi
mov ecx, esi
call fcn.007488c0
test al, al
je 0x6e4396
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 0x5f5e100
push edx
push eax
call fcn.00757fb0
lea ecx, [esp + 0x3c]
push ecx
push 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x53], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp + 0x24]
xor eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, eax
xor eax, dword [esp + 0x18]
push 0xffffffffffffffff
xor eax, edx
xor ecx, edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00745500
cmp byte [esp + 0x154], 0
mov bl, al
je 0x6e4482
mov ecx, dword [esp + 0x14c]
push ecx
add esi, 0x2d0
push ebp
mov ecx, esi
call fcn.006f4a50
push 0xffffffffffffffff
mov ecx, esi
call fcn.006f4ab0
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov al, bl
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x134
ret 0x10
Function at 0x6eb450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x771c48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.006f9580
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.006f9590
lea ecx, [esp + 8]
push esi
push ecx
call fcn.006eb240
mov ecx, eax
call fcn.006f8d80
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00725ce0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

Function at 0x6eb4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x771c48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.006f9580
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.006f9590
lea ecx, [esp + 8]
push esi
push ecx
call fcn.006eb2c0
mov ecx, eax
call fcn.006f8ec0
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00725ce0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

Function at 0x6ec710
Capabilities:
Check if process is running under wine
Get file version info

Disassembly:
sub esp, 0x20
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
mov ebp, ecx
cmp byte [ebp + 0xea0], 1
je 0x6ec81e
mov eax, dword [0x6a0f60]
mov cx, word [0x6a0f64]
push ebx
push esi
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
xor ebx, ebx
push edx
lea eax, [esp + 0x24]
push eax
mov word [esp + 0x2c], cx
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x6ec7da
lea ecx, [esi + 0x32]
push edi
push ecx
call fcn.00758067
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x6ec7d9
mov edx, dword [esp + 0x1c]
push edi
push esi
push edx
lea eax, [esp + 0x30]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x6ec7d0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x6a0f38
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x6ec7d0
cmp dword [esp + 0x14], ebx
je 0x6ec7d0
mov eax, dword [esp + 0x18]
push 4
push 0x6a0f30
push eax
call fcn.00757db0
add esp, 0xc
test eax, eax
jne 0x6ec7d0
mov byte [esp + 0x13], 1
push edi
call fcn.00756594
add esp, 4
pop edi
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
push 0x6a0f1c
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x6ec803
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
mov byte [ebp + 0xea0], 1
pop ebx
je 0x6ec817
cmp byte [esp + 7], 1
jne 0x6ec81e
mov byte [ebp + 0xea1], 1
mov al, byte [ebp + 0xea1]
mov ecx, dword [esp + 0x20]
pop ebp
xor ecx, esp
call fcn.007562ca
add esp, 0x20
ret
Function at 0x6eca40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.0070f100
lea ecx, [eax + 0x6c]
call fcn.00702650
call fcn.0070f100
mov esi, dword [0x7cad84]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x6ec9fe
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0xe74
lea eax, [edi + 0x2c]
push 0
push eax
call fcn.00755e40
mov ecx, dword [0x7cbcac]
add esp, 0xc
mov esi, ecx
test ecx, ecx
je 0x6eca32
call fcn.00700280
push esi
call fcn.00755e35
add esp, 4
call fcn.0070f250
mov ecx, edi
pop edi
pop esi
jmp 0x702780
mov ecx, 0x7cad88
jmp 0x6ec9d0
push ebx
call fcn.00730e70
mov bl, al
call fcn.007151e0
mov al, bl
pop ebx
ret
Function at 0x6f22e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x1c], 0x10
jb 0x6f22eb
mov ecx, dword [ecx + 8]
jmp 0x6f22ee
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6f2301
test al, 0x10
jne 0x6f2301
mov al, 1
ret
xor al, al
ret

Function at 0x6f2310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x1c], 0x10
jb 0x6f231b
mov ecx, dword [ecx + 8]
jmp 0x6f231e
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6f2331
test al, 0x10
je 0x6f2331
mov al, 1
ret
xor al, al
ret

Function at 0x6f30c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x773046
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x6f3152
lea eax, [esp + 0x150]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0x30]
call fcn.006f3070
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov dword [esp + 0x268], 0
call fcn.006ebd80
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x6a0f10
jb 0x6f31b7
mov eax, dword [esp + 0x34]
push eax
jmp 0x6f31af
cmp dword [esi + 0x1c], 0x10
jb 0x6f315d
mov eax, dword [esi + 8]
jmp 0x6f3160
lea eax, [esi + 8]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x50]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x10]
call fcn.006f3070
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x268], 1
call fcn.006ebd80
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 0x6a0f10
jb 0x6f31b7
mov edx, dword [esp + 0x14]
push edx
call fcn.00755e35
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.007562ca
add esp, 0x260
ret
Function at 0x6f3790
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x77312b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f37f6
sub eax, edx
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.006b0570
mov dword [esp + 8], 0x6a10f0
lea edx, [esp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x140], 0
call fcn.006ebd80
cmp dword [esp + 0x24], 0x10
mov dword [esp + 8], 0x6a0f10
jb 0x6f3849
mov eax, dword [esp + 0x10]
push eax
call fcn.00755e35
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.007562ca
add esp, 0x138
ret
Function at 0x6f5390
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
test edi, edi
je 0x6f541c
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x6f541c
cdq
and edx, 0xf
add eax, edx
push ebp
mov ebp, eax
sar ebp, 4
test ebp, ebp
jle 0x6f541b
mov eax, dword [esi]
xor eax, dword [edi]
mov ecx, dword [edi + 4]
xor ecx, dword [esi + 4]
mov edx, dword [edi + 8]
xor edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.006f4b90
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
dec ebp
add edi, 0x10
add ebx, 0x10
test ebp, ebp
jg 0x6f53c7
pop ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x14
ret 0xc

Function at 0x6f5430
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, ecx
test edi, edi
je 0x6f54de
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x6f54de
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0xc], eax
test eax, eax
jle 0x6f54de
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.006f4f90
mov ebp, dword [esi + 0xc]
xor dword [esp + 0x20], ebp
mov ebp, dword [edi]
mov eax, dword [esp + 0x14]
xor eax, dword [esi]
mov ecx, dword [esp + 0x18]
xor ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
xor edx, dword [esi + 8]
mov dword [esi], ebp
mov ebp, dword [edi + 4]
mov dword [esi + 4], ebp
mov ebp, dword [edi + 8]
mov dword [esi + 8], ebp
mov ebp, dword [edi + 0xc]
mov dword [esi + 0xc], ebp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 8], edx
dec eax
mov dword [ebx + 0xc], ecx
add ebx, 0x10
add edi, 0x10
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
test eax, eax
jg 0x6f5471
pop ebp
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x18
ret 0xc
Function at 0x6f5500
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
test esi, esi
je 0x6f563c
mov ecx, dword [esp + 0x40]
test ecx, ecx
jle 0x6f563c
mov eax, ecx
cdq
and edx, 0xf
push edi
add eax, edx
mov edi, ecx
sar eax, 4
and edi, 0xf
cmp eax, 1
jle 0x6f5561
and ecx, 0xfffffff0
sub ecx, 0x10
push ecx
push ebp
mov dword [esp + 0x18], ecx
push esi
mov ecx, ebx
call fcn.006f5390
mov eax, dword [esp + 0x10]
add esi, eax
add ebp, eax
mov eax, dword [esi]
xor eax, dword [ebx]
mov ecx, dword [esi + 4]
xor ecx, dword [ebx + 4]
mov edx, dword [esi + 8]
xor edx, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
mov edx, ecx
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.006f4b90
test edi, edi
je 0x6f5607
push edi
add esi, 0x10
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00756630
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [ebp + 0x10]
push edx
call fcn.00756630
add esp, 0x18
xor eax, eax
test edi, edi
jle 0x6f55ce
mov cl, byte [esp + eax + 0x24]
xor byte [esp + eax + 0x14], cl
inc eax
cmp eax, edi
jl 0x6f55c1
push ebx
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.006f4b90
mov eax, dword [ebx]
mov dword [ebp], eax
mov ecx, dword [ebx + 4]
mov dword [ebp + 4], ecx
mov edx, dword [ebx + 8]
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebp + 0xc], eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.007562ca
add esp, 0x28
ret 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
pop edi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x28
ret 0xc
Function at 0x6f5650
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], ecx
test ebx, ebx
je 0x6f5755
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x6f5755
push esi
mov esi, eax
and esi, 0xf
jne 0x6f568d
mov esi, 0x10
cmp eax, 0x20
push edi
jle 0x6f56b5
mov edx, esi
sub edx, 0x10
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x20
and eax, 0xfffffff0
sub eax, edx
mov edi, eax
push edi
push ebp
push ebx
call fcn.006f5430
add ebx, edi
add ebp, edi
push esi
lea eax, [ebx + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00756630
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push ebx
mov ecx, edi
call fcn.006f4f90
xor eax, eax
test esi, esi
jle 0x6f56ed
mov edi, edi
mov cl, byte [esp + eax + 0x14]
xor byte [esp + eax + 0x24], cl
inc eax
cmp eax, esi
jl 0x6f56e0
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.00756630
add esp, 0xc
test esi, esi
je 0x6f5753
mov ecx, 0x10
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x28]
push edx
lea eax, [esp + esi + 0x1c]
push eax
call fcn.00756630
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
mov ecx, edi
call fcn.006f4f90
mov eax, dword [edi]
xor eax, dword [esp + 0x14]
mov dword [ebp], eax
mov ecx, dword [edi + 4]
xor ecx, dword [esp + 0x18]
mov dword [ebp + 4], ecx
mov edx, dword [edi + 8]
xor edx, dword [esp + 0x1c]
mov dword [ebp + 8], edx
mov eax, dword [edi + 0xc]
xor eax, dword [esp + 0x20]
mov dword [ebp + 0xc], eax
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
pop ebp
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x28
ret 0xc
Function at 0x6f5770
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
test ebx, ebx
je 0x6f58ae
test ecx, ecx
jle 0x6f58ae
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
push ebp
mov ebp, eax
sar ebp, 4
test ebp, ebp
jle 0x6f580e
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, edi
call fcn.006f4b90
mov ecx, dword [ebx]
xor ecx, dword [esp + 0x18]
dec ebp
mov dword [esi], ecx
mov edx, dword [ebx + 4]
xor edx, dword [esp + 0x1c]
add esi, 0x10
mov dword [esi - 0xc], edx
mov eax, dword [ebx + 8]
xor eax, dword [esp + 0x20]
add ebx, 0x10
mov dword [esi - 8], eax
mov ecx, dword [ebx - 4]
xor ecx, dword [esp + 0x24]
mov dword [esi - 4], ecx
mov edx, dword [esi - 0x10]
mov dword [edi], edx
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 8]
mov dword [edi + 8], ecx
mov edx, dword [esi - 4]
mov dword [edi + 0xc], edx
test ebp, ebp
jg 0x6f57b5
mov ecx, dword [esp + 0x10]
mov ebp, ecx
and ebp, 0xf
je 0x6f58ad
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, edi
call fcn.006f4b90
xor ecx, ecx
test ebp, ebp
jle 0x6f5855
lea edx, [esp + 0x18]
sub ebx, edx
mov edx, esi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
sub edx, eax
jmp 0x6f5844
mov ebx, dword [esp + 0x14]
lea eax, [esp + ecx + 0x18]
mov bl, byte [ebx + eax]
xor bl, byte [eax]
inc ecx
cmp ecx, ebp
mov byte [edx + eax], bl
jl 0x6f5840
add esi, ebp
mov ebp, dword [esp + 0x10]
cmp ebp, 0x10
jge 0x6f5896
mov ebx, 0x10
sub ebx, ebp
push ebx
lea ecx, [edi + ebp]
push ecx
push edi
call fcn.00758ad0
push ebp
sub esi, ebp
push esi
add edi, ebx
push edi
call fcn.00756630
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.007562ca
add esp, 0x1c
ret 0xc
mov edx, dword [esi - 0x10]
mov dword [edi], edx
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 8]
mov dword [edi + 8], ecx
mov edx, dword [esi - 4]
mov dword [edi + 0xc], edx
pop ebp
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.007562ca
add esp, 0x1c
ret 0xc