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

Disassembly:
push 0xffffffffffffffff
push 0x10241de8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x102a8930]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xc], vtable.C3303::ByteString.0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x30], esi
call fcn.101e9780
add esp, 8
test eax, eax
jle 0x101e99f1
mov dword [esp + 0x28], 0xffffffff
mov edi, dword [esp + 0x18]
cmp edi, esi
je 0x101e99da
mov edx, dword [esp + 0x14]
push edx
push esi
push edi
call fcn.10228aa0
push edi
call fcn.1021b8de
add esp, 0x10
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x10]
call fcn.101e9480
add esp, 4
mov dword [esp + 0x28], 0xffffffff
mov edi, dword [esp + 0x18]
test eax, eax
jle 0x101e9a42
cmp edi, esi
je 0x101e9a2b
mov ecx, dword [esp + 0x14]
push ecx
push esi
push edi
call fcn.10228aa0
push edi
call fcn.1021b8de
add esp, 0x10
mov eax, 2
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
cmp edi, esi
je 0x101e9a5b
mov edx, dword [esp + 0x14]
push edx
push esi
push edi
call fcn.10228aa0
push edi
call fcn.1021b8de
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x101eb730
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push esi
mov dword [eax], 0
mov esi, dword [ecx + 0x414]
cmp esi, dword [edx + 0x414]
pop esi
mov dword [esp + 4], eax
jle 0x101eb763
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
jmp fcn.101eb6a0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
jmp fcn.101eb6a0
Function at 0x101eeb70
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x98
xor eax, eax
push eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.10227581
movzx ecx, byte [0x102ba588]
add ecx, eax
push ecx
mov dword [esp + 0x38], edx
call fcn.10228f64
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea edx, [esp]
push 4
push edx
mov dword [esp + 8], eax
call fcn.101ee9e0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea edx, [esp + 0x24]
push 8
push edx
call fcn.101ee9e0
lea eax, [esp + 0x14]
push 8
push eax
call fcn.101ee9e0
lea ecx, [esp + 0x2c]
push 8
push ecx
call fcn.101ee9e0
lea edx, [esp + 0x2c]
push 8
push edx
call fcn.101ee9e0
add esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp], eax
lea eax, [esp]
push 4
push eax
call fcn.101ee9e0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp]
push 4
push ecx
mov dword [esp + 8], eax
call fcn.101ee9e0
mov ecx, dword [esp + 8]
add esp, 8
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
lea edx, [esp + 4]
push 4
push edx
call fcn.101ee9e0
lea eax, [esp + 0x10]
push 4
push eax
call fcn.101ee9e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea ecx, [esp + 4]
mov dword [esp + 4], eax
push ecx
call fcn.101ee9e0
add esp, 8
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.101ee9e0
add esp, 8
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [esp + 0x54]
push 0x44
push edx
call fcn.101ee9e0
add esp, 0xa0
ret
Function at 0x101eecc0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp], eax
push 4
lea eax, [esp + 4]
push eax
push esi
call fcn.101fa720
push 0
call fcn.10227581
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], eax
call fcn.101fa720
add esp, 0x1c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x20
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.101fa720
call fcn.10228f76
push 4
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], eax
call fcn.101fa720
call fcn.10226b3c
push 4
lea edx, [esp + 0x1c]
push edx
push esi
mov dword [esp + 0x24], eax
call fcn.101fa720
add esp, 0x24
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.101fa720
add esp, 0xc
call dword [sym.imp.USER32.dll_GetMessageTime]
push 4
lea edx, [esp + 4]
push edx
push esi
mov dword [esp + 0xc], eax
call fcn.101fa720
add esp, 0xc
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 4], eax
push 4
lea eax, [esp + 8]
push eax
push esi
call fcn.101fa720
call fcn.10228f76
cdq
mov ecx, 0x21
idiv ecx
add edx, 0x20
push edx
push esi
push esi
call fcn.101fa720
add esp, 0x18
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 8
lea eax, [esp + 0x14]
push eax
push esi
call fcn.101fa720
add esp, 0x44
ret
Function at 0x101fac80
Capabilities:
Hash data using sha224

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x90], 0xcbbb9d5d
mov dword [eax + 0x94], 0xc1059ed8
mov dword [eax + 0x98], 0x629a292a
mov dword [eax + 0x9c], 0x367cd507
mov dword [eax + 0xa0], 0x9159015a
mov dword [eax + 0xa4], 0x3070dd17
mov dword [eax + 0xa8], 0x152fecd8
mov dword [eax + 0xac], 0xf70e5939
mov dword [eax + 0xb0], 0x67332667
mov dword [eax + 0xb4], 0xffc00b31
mov dword [eax + 0xb8], 0x8eb44a87
mov dword [eax + 0xbc], 0x68581511
mov dword [eax + 0xc0], 0xdb0c2e0d
mov dword [eax + 0xc4], 0x64f98fa7
mov dword [eax + 0xc8], 0x47b5481d
mov dword [eax + 0xcc], 0xbefa4fa4
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xd0], 0x180
ret

Function at 0x101fafa0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xd4]
sub ecx, 0xe0
je 0x101fb12f
sub ecx, 0x20
je 0x101fb077
xor ecx, ecx
mov dword [eax + 0x90], 0x6a09e667
mov dword [eax + 0x94], 0xf3bcc908
mov dword [eax + 0x98], 0xbb67ae85
mov dword [eax + 0x9c], 0x84caa73b
mov dword [eax + 0xa0], 0x3c6ef372
mov dword [eax + 0xa4], 0xfe94f82b
mov dword [eax + 0xa8], 0xa54ff53a
mov dword [eax + 0xac], 0x5f1d36f1
mov dword [eax + 0xb0], 0x510e527f
mov dword [eax + 0xb4], 0xade682d1
mov dword [eax + 0xb8], 0x9b05688c
mov dword [eax + 0xbc], 0x2b3e6c1f
mov dword [eax + 0xc0], 0x1f83d9ab
mov dword [eax + 0xc4], 0xfb41bd6b
mov dword [eax + 0xc8], 0x5be0cd19
mov dword [eax + 0xcc], 0x137e2179
mov dword [eax + 0xd0], 0x200
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
ret
xor ecx, ecx
mov dword [eax + 0x90], 0x22312194
mov dword [eax + 0x94], 0xfc2bf72c
mov dword [eax + 0x98], 0x9f555fa3
mov dword [eax + 0x9c], 0xc84c64c2
mov dword [eax + 0xa0], 0x2393b86b
mov dword [eax + 0xa4], 0x6f53b151
mov dword [eax + 0xa8], 0x96387719
mov dword [eax + 0xac], 0x5940eabd
mov dword [eax + 0xb0], 0x96283ee2
mov dword [eax + 0xb4], 0xa88effe3
mov dword [eax + 0xb8], 0xbe5e1e25
mov dword [eax + 0xbc], 0x53863992
mov dword [eax + 0xc0], 0x2b0199fc
mov dword [eax + 0xc4], 0x2c85b8aa
mov dword [eax + 0xc8], 0xeb72ddc
mov dword [eax + 0xcc], 0x81c52ca2
mov dword [eax + 0xd0], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
ret
xor ecx, ecx
mov dword [eax + 0x90], 0x8c3d37c8
mov dword [eax + 0x94], 0x19544da2
mov dword [eax + 0x98], 0x73e19966
mov dword [eax + 0x9c], 0x89dcd4d6
mov dword [eax + 0xa0], 0x1dfab7ae
mov dword [eax + 0xa4], 0x32ff9c82
mov dword [eax + 0xa8], 0x679dd514
mov dword [eax + 0xac], 0x582f9fcf
mov dword [eax + 0xb0], 0xf6d2b69
mov dword [eax + 0xb4], 0x7bd44da8
mov dword [eax + 0xb8], 0x77e36f73
mov dword [eax + 0xbc], 0x4c48942
mov dword [eax + 0xc0], 0x3f9d85a8
mov dword [eax + 0xc4], 0x6a1d36c8
mov dword [eax + 0xc8], 0x1112e6ad
mov dword [eax + 0xcc], 0x91d692a1
mov dword [eax + 0xd0], 0xe0
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
ret
Function at 0x101fb480
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x102bacdc]
test eax, eax
jne 0x101fb497
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x102bacdc], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret
Function at 0x10202470
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 0xc]
cmp edx, 0x80
jle 0x10202481
mov edx, 0x80
mov ecx, dword [esp + 0x10]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov byte [edi], 0
test ecx, ecx
jle 0x1020249b
cmp ecx, 0x400
jle 0x102024a0
mov ecx, 0x400
test edx, edx
jle 0x102024bc
mov esi, dword [esp + 0x14]
push ebp
mov eax, edi
sub esi, edi
mov ebp, edx
nop
mov bl, byte [esi + eax]
mov byte [eax], bl
inc eax
sub ebp, 1
jne 0x102024b0
pop ebp
cmp edx, 0x80
jge 0x102024eb
mov esi, 0x80
mov eax, edi
sub esi, edx
lea ecx, [ecx]
movzx ebx, byte [edx + eax - 1]
add bl, byte [eax]
inc eax
sub esi, 1
movzx ebx, bl
movzx ebx, byte [ebx + 0x102539c8]
mov byte [eax + edx - 1], bl
jne 0x102024d0
lea esi, [ecx + 7]
neg ecx
sar esi, 3
and ecx, 7
mov eax, 0x80
sub eax, esi
mov edx, 0xff
sar edx, cl
movzx ecx, byte [eax + edi]
and edx, ecx
mov dl, byte [edx + 0x102539c8]
mov byte [eax + edi], dl
test eax, eax
je 0x1020253a
lea ecx, [eax + edi + 1]
jmp 0x10202520
movzx edx, byte [esi + ecx - 2]
movzx ebx, byte [ecx - 1]
dec ecx
xor edx, ebx
mov dl, byte [edx + 0x102539c8]
dec eax
mov byte [ecx - 1], dl
test eax, eax
jne 0x10202520
lea edx, [edi - 1]
mov eax, 0x7f
lea ecx, [edx + 0x7f]
sub edi, edx
jmp 0x10202550
movzx si, byte [edi + ecx]
movzx bx, byte [ecx]
shl si, 8
or si, bx
mov word [edx + eax], si
sub eax, 2
sub ecx, 2
test eax, eax
jge 0x10202550
pop edi
pop esi
pop ebx
ret
Function at 0x1020be10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push edi
js 0x1020beff
lea esi, [esp + 0x28]
mov edx, ebx
sub edx, esi
lea esi, [ecx + 0x10]
shr esi, 4
mov dword [esp + 0x10], esi
neg esi
lea edi, [esp + 0x28]
shl esi, 4
sub edi, eax
add ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
jmp 0x1020be74
mov edx, dword [esp + 0x1c]
add edx, edi
mov esi, eax
lea ecx, [ebx + 2]
mov dword [esp + 0x14], edx
mov eax, 4
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + esi]
xor dl, byte [esi]
add esi, 4
mov byte [edi + esi - 4], dl
movzx edx, byte [esi - 3]
xor dl, byte [ecx - 1]
add ecx, 4
mov byte [edi + esi - 3], dl
movzx edx, byte [esi - 2]
xor dl, byte [ecx - 4]
mov byte [edi + esi - 2], dl
movzx edx, byte [esi - 1]
xor dl, byte [ecx - 3]
sub eax, 1
mov byte [edi + esi - 1], dl
jne 0x1020be84
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.10207fd0
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
add esp, 0xc
sub edi, 0x10
add ebp, 0x10
sub dword [esp + 0x10], 1
mov dword [ebx + 0xc], edx
mov eax, esi
jne 0x1020be70
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff0
je 0x1020bfc3
xor ecx, ecx
lea edx, [esp + 0x29]
sub edx, eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x2a]
sub edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], edx
mov edi, ebx
lea ecx, [esp + 0x28]
sub ecx, eax
lea edx, [esp + 0x2b]
sub edi, eax
sub edx, eax
lea esi, [ebx + 2]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 4
jmp 0x1020bf57
mov ecx, dword [esp + 0x18]
mov dl, byte [eax + edi]
xor dl, byte [eax]
add eax, 4
mov byte [eax + ecx - 4], dl
movzx ecx, byte [eax - 3]
xor cl, byte [esi - 1]
mov edx, dword [esp + 0x14]
mov byte [eax + edx - 4], cl
movzx ecx, byte [eax - 2]
xor cl, byte [esi]
mov edx, dword [esp + 0x1c]
mov byte [eax + edx - 4], cl
movzx ecx, byte [eax - 1]
xor cl, byte [esi + 1]
mov edx, dword [esp + 0x24]
mov byte [eax + edx - 4], cl
add esi, 4
sub dword [esp + 0x10], 1
jne 0x1020bf53
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.10207fd0
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebx + 0xc], edx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022649a
add esp, 0x2c
ret
Function at 0x1020bfe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
js 0x1020c0c2
lea eax, [ecx + 0x10]
shr eax, 4
mov dword [esp + 0x14], eax
neg eax
mov ebp, edi
shl eax, 4
sub ebp, ebx
add ecx, eax
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x20], edx
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edx
push eax
mov dword [esp + 0x34], ecx
call fcn.10209660
add esp, 0xc
lea ecx, [edi + 2]
mov eax, ebx
mov edx, 4
jmp 0x1020c070
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1020c070
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
add esi, 0x10
sub ebp, 0x10
sub dword [esp + 0x14], 1
mov dword [edi + 0xc], edx
mov ebx, eax
jne 0x1020c030
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff0
je 0x1020c141
xor eax, eax
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10228b20
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.10209660
mov ebp, edi
add esp, 0x18
lea ecx, [edi + 2]
mov eax, ebx
sub ebp, ebx
mov edx, 4
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1020c106
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022649a
add esp, 0x20
ret
Function at 0x1020d6d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push edi
js 0x1020d7bf
lea esi, [esp + 0x28]
mov edx, ebx
sub edx, esi
lea esi, [ecx + 0x10]
shr esi, 4
mov dword [esp + 0x10], esi
neg esi
lea edi, [esp + 0x28]
shl esi, 4
sub edi, eax
add ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
jmp 0x1020d734
mov edx, dword [esp + 0x1c]
add edx, edi
mov esi, eax
lea ecx, [ebx + 2]
mov dword [esp + 0x14], edx
mov eax, 4
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + esi]
xor dl, byte [esi]
add esi, 4
mov byte [edi + esi - 4], dl
movzx edx, byte [esi - 3]
xor dl, byte [ecx - 1]
add ecx, 4
mov byte [edi + esi - 3], dl
movzx edx, byte [esi - 2]
xor dl, byte [ecx - 4]
mov byte [edi + esi - 2], dl
movzx edx, byte [esi - 1]
xor dl, byte [ecx - 3]
sub eax, 1
mov byte [edi + esi - 1], dl
jne 0x1020d744
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.1020cac0
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
add esp, 0xc
sub edi, 0x10
add ebp, 0x10
sub dword [esp + 0x10], 1
mov dword [ebx + 0xc], edx
mov eax, esi
jne 0x1020d730
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff0
je 0x1020d883
xor ecx, ecx
lea edx, [esp + 0x29]
sub edx, eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x2a]
sub edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], edx
mov edi, ebx
lea ecx, [esp + 0x28]
sub ecx, eax
lea edx, [esp + 0x2b]
sub edi, eax
sub edx, eax
lea esi, [ebx + 2]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 4
jmp 0x1020d817
mov ecx, dword [esp + 0x18]
mov dl, byte [eax + edi]
xor dl, byte [eax]
add eax, 4
mov byte [eax + ecx - 4], dl
movzx ecx, byte [eax - 3]
xor cl, byte [esi - 1]
mov edx, dword [esp + 0x14]
mov byte [eax + edx - 4], cl
movzx ecx, byte [eax - 2]
xor cl, byte [esi]
mov edx, dword [esp + 0x1c]
mov byte [eax + edx - 4], cl
movzx ecx, byte [eax - 1]
xor cl, byte [esi + 1]
mov edx, dword [esp + 0x24]
mov byte [eax + edx - 4], cl
add esi, 4
sub dword [esp + 0x10], 1
jne 0x1020d813
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.1020cac0
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebx + 0xc], edx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022649a
add esp, 0x2c
ret
Function at 0x1020d8a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
js 0x1020d982
lea eax, [ecx + 0x10]
shr eax, 4
mov dword [esp + 0x14], eax
neg eax
mov ebp, edi
shl eax, 4
sub ebp, ebx
add ecx, eax
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0x20], edx
push ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
push edx
push eax
mov dword [esp + 0x34], ecx
call fcn.1020d0a0
add esp, 0xc
lea ecx, [edi + 2]
mov eax, ebx
mov edx, 4
jmp 0x1020d930
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1020d930
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xc]
add esi, 0x10
sub ebp, 0x10
sub dword [esp + 0x14], 1
mov dword [edi + 0xc], edx
mov ebx, eax
jne 0x1020d8f0
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff0
je 0x1020da01
xor eax, eax
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10228b20
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.1020d0a0
mov ebp, edi
add esp, 0x18
lea ecx, [edi + 2]
mov eax, ebx
sub ebp, ebx
mov edx, 4
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x1020d9c6
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022649a
add esp, 0x20
ret
Function at 0x1020f0a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push edi
js 0x1020f18f
lea esi, [esp + 0x28]
mov edx, ebx
sub edx, esi
lea esi, [ecx + 0x10]
shr esi, 4
mov dword [esp + 0x10], esi
neg esi
lea edi, [esp + 0x28]
shl esi, 4
sub edi, eax
add ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
jmp 0x1020f104
mov edx, dword [esp + 0x1c]
add edx, edi
mov esi, eax
lea ecx, [ebx + 2]
mov dword [esp + 0x14], edx
mov eax, 4
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + esi]
xor dl, byte [esi]
add esi, 4
mov byte [edi + esi - 4], dl
movzx edx, byte [esi - 3]
xor dl, byte [ecx - 1]
add ecx, 4
mov byte [edi + esi - 3], dl
movzx edx, byte [esi - 2]
xor dl, byte [ecx - 4]
mov byte [edi + esi - 2], dl
movzx edx, byte [esi - 1]
xor dl, byte [ecx - 3]
sub eax, 1
mov byte [edi + esi - 1], dl
jne 0x1020f114
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.1020dfe0
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
add esp, 0xc
sub edi, 0x10
add ebp, 0x10
sub dword [esp + 0x10], 1
mov dword [ebx + 0xc], edx
mov eax, esi
jne 0x1020f100
mov ecx, dword [esp + 0x18]
cmp ecx, 0xfffffff0
je 0x1020f253
xor ecx, ecx
lea edx, [esp + 0x29]
sub edx, eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x2a]
sub edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], edx
mov edi, ebx
lea ecx, [esp + 0x28]
sub ecx, eax
lea edx, [esp + 0x2b]
sub edi, eax
sub edx, eax
lea esi, [ebx + 2]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 4
jmp 0x1020f1e7
mov ecx, dword [esp + 0x18]
mov dl, byte [eax + edi]
xor dl, byte [eax]
add eax, 4
mov byte [eax + ecx - 4], dl
movzx ecx, byte [eax - 3]
xor cl, byte [esi - 1]
mov edx, dword [esp + 0x14]
mov byte [eax + edx - 4], cl
movzx ecx, byte [eax - 2]
xor cl, byte [esi]
mov edx, dword [esp + 0x1c]
mov byte [eax + edx - 4], cl
movzx ecx, byte [eax - 1]
xor cl, byte [esi + 1]
mov edx, dword [esp + 0x24]
mov byte [eax + edx - 4], cl
add esi, 4
sub dword [esp + 0x10], 1
jne 0x1020f1e3
mov ecx, dword [esp + 0x20]
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.1020dfe0
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebx + 0xc], edx
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022649a
add esp, 0x2c
ret