joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a570
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x717f84]
push ebx
mov ebx, 4
movzx eax, byte [ecx]
mov byte [0x718210], al
movzx eax, byte [ecx + 1]
mov byte [0x718211], al
movzx eax, byte [ecx + 2]
mov byte [0x718212], al
movzx eax, byte [ecx + 3]
mov byte [0x718213], al
movzx eax, byte [ecx + 4]
mov byte [0x718214], al
movzx eax, byte [ecx + 5]
mov byte [0x718215], al
movzx eax, byte [ecx + 6]
mov byte [0x718216], al
movzx eax, byte [ecx + 7]
mov byte [0x718217], al
movzx eax, byte [ecx + 8]
mov byte [0x718218], al
movzx eax, byte [ecx + 9]
mov byte [0x718219], al
movzx eax, byte [ecx + 0xa]
mov byte [0x71821a], al
movzx eax, byte [ecx + 0xb]
mov byte [0x71821b], al
movzx eax, byte [ecx + 0xc]
mov byte [0x71821c], al
movzx eax, byte [ecx + 0xd]
mov byte [0x71821d], al
movzx eax, byte [ecx + 0xe]
mov byte [0x71821e], al
movzx eax, byte [ecx + 0xf]
mov byte [0x71821f], al
mov eax, 0x71821d
mov cl, byte [eax]
mov ch, byte [eax + 1]
mov dh, byte [eax + 2]
mov dl, byte [eax - 1]
mov byte [ebp - 2], cl
mov byte [ebp - 1], ch
mov byte [ebp - 3], dh
test bl, 3
jne 0x50a66d
movzx ecx, cl
movzx edx, dl
mov cl, byte [ecx + str.cw]
mov dh, byte [edx + str.cw]
mov byte [ebp - 4], cl
movzx ecx, byte [ebp - 1]
mov dl, byte [ebp - 4]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
movzx ecx, byte [ebp - 3]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
mov ecx, ebx
shr ecx, 2
xor dl, byte [ecx + 0x6cb86c]
mov ch, byte [ebp - 1]
mov cl, byte [eax - 0xd]
inc ebx
xor cl, dl
mov byte [eax + 3], cl
mov cl, byte [eax - 0xc]
xor cl, byte [ebp - 2]
mov byte [eax + 4], cl
mov cl, byte [eax - 0xb]
xor cl, ch
mov byte [eax + 5], cl
mov cl, byte [eax - 0xa]
xor cl, dh
mov byte [eax + 6], cl
add eax, 4
cmp ebx, 0x2c
jb 0x50a614
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50a6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x718204]
push ebx
push esi
add eax, 2
mov esi, 4
mov dl, byte [eax + 1]
lea eax, [eax + 4]
mov bh, byte [eax - 4]
mov dh, dl
mov cl, byte [eax - 6]
xor dh, bh
mov bl, byte [eax - 5]
mov byte [ebp - 2], cl
mov byte [ebp - 3], dl
mov dl, dh
xor dl, cl
xor dl, bl
mov byte [ebp - 1], dl
mov dl, cl
xor dl, bl
mov cl, dl
add dl, dl
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
mov dl, bl
xor cl, byte [ebp - 2]
xor dl, bh
xor cl, byte [ebp - 1]
mov byte [eax - 6], cl
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
mov dl, byte [ebp - 3]
xor cl, bl
xor dl, byte [ebp - 2]
mov bl, byte [ebp - 1]
xor cl, bl
mov byte [eax - 5], cl
mov cl, dh
shr cl, 7
add dh, dh
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dh
xor cl, bh
xor cl, bl
mov byte [eax - 4], cl
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
xor cl, byte [ebp - 3]
xor cl, bl
mov byte [eax - 3], cl
sub esi, 1
jne 0x50a6b3
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50a960
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x718204]
mov esi, 0x718210
sub esi, edi
mov ecx, edi
mov ebx, 4
nop dword [eax]
mov edx, 4
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x50a985
sub ebx, 1
jne 0x50a980
mov esi, 0x718220
mov dword [ebp - 8], 9
mov ebx, edi
mov dword [ebp - 4], 4
nop word [eax + eax]
mov ecx, ebx
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + str.cw]
mov byte [ecx - 4], al
sub edx, 1
jne 0x50a9c0
inc ebx
sub dword [ebp - 4], 1
jne 0x50a9b0
movzx eax, byte [edi + 5]
mov cl, byte [edi + 1]
mov byte [edi + 1], al
movzx eax, byte [edi + 9]
mov byte [edi + 5], al
movzx eax, byte [edi + 0xd]
mov byte [edi + 9], al
movzx eax, byte [edi + 0xa]
mov byte [edi + 0xd], cl
mov cl, byte [edi + 2]
mov byte [edi + 2], al
movzx eax, byte [edi + 0xe]
mov byte [edi + 0xa], cl
mov cl, byte [edi + 6]
mov byte [edi + 6], al
movzx eax, byte [edi + 0xf]
mov byte [edi + 0xe], cl
mov cl, byte [edi + 3]
mov byte [edi + 3], al
movzx eax, byte [edi + 0xb]
mov byte [edi + 0xf], al
movzx eax, byte [edi + 7]
mov byte [edi + 0xb], al
mov byte [edi + 7], cl
call fcn.0050a6a0
mov eax, edi
mov ebx, 4
mov edx, 4
nop dword [eax]
mov cl, byte [esi]
inc esi
xor byte [eax], cl
inc eax
sub edx, 1
jne 0x50aa40
sub ebx, 1
jne 0x50aa37
sub dword [ebp - 8], 1
jne 0x50a9a1
mov esi, edi
lea ebx, [edx + 4]
nop
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + str.cw]
mov byte [ecx - 4], al
sub edx, 1
jne 0x50aa70
inc esi
sub ebx, 1
jne 0x50aa60
movzx eax, byte [edi + 5]
lea esi, [ebx + 4]
mov cl, byte [edi + 1]
mov edx, 0x7182b0
mov byte [edi + 1], al
sub edx, edi
movzx eax, byte [edi + 9]
mov byte [edi + 5], al
movzx eax, byte [edi + 0xd]
mov byte [edi + 9], al
movzx eax, byte [edi + 0xa]
mov byte [edi + 0xd], cl
mov cl, byte [edi + 2]
mov byte [edi + 2], al
movzx eax, byte [edi + 0xe]
mov byte [edi + 0xa], cl
mov cl, byte [edi + 6]
mov byte [edi + 6], al
movzx eax, byte [edi + 0xf]
mov byte [edi + 0xe], cl
mov cl, byte [edi + 3]
mov byte [edi + 3], al
movzx eax, byte [edi + 0xb]
mov byte [edi + 0xf], al
movzx eax, byte [edi + 7]
mov byte [edi + 0xb], al
mov byte [edi + 7], cl
mov ecx, 4
nop dword [eax]
mov al, byte [edx + edi]
xor byte [edi], al
inc edi
sub ecx, 1
jne 0x50aaf0
sub esi, 1
jne 0x50aae4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50ab10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x718204]
mov ebx, 4
push edi
mov edi, 0x7182b0
mov ecx, esi
sub edi, esi
nop dword [eax]
mov edx, 4
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x50ab35
sub ebx, 1
jne 0x50ab30
mov byte [ebp - 1], 9
mov dword [ebp - 8], 0x7182a0
movzx eax, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
movzx eax, byte [esi + 5]
mov byte [esi + 9], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
nop word [eax + eax]
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x6cb978]
mov byte [ecx - 4], al
sub edx, 1
jne 0x50abc0
inc edi
sub ebx, 1
jne 0x50abb0
mov edx, dword [ebp - 8]
mov eax, esi
mov ebx, 4
mov edi, 4
nop dword [eax]
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x50abf0
sub ebx, 1
jne 0x50abe4
call fcn.0050a750
mov dl, byte [ebp - 1]
sub dword [ebp - 8], 0x10
dec dl
mov byte [ebp - 1], dl
test dl, dl
jne 0x50ab50
movzx eax, byte [esi + 9]
mov edi, esi
mov cl, byte [esi + 0xd]
mov ebx, 4
mov byte [esi + 0xd], al
movzx eax, byte [esi + 5]
mov byte [esi + 9], al
movzx eax, byte [esi + 1]
mov byte [esi + 5], al
movzx eax, byte [esi + 0xa]
mov byte [esi + 1], cl
mov cl, byte [esi + 2]
mov byte [esi + 2], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0xa], cl
mov cl, byte [esi + 6]
mov byte [esi + 6], al
movzx eax, byte [esi + 7]
mov byte [esi + 0xe], cl
mov cl, byte [esi + 3]
mov byte [esi + 3], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 7], al
movzx eax, byte [esi + 0xf]
mov byte [esi + 0xb], al
mov byte [esi + 0xf], cl
mov ecx, edi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x6cb978]
mov byte [ecx - 4], al
sub edx, 1
jne 0x50ac80
inc edi
sub ebx, 1
jne 0x50ac70
mov edx, 0x718210
lea edi, [ebx + 4]
sub edx, esi
mov ecx, 4
nop dword [eax]
mov al, byte [edx + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x50acb0
sub edi, 1
jne 0x50aca4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50acd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov al, byte [ebp + 8]
and al, 0xf
mov dword [ebp - 8], edx
push ebx
mov byte [ebp - 1], al
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
test eax, eax
je 0x50acfa
mov dword [0x717f84], eax
call fcn.0050a570
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
test eax, eax
mov edi, dword [0x718208]
cmovne edi, eax
mov eax, dword [ebp + 8]
mov dword [0x718208], edi
test eax, eax
je 0x50ad5f
lea esi, [eax - 1]
shr esi, 4
inc esi
nop dword [eax]
movups xmm0, xmmword [edx]
mov eax, ebx
sub edi, ebx
mov edx, 0x10
movups xmmword [ebx], xmm0
nop
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
sub edx, 1
jne 0x50ad30
mov dword [0x718204], ebx
call fcn.0050a960
mov edx, dword [ebp - 8]
mov edi, ebx
add edx, 0x10
add ebx, 0x10
mov dword [ebp - 8], edx
sub esi, 1
jne 0x50ad20
mov dword [0x718208], edi
mov al, byte [ebp - 1]
test al, al
je 0x50ada9
movzx esi, al
push esi
push edx
push ebx
call fcn.0063a1c0
mov eax, 0x10
sub eax, esi
push eax
lea eax, [esi + ebx]
push 0
push eax
call fcn.0063acc0
add esp, 0x18
mov ecx, ebx
sub edi, ebx
mov edx, 0x10
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x50ad90
mov dword [0x718204], ebx
call fcn.0050a960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50adb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 8]
and al, 0xf
push ebx
mov byte [ebp - 1], al
mov ebx, edx
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
test eax, eax
je 0x50add3
mov dword [0x717f84], eax
call fcn.0050a570
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
mov esi, dword [0x718208]
cmovne esi, eax
mov eax, dword [ebp + 8]
mov dword [0x718208], esi
test eax, eax
je 0x50ae3f
dec eax
shr eax, 4
inc eax
mov dword [ebp + 8], eax
nop word [eax + eax]
movups xmm0, xmmword [ebx]
mov dword [0x718204], edi
movups xmmword [edi], xmm0
call fcn.0050ab10
mov eax, edi
sub esi, edi
mov edx, 0x10
nop word [eax + eax]
mov cl, byte [esi + eax]
xor byte [eax], cl
inc eax
sub edx, 1
jne 0x50ae20
mov esi, ebx
add edi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x50ae00
mov dword [0x718208], esi
mov al, byte [ebp - 1]
pop esi
test al, al
je 0x50ae60
movzx eax, al
push eax
push ebx
push edi
call fcn.0063a1c0
add esp, 0xc
mov dword [0x718204], edi
call fcn.0050ab10
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50fdec
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x50fe0f
or esi, 1
push 2
call edi
test ax, ax
jns 0x50fe1b
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x50fe27
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x50fe33
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x5112ed
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x705034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x410], ebx
jle 0x51133a
mov eax, dword [esi + 0x40c]
lea edx, [ebp - 5]
mov byte [ebp - 5], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 5], 0
jne 0x51139a
inc ebx
cmp ebx, dword [esi + 0x410]
jl 0x51130f
sub edi, 0x100
je 0x51140a
sub edi, 4
je 0x51139e
dec edi
sub edi, 1
jne 0x5113f5
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.006480bc
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0xc]
push reloc.WS2_32.dll_select
mov word [ebp - 0xc], ax
push edx
mov eax, dword [ecx]
push 0x515a3d
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x5113f5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x5113f7
cmp dword [esi + 0x108], 0
je 0x5113f5
xor eax, eax
lea edi, [ebp - 0x28]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x1c], eax
call fcn.0050fdec
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00621f5c
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x5113f5
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x511463
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x511463
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x511463
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063c5d4
pop ecx
pop ecx
test eax, eax
je 0x511463
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x5113f5
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x5114ab
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5114ab
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x5114ab
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063c5d4
pop ecx
pop ecx
test eax, eax
jne 0x5113f5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00514384
jmp 0x51139a
Function at 0x513f00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x705034]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0xa8]
cmp eax, ecx
je 0x513f3b
cmp esi, dword [ebx + 0x108]
je 0x513f3b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x108]
cmp esi, eax
je 0x51401a
test eax, eax
je 0x513f9e
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], 0x17
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x108]
call fcn.005145a9
mov dword [ebx + 0x108], edi
test esi, esi
je 0x51401a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x51401a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x51401a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x51401a
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x108], esi
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x108]
call fcn.005145a9
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret 4
Function at 0x519e21
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x519e2c
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x519ee8
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
sub edi, 1
jne 0x519e41
pop edi
test esi, esi
je 0x519f04
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
inc edx
sub esi, 1
jne 0x519eec
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x519f0b
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x6cbc70]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x6cbc70]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x51a696
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x705034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x51a6db
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x51a6d6
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x51a702
mov edx, dword [edi + 0x1c]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x18]
jbe 0x51a6eb
mov esi, dword [edi + 0x18]
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0063a1c0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00621f5c
mov esp, ebp
pop ebp
ret
Function at 0x523249
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.0051ea17

Function at 0x5294ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x529511
cmp dword [esi + 8], edi
jge 0x529509
call fcn.00528fb3
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x52953a
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x52951d
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x529554
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x529545
xor dl, dl
jmp 0x52954a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x52953c
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x52957e
xor eax, eax
jmp 0x5295b5
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x52957a
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x52959f
push edi
mov ecx, esi
call fcn.0052908d
pop ecx
test eax, eax
je 0x52957a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0063a1c0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5388fd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x538967
cmp dword [ebp + 8], 0x100
jne 0x538956
cmp word [ebp + 0xc], 0xd
jne 0x538956
cmp byte [esi + 0x6a2], 0
je 0x53893d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x538956
cmp byte [esi + 0x6a3], 0
jne 0x538956
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x538952
push edi
push edi
push edi
push str.return
push esi
call fcn.005145a9
xor eax, eax
jmp 0x53896a
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x53b1ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
push edi
shr edx, 0x10
mov edi, ecx
push 0x3c
pop esi
test dx, dx
je 0x53b1f3
cmp word [eax], si
je 0x53b1f3
call fcn.00454aa7
push 1
push dword [ebp + 8]
lea ecx, [eax + 0x1c]
call fcn.0050fb8b
test eax, eax
jne 0x53b1e6
xor ecx, ecx
jmp 0x53b1e8
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x53b224
cmp word [eax], si
jne 0x53b219
push eax
mov ecx, edi
call fcn.005346d9
test al, al
jne 0x53b2a0
xor eax, eax
jmp 0x53b2b0
push ecx
push eax
mov ecx, edi
call fcn.005347d3
jmp 0x53b20a
mov esi, dword [edi + 0x148]
test esi, esi
jne 0x53b23d
mov esi, dword [0x717b60]
test esi, esi
cmove esi, dword [0x717b58]
push dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x53b212
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x53b267
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x53b212
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push esi
mov dword [edi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.00534736
test al, al
je 0x53b212
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x144], eax
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0053b2b9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x543959
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x94
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
and dword [eax + 0x598], 0
cmp dword [ebx + 4], 0
jne 0x5439d1
lea eax, [ebp - 0x10]
push eax
call fcn.00543a51
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x10]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push ecx
push dword [eax + 0xa8]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00517acb
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x558]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005151c4
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x94]
mov eax, dword [eax]
movzx esi, word [eax]
call fcn.0041b502
mov edi, 0x588
test si, si
jne 0x543a06
mov eax, dword [ebx + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.0063a1c0
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
mov esp, ebp
pop ebp
ret 4