joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50948c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
mov dword [ebx + 0x2ec], 0x4000
mov edx, esi
mov eax, ebx
call fcn.00507568
mov eax, ebx
call fcn.00473c7c
test al, al
je 0x5094e5
mov eax, ebx
call fcn.004738dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5094e5
mov eax, ebx
call fcn.0046bc64
cmp dword [ebx + 0x1c4], 0
jne 0x5094e5
push 0
mov eax, ebx
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0x2fd], 0
je 0x509501
mov eax, dword [0x65a3f4]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, ebx
call fcn.00470360
jmp 0x50950a
xor edx, edx
mov eax, ebx
call fcn.00470360
mov eax, esp
call fcn.005068a4
mov edx, esp
mov eax, esi
call fcn.00509438
mov eax, dword [esi + 8]
mov edi, dword [esi]
sub eax, edi
push eax
mov eax, dword [esi + 0xc]
mov ebp, dword [esi + 4]
sub eax, ebp
push eax
mov ecx, ebp
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x88]
mov eax, ebx
call fcn.00507f88
mov eax, dword [ebx + 0x2e8]
cmp dword [eax + 0x4c], 0
je 0x50958d
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 0x4c]
call fcn.004738dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x509659
mov eax, dword [ebx + 0x2e8]
mov eax, dword [eax + 0x4c]
call fcn.004738dc
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x509659
mov eax, ebx
call fcn.0050929c
jmp 0x509594
mov eax, ebx
call fcn.0050987c
call fcn.00506900
test al, al
je 0x5095b9
call fcn.004c2658
cmp eax, 0x60000
jl 0x5095b9
cmp byte [ebx + 0x2fc], 0
je 0x5095b9
mov byte [ebx + 0x2fc], 0xc
cmp byte [ebx + 0x2fc], 0
je 0x509630
call fcn.005068d0
test al, al
je 0x509630
call fcn.004c2658
cmp eax, 0x60000
jl 0x509630
mov eax, dword [0x65a3b4]
cmp dword [eax], 0
je 0x509630
movzx eax, byte [ebx + 0x2fc]
dec eax
sub al, 2
jae 0x509607
movzx eax, byte [ebx + 0x260]
dec eax
sub al, 2
jae 0x509600
mov esi, 4
jmp 0x509609
mov esi, 8
jmp 0x509609
xor esi, esi
movzx eax, byte [ebx + 0x2fc]
or esi, dword [eax*4 + 0x647534]
push esi
mov eax, dword [ebx + 0x2f8]
push eax
mov eax, ebx
call fcn.004738dc
push eax
mov eax, dword [0x65a3b4]
mov eax, dword [eax]
call eax
mov eax, ebx
call fcn.0046bc6c
cmp dword [ebx + 0x1c4], 0
jne 0x50964f
push 4
mov eax, ebx
call fcn.004738dc
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x80]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x514768
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x51478c
call sub.user32.dll_FindWindowA
test eax, eax
je 0x514788
push 0
push 0x51479c
push 0
push eax
call sub.user32.dll_FindWindowExA
ret
xor eax, eax
ret

Function at 0x528408
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x528426
and ecx, ecx
jle 0x528426
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x528411
pop ebx
ret
Function at 0x52846c
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x52848f
and ecx, ecx
jle 0x52848f
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x528495]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x52847f
pop edi
pop ebx
ret

Function at 0x52cc44
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb34
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405b48
xor eax, eax
push ebp
push 0x52cd63
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b58
push eax
call sub.kernel32.dll_OpenFile
mov esi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe
lea eax, [ebp - 0xa2]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 0x428
lea eax, [ebp - 0x4ca]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
push 0
push 0
mov eax, dword [ebp - 0x98]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
mov eax, dword [ebp - 0x4c2]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov edx, dword [ebp - 0x4c6]
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
movzx eax, word [ebp - 0x4bc]
imul dword [ebp - 0x4c6]
add eax, 0x1f
shr eax, 5
add eax, eax
add eax, eax
imul dword [ebp - 0x4c2]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040300c
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
push esi
call sub.kernel32.dll_ReadFile_1
push 0xcc0020
push 0
lea ecx, [ebp - 0x4ca]
push ecx
push edi
mov edx, dword [ebx + 0x14]
push edx
mov eax, dword [ebx + 0x10]
push eax
push 0
push 0
push edx
push eax
push 0
push 0
mov eax, dword [ebx + 0x20]
push eax
call sub.gdi32.dll_StretchDIBits
mov eax, edi
call fcn.00403028
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cd6a
lea eax, [ebp - 4]
call fcn.004056ac
ret
Function at 0x52ff50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov edi, dword [0x65a7ac]
mov edi, dword [edi]
mov esi, dword [ebp - 8]
mov eax, dword [esi]
call edi
mov dword [ebp - 4], eax
movzx edi, word [ebp - 2]
movzx eax, word [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [0x65a7ac]
mov edx, dword [edx]
mov eax, dword [esi + 4]
call edx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 2]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 4]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 4], eax
movzx edx, word [ebx]
mov eax, edi
call fcn.0052ff20
mov edi, eax
movzx eax, word [ebx + 2]
add dword [ebp - 0xc], eax
movzx eax, word [ebx + 4]
add dword [ebp - 0x10], eax
movzx edx, word [ebx + 6]
mov eax, dword [ebp - 0x14]
call fcn.0052ff20
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x10]
xor esi, edi
movzx edx, word [ebx + 8]
mov eax, esi
call fcn.0052ff20
mov esi, eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add eax, esi
movzx edx, word [ebx + 0xa]
call fcn.0052ff20
add esi, eax
xor edi, eax
xor dword [ebp - 0x14], esi
xor esi, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
add ebx, 0xc
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jne 0x52ff9e
movzx edx, word [ebx]
mov eax, edi
call fcn.0052ff20
mov word [ebp - 2], ax
movzx eax, word [ebp - 0x10]
add ax, word [ebx + 2]
mov word [ebp - 4], ax
mov edi, dword [0x65a7ac]
mov edi, dword [edi]
mov eax, dword [ebp - 4]
call edi
mov esi, dword [ebp - 8]
mov dword [esi], eax
movzx eax, word [ebp - 0xc]
add ax, word [ebx + 4]
mov word [ebp - 2], ax
movzx edx, word [ebx + 6]
mov eax, dword [ebp - 0x14]
call fcn.0052ff20
mov word [ebp - 4], ax
mov ebx, dword [0x65a7ac]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call ebx
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53072c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov esi, eax
mov edx, dword [ebp + 8]
mov edi, eax
add edi, 0x100
mov ecx, 1
xor ebx, ebx
mov eax, ecx
and al, 0xff
mov byte [esi], al
mov eax, ecx
and eax, 0xff
mov byte [edi + eax], bl
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*8]
mov ecx, 0x101
cdq
idiv ecx
mov ecx, edx
inc esi
inc ebx
cmp ebx, 0x100
jne 0x53074f
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5320e4
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x5320fa
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5320f3
mov edx, esp
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov ebx, dword [ebp - 4]
shr ebx, 8
and ebx, 0xff
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov esi, dword [ebp - 4]
shr esi, 0x18
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi - 4], 0x20
jne 0x532185
movzx ecx, byte [ecx + 0x64cf54]
mov esi, dword [edx + 0xc]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x64ce54]
mov esi, dword [edx + 0xc]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x64ce54]
mov esi, dword [edx + 0xc]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x64cf54]
mov edi, dword [edx + 0xc]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi - 4], 0x18
jl 0x5321e2
movzx ecx, byte [ecx + 0x64cf54]
mov esi, dword [edx + 8]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x64cf54]
mov esi, dword [edx + 8]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x64ce54]
mov esi, dword [edx + 8]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x64ce54]
mov edi, dword [edx + 8]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
movzx ecx, byte [ecx + 0x64ce54]
mov esi, dword [edx + 4]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x64cf54]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x64ce54]
mov esi, dword [edx + 4]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x64cf54]
mov edi, dword [edx + 4]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
movzx ecx, byte [ecx + 0x64ce54]
mov esi, dword [edx]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x64ce54]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x64cf54]
mov esi, dword [edx]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x64cf54]
mov edx, dword [edx]
shr edx, 0x18
xor esi, edx
mov dword [ebp - 8], esi
mov edx, dword [ecx*4 + 0x64d054]
xor edx, dword [ebx*4 + 0x64d454]
xor edx, dword [eax*4 + 0x64d854]
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + str.9g]
mov eax, edx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x5323e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
and ecx, 0xff
imul ecx, ecx, 0x1010101
xor ebx, ebx
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
inc ebx
cmp ebx, 0x40
jne 0x5323f4
pop esi
pop ebx
ret
Function at 0x532408
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov edx, 0x64ce54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x18]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x64ce54]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x64d054]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x532438
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x64cf54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x17]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x64ce54]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x64d454]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0x400], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x532485
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x64ce54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x16]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x64cf54]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x64d854]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0x800], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x5324d6
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x64cf54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x15]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x64cf54]
xor ebx, edx
mov ebx, dword [ebx*4 + str.9g]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0xc00], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x532527
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x532558
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, 0x64cf54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x18]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x14]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x64ce54]
xor esi, ecx
movzx esi, byte [esi + 0x64ce54]
xor esi, edx
mov esi, dword [esi*4 + 0x64d054]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x532590
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x64cf54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x17]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x13]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x64cf54]
xor esi, ecx
movzx esi, byte [esi + 0x64ce54]
xor esi, edx
mov esi, dword [esi*4 + 0x64d454]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x400], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x5325ed
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x64ce54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x16]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x12]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x64ce54]
xor esi, ecx
movzx esi, byte [esi + 0x64cf54]
xor esi, edx
mov esi, dword [esi*4 + 0x64d854]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x800], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x53264e
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x64ce54
lea eax, [ebp - 0x100]
call fcn.005323e4
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x15]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x11]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x64cf54]
xor esi, ecx
movzx esi, byte [esi + 0x64cf54]
xor esi, edx
mov esi, dword [esi*4 + str.9g]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0xc00], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x5326af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x532ef4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x16]
lea eax, [ebp - 4]
mov ecx, 4
call fcn.0040331c
lea edx, [ebp - 0x12]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.0040331c
mov ebx, dword [0x65a124]
mov ebx, dword [ebx]
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x16]
mov ecx, 2
call ebx
mov byte [ebp - 0xd], 8
mov dword [ebp - 0x24], 0x64e254
lea ebx, [ebp - 0x1e]
push ebp
movzx edx, byte [ebp - 0x16]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
call fcn.00532eb4
pop ecx
mov byte [ebx], al
mov byte [ebp - 0xe], 7
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
lea edi, [ebp - 0x15]
push ebp
movzx edx, byte [edi]
movzx eax, byte [esi]
call fcn.00532eb4
pop ecx
xor byte [ebx], al
inc edi
inc esi
dec byte [ebp - 0xe]
jne 0x532f6a
inc ebx
add dword [ebp - 0x24], 8
dec byte [ebp - 0xd]
jne 0x532f4a
movzx eax, byte [ebp - 0x1e]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov byte [ebp - 0xd], 7
lea eax, [ebp - 0x1d]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
shl edx, 8
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
shr ecx, 0x18
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shl edx, 8
movzx ecx, byte [eax]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
inc eax
dec byte [ebp - 0xd]
jne 0x532fa2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x532fdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], ecx
mov eax, 0x64e294
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 5
mov ebx, dword [edx]
xor dword [ecx], ebx
mov ebx, dword [edx + 4]
xor dword [ecx + 4], ebx
add edx, 8
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1800]
mov ebx, dword [ecx]
mov edi, ebx
shr edi, 0x17
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, ebx
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3000]
mov edi, ebx
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3800]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
or esi, 1
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1800]
mov edi, dword [ecx]
shr edi, 0x17
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, dword [ecx]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x3000]
add ebx, ebx
and ebx, 0x1fe
or ebx, 1
xor esi, dword [eax + ebx*4 + 0x3800]
mov dword [ecx + 4], esi
mov ebx, dword [ebp - 0x14]
mov dword [ecx], ebx
dec dword [ebp - 0x10]
jne 0x532ffe
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [ecx + 4], eax
add edx, 8
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x64e054]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x64e054]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x64e054]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x64e054]
xor ebx, eax
mov dword [ecx], ebx
mov eax, dword [ecx + 4]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x64e054]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x64e054]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x64e054]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x64e054]
xor ebx, eax
mov dword [ecx + 4], ebx
mov eax, dword [edx]
xor eax, dword [ecx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [edx + 4]
xor eax, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533c4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
jmp 0x533c5e
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp edx, dword [eax]
jne 0x533c5a
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x533cb5
xor eax, eax
push ebp
push 0x533cae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533cb5
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x54bd6c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x54bdbd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x54bda4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x54bd94
jmp 0x54bdbd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x54bda5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55f970
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
mov byte [ebp - 9], 1
lea eax, [ebp - 0x8c]
push eax
push 0x1e
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x55f9b3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x8c]
cmp dword [eax], 0x4090409
jne 0x55f9ab
mov byte [ebp - 9], 0
jmp 0x55f9b3
add eax, 4
dec dword [ebp - 0x10]
jne 0x55f99d
cmp byte [ebp - 9], 0
je 0x55f9ca
push 0
push 0x55fafc
call sub.user32.dll_LoadKeyboardLayoutA
mov dword [ebp - 8], eax
jmp 0x55f9d1
mov dword [ebp - 8], 0x4090409
xor ecx, ecx
push ebp
push 0x55faeb
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x8c]
push eax
push 0x1e
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x55face
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
mov eax, esi
call fcn.0055fb08
mov edi, eax
inc edi
jne 0x55fac1
mov eax, dword [0x6637d8]
call fcn.00406e94
inc eax
push eax
mov eax, 0x6637d8
mov ecx, 1
mov edx, dword [0x55a8c4]
call fcn.00407050
add esp, 4
mov eax, dword [0x6637d8]
call fcn.00406e94
mov edi, eax
dec edi
mov eax, edi
shl eax, 6
add eax, edi
mov edx, dword [0x6637d8]
mov dword [edx + eax*4], esi
mov bl, 1
cmp esi, dword [ebp - 8]
je 0x55fa9e
mov eax, ebx
call fcn.0055add8
test al, al
je 0x55fa9e
mov eax, dword [ebp - 8]
push eax
push 3
push esi
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyExA
push eax
call sub.user32.dll_MapVirtualKeyExA
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x55fa99
movzx eax, byte [ebp - 1]
call fcn.0055add8
test al, al
jne 0x55faa1
mov byte [ebp - 1], bl
jmp 0x55faa1
mov byte [ebp - 1], bl
mov eax, edi
shl eax, 6
add eax, edi
mov edx, dword [0x6637d8]
lea eax, [edx + eax*4]
movzx edx, bl
movzx ecx, byte [ebp - 1]
mov byte [eax + edx + 3], cl
inc ebx
test bl, bl
jne 0x55fa5b
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x55fa03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55faf2
cmp byte [ebp - 9], 0
je 0x55faea
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UnloadKeyboardLayout
ret