joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fdd70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [edi]
mov cx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov ecx, dword [edi + 0x3c]
push ecx
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.004fdec0
push esi
push edi
mov dword [esp + 0x28], eax
call fcn.004fded0
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x24]
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
add esi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x4fde8b
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 8]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004fdec0
push esi
push edi
mov ebx, eax
call fcn.004fded0
mov edx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebx
je 0x4fde35
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, ebx
ja 0x4fde35
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004fdf00
add esp, 8
test eax, eax
je 0x4fdeab
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x4fde6a
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x4fde53
test ecx, 0x2000000
je 0x4fde53
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4fde5e
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4fddd1
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004fdf00
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x505990
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x772b80
push 0x5356f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.005334f0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x505b40
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x505b81
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x505bee
cmp dword [esp + 0x1c], 2
jne 0x505bee
cmp dword [esp + 0x10], 5
jne 0x505bee
cmp dword [esp + 0x14], 1
jne 0x505bee
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x505bd8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x505bc9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x505bd1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x505bee
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x5076e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x507783
test eax, eax
jbe 0x507783
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x507783
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x50772e
xor esi, esi
jmp 0x507734
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x50775f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0049b1a0
add esi, eax
push esi
mov ebx, esi
call fcn.0049b1a0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x507740
pop ebp
test edi, edi
pop edi
jne 0x507783
test ebx, ebx
je 0x507783
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00533ef0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x5078a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5079bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5079bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.005459d3
mov esi, eax
test esi, esi
je 0x5079bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x5079bd
mov ecx, esi
call fcn.00507830
cmp edi, eax
jge 0x5079bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x507943
mov dword [esp + 0x34], 1
jmp 0x50799e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x5079bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.005060c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x50b0c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x85e9fc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x50b0d3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x50b114
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x85eaa4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x50b146
mov bl, byte [esp + ecx + 0x4c]
jmp 0x50b14a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x50b13b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x50b168
mov bl, byte [esp + ecx + 0x4c]
jmp 0x50b16c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x50b15d
xor ecx, ecx
mov eax, 0x85ea0c
xor ebx, ebx
mov bl, byte [ecx + 0x85eab4]
cmp byte [esp + ebx + 0x14], 0
je 0x50b197
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x85eacc]
cmp byte [esp + ebx + 0x14], 0
je 0x50b1ae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x50b17e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x50b107
lea edx, [esp + 0x84]
push edx
call fcn.0050b1f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x512830
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8a69a0]
xor edx, edx
cmp eax, edx
jne 0x512856
xor eax, eax
mov byte [eax + 0x8a68a0], al
inc eax
cmp eax, 0x100
jl 0x51283e
mov dword [0x8a69a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8a68a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5128e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5128ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x512888
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x512960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5129b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x51299a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x519370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55318e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00519c90
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x774a34
call fcn.00543ce7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x519403
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00543ce7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5193fc
push 0
mov ecx, eax
call fcn.00510470
mov dword [esi + 0xc], eax
jmp 0x519405
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x519405
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x546377
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5463af
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00544401
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005443d9
jmp 0x5463bb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x547a65
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x547aa7
call fcn.0054d561
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x547aa7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x547a9e
xor eax, eax
jmp 0x547aaf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00547ab5
pop edi
pop esi
pop ebx
ret 4

Function at 0x54da91
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x54dabf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x54dadd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0054d9f7
jmp 0x54dadd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x54dadd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0054d9f7
test edi, edi
mov eax, edi
jne 0x54dac7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1927000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
mov byte [ebp - 0x18], 0x42
push 0
push esi
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x4b
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x51
mov byte [ebp - 0xd], 0x52
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x57
mov byte [ebp - 9], 0x58
mov byte [ebp - 8], 0x59
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x34
mov byte [ebp - 4], 0x36
mov byte [ebp - 3], 0x37
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], 0x39
call fcn.01934cfd
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
jle 0x19270c1
mov eax, dword [ebp + 8]
mov al, byte [edi + eax]
cmp al, 0x2d
je 0x19270bb
xor edx, edx
cmp al, byte [ebp + edx - 0x18]
je 0x1927098
inc edx
cmp edx, 0x17
jl 0x192708c
cmp edx, 0x18
je 0x19270c7
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jle 0x19270bb
movzx eax, byte [ecx + esi]
imul eax, eax, 0x18
add eax, edx
mov byte [ecx + esi], al
sar eax, 8
inc ecx
cmp ecx, dword [ebp + 0x14]
mov edx, eax
jl 0x19270a4
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x1927080
mov eax, esi
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x19270c3

Function at 0x19270cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
dec edi
mov byte [ebp - 0x1c], 0x42
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0x19], 0x46
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x4a
mov byte [ebp - 0x15], 0x4b
mov byte [ebp - 0x14], 0x4d
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x51
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x58
mov byte [ebp - 0xc], 0x59
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x34
mov byte [ebp - 8], 0x36
mov byte [ebp - 7], 0x37
mov byte [ebp - 6], 0x38
mov byte [ebp - 5], 0x39
mov dword [ebp - 4], edi
js 0x1927193
mov dword [ebp + 0x14], 1
push ebx
add edi, eax
sub dword [ebp + 0x14], eax
push esi
mov eax, dword [ebp + 0x14]
add eax, edi
push 6
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x1927160
mov byte [edi], 0x2d
jmp 0x1927187
mov esi, dword [ebp + 0xc]
xor eax, eax
jmp 0x1927184
mov ecx, dword [ebp + 8]
add ecx, esi
movzx edx, byte [ecx]
shl eax, 8
or eax, edx
cdq
push 0x18
pop ebx
idiv ebx
mov byte [ecx], al
mov eax, edx
mov cl, byte [ebp + eax - 0x1c]
mov byte [edi], cl
dec esi
jns 0x1927167
dec dword [ebp - 4]
dec edi
cmp dword [ebp - 4], 0
jge 0x192714c
pop esi
pop ebx
mov eax, dword [ebp + 0x10]
pop edi
leave
ret
Function at 0x1928f1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa4
push ebx
mov byte [esi + 8], al
and al, 0x80
push edi
mov edi, ecx
mov bl, dl
mov byte [ebp + 0x5c], 0xaa
mov byte [ebp + 0x5d], 0xbb
mov byte [ebp + 0x5e], 0xcc
mov byte [ebp + 0x5f], 0xdd
mov byte [ebp + 0x60], 0xee
mov byte [ebp + 0x61], 0xff
mov byte [ebp + 0x62], 0x11
mov byte [ebp + 0x63], 0x22
mov byte [ebp + 0x64], 0x33
mov byte [ebp + 0x65], 0x44
mov byte [ebp + 0x66], 0x55
mov byte [ebp + 0x67], 0x66
mov byte [ebp + 0x68], 0x77
mov byte [ebp + 0x69], 0x88
mov byte [ebp + 0x6a], 0x99
mov byte [ebp + 0x6b], 0x99
mov byte [esi + 5], al
call fcn.0192c7c3
mov dword [esi + 1], eax
test bl, bl
jne 0x1928f89
mov byte [esi + 9], bl
jmp 0x1929003
test byte [esi + 5], 0x80
movzx eax, bl
je 0x1928ff0
mov ecx, eax
and ecx, 0x8000000f
mov dword [ebp + 0x6c], eax
jns 0x1928fa4
dec ecx
or ecx, 0xfffffff0
inc ecx
je 0x1928fae
shr bl, 4
inc bl
shl bl, 4
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x34]
push eax
mov byte [esi + 9], bl
call fcn.01934cd8
movzx ecx, byte [esi + 9]
mov eax, dword [ebp + 0x6c]
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x34]
push eax
call fcn.0192c7a9
lea eax, [ebp + 0x5c]
push eax
movzx eax, byte [esi + 9]
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x7c]
call fcn.019297f6
add esp, 0x28
jmp 0x1929003
push eax
push dword [ebp + 0x78]
lea eax, [esi + 0xa]
push eax
mov byte [esi + 9], bl
call fcn.01934cd8
add esp, 0xc
movzx eax, byte [esi + 9]
sub edi, eax
lea eax, [eax + esi + 0xa]
push edi
push eax
call fcn.0192c7a9
movzx edi, byte [esi + 9]
xor eax, eax
pop ecx
mov word [esi + 6], ax
pop ecx
lea ecx, [edi + 0xa]
mov eax, ecx
cdq
sub eax, edx
xor ebx, ebx
sar eax, 1
and ecx, 0x80000001
mov dword [ebp + 0x6c], ebx
jns 0x192903c
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp eax, ebx
mov dx, word [ebp + 0x6c]
jle 0x192904d
xor dx, word [esi + ebx*2]
inc ebx
cmp ebx, eax
jl 0x1929044
test ecx, ecx
je 0x192905a
movzx ax, byte [edi + esi + 9]
xor dx, ax
pop edi
mov word [esi + 6], dx
pop ebx
add ebp, 0x70
leave
ret

Function at 0x19297af
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jle 0x19297c1
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x19297b8
pop esi
ret
Function at 0x192a102
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.01929bf5
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
add esp, 0xc
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x192a174
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x192a133
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x192a2e6
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x1942b68]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1942b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1942f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943768]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x1942b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943368]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x1942b68]
and edx, ecx
xor edi, dword [edx*4 + 0x1943b68]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x1942b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1942b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1942f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943768]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x1942b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943368]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x1942b68]
and edx, ecx
xor edi, dword [edx*4 + 0x1943b68]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x1942b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1942b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1942f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943768]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x1942b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943368]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x1942b68]
and edx, ecx
xor edi, dword [edx*4 + 0x1943b68]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x1942b68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1942b68]
and edi, ecx
mov edi, dword [edi*4 + 0x1942f68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943768]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x1942b68]
and edx, ecx
mov edx, dword [edx*4 + 0x1942b68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1943368]
and edx, ecx
xor edi, dword [edx*4 + 0x1943b68]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x192a188
pop edi
pop esi
pop ebx
leave
ret
Function at 0x192c067
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 9]
and dword [ebp - 4], 0
push esi
lea esi, [eax + 0xa]
mov eax, esi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
and edx, 0x80000001
push edi
jns 0x192c091
dec edx
or edx, 0xfffffffe
inc edx
mov si, word [ebp - 4]
xor edi, edi
test eax, eax
jle 0x192c0a4
xor si, word [ecx + edi*2]
inc edi
cmp edi, eax
jl 0x192c09b
test edx, edx
je 0x192c0b5
movzx eax, byte [ecx + 9]
movzx ax, byte [eax + ecx + 9]
xor si, ax
movzx eax, word [ecx + 6]
mov cx, ax
xor cx, si
xor edx, edx
cmp cx, ax
sete dl
pop edi
pop esi
dec edx
mov eax, edx
leave
ret