joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0630
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push edi
push 0x70f388
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.004c5bd0
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x4c066b
push edi
push 0x70f3b4
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.004c5bd0
add esp, 0x10
pop edi
pop ebx
pop ebp
ret

Function at 0x4c5d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x4c5e1a
nop word [eax + eax]
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 8], ecx
test edi, edi
je 0x4c5de8
mov edx, ecx
mov eax, edi
mov ecx, dword [ebp - 4]
add edx, edx
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + edx*8]
sub edi, dword [ebp + 8]
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4c5e52
test edx, edx
jne 0x4c5e64
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add ecx, ecx
push 0
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.00485590
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c5eb9
mov eax, dword [ebp - 4]
inc esi
mov edi, dword [ebp + 8]
cmp esi, dword [eax + 0x14]
jl 0x4c5db0
mov edx, 0x70ff90
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c5e6a
test ecx, ecx
jne 0x4c5e7c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c5e7f
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c5eb7
mov eax, dword [ebp - 4]
mov ebx, 0x70ffb8
jmp 0x4c5da3
movzx ecx, byte [ecx + 0x6ce760]
movzx edx, byte [edx + 0x6ce760]
sub edx, ecx
jne 0x4c5e0e
inc eax
jmp 0x4c5dd6
movzx eax, byte [eax + 0x6ce760]
movzx ecx, byte [ecx + 0x6ce760]
sub ecx, eax
jne 0x4c5eb7
inc ebx
jmp 0x4c5e21
test ecx, ecx
je 0x4c5eb7
mov esi, ecx
mov edx, edi
sub esi, edi
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4c5ea2
test ecx, ecx
je 0x4c5e45
inc edx
jmp 0x4c5e90
movzx eax, byte [eax + 0x6ce760]
movzx ecx, byte [ecx + 0x6ce760]
sub ecx, eax
jne 0x4c5e41
inc edx
jmp 0x4c5e90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c6080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
xor ebx, ebx
mov dword [ebp - 0xc], esi
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x4c60f9
mov edx, dword [ebp + 8]
nop dword [eax]
mov esi, dword [esi + 0x10]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
add ecx, ecx
mov eax, dword [esi + ecx*8 + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x4c60d6
mov esi, dword [esi + ecx*8]
mov eax, edx
sub esi, edx
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x4c6102
test edx, edx
jne 0x4c6114
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.00485590
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4c60f9
mov esi, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [esi + 0x14]
jl 0x4c60a0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x6ce760]
movzx edx, byte [edx + 0x6ce760]
sub edx, ecx
jne 0x4c60ed
inc eax
jmp 0x4c60c4
Function at 0x4c95c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x70b034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add edx, edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
push edi
mov eax, dword [esi]
mov dword [ebp - 0x24], esi
mov eax, dword [eax + 0x10]
mov edi, dword [eax + edx*8]
mov eax, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], eax
nop dword [eax]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.00482ee0
mov eax, dword [esi]
lea ebx, [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 0x20], eax
nop dword [eax]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x4c969b
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x4c9669
mov edx, ecx
mov eax, edi
mov ecx, dword [ebp - 0x20]
add edx, edx
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + edx*8]
sub edi, dword [ebp - 0x28]
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4c96d7
test edx, edx
jne 0x4c96e9
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add ecx, ecx
push 0
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.00485590
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c9737
mov eax, dword [ebp - 0x20]
inc esi
mov edi, dword [ebp - 0x28]
cmp esi, dword [eax + 0x14]
jl 0x4c9627
mov edx, 0x70ff90
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c96ef
test ecx, ecx
jne 0x4c9701
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c9704
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c9755
mov eax, dword [ebp - 0x20]
mov ebx, 0x70ffb8
jmp 0x4c9620
movzx ecx, byte [ecx + 0x6ce760]
movzx edx, byte [edx + 0x6ce760]
sub edx, ecx
jne 0x4c968f
inc eax
jmp 0x4c9650
movzx eax, byte [eax + 0x6ce760]
movzx ecx, byte [ecx + 0x6ce760]
sub ecx, eax
jne 0x4c9755
inc ebx
jmp 0x4c96a2
test ecx, ecx
je 0x4c9755
mov esi, ecx
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4c9722
test ecx, ecx
je 0x4c96ca
inc edx
jmp 0x4c9710
movzx eax, byte [eax + 0x6ce760]
movzx ecx, byte [ecx + 0x6ce760]
sub ecx, eax
jne 0x4c96c2
inc edx
jmp 0x4c9710
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x38]
push eax
push edi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push esi
call fcn.004c5bd0
add esp, 0x18
jmp 0x4c9758
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x4c9600
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00625788
mov esp, ebp
pop ebp
ret
Function at 0x511690
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x71e324]
push ebx
mov ebx, 4
movzx eax, byte [ecx]
mov byte [0x71e430], al
movzx eax, byte [ecx + 1]
mov byte [0x71e431], al
movzx eax, byte [ecx + 2]
mov byte [0x71e432], al
movzx eax, byte [ecx + 3]
mov byte [0x71e433], al
movzx eax, byte [ecx + 4]
mov byte [0x71e434], al
movzx eax, byte [ecx + 5]
mov byte [0x71e435], al
movzx eax, byte [ecx + 6]
mov byte [0x71e436], al
movzx eax, byte [ecx + 7]
mov byte [0x71e437], al
movzx eax, byte [ecx + 8]
mov byte [0x71e438], al
movzx eax, byte [ecx + 9]
mov byte [0x71e439], al
movzx eax, byte [ecx + 0xa]
mov byte [0x71e43a], al
movzx eax, byte [ecx + 0xb]
mov byte [0x71e43b], al
movzx eax, byte [ecx + 0xc]
mov byte [0x71e43c], al
movzx eax, byte [ecx + 0xd]
mov byte [0x71e43d], al
movzx eax, byte [ecx + 0xe]
mov byte [0x71e43e], al
movzx eax, byte [ecx + 0xf]
mov byte [0x71e43f], al
mov eax, 0x71e43d
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 0x51178d
movzx ecx, cl
movzx edx, dl
mov cl, byte [ecx + 0x6d2098]
mov dh, byte [edx + 0x6d2098]
mov byte [ebp - 4], cl
movzx ecx, byte [ebp - 1]
mov dl, byte [ebp - 4]
mov cl, byte [ecx + 0x6d2098]
mov byte [ebp - 2], cl
movzx ecx, byte [ebp - 3]
mov cl, byte [ecx + 0x6d2098]
mov byte [ebp - 1], cl
mov ecx, ebx
shr ecx, 2
xor dl, byte [ecx + 0x6d2198]
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 0x511734
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5117c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x71e42c]
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 0x5117d3
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511a80
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 [0x71e42c]
mov esi, 0x71e430
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 0x511aa5
sub ebx, 1
jne 0x511aa0
mov esi, 0x71e440
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 + 0x6d2098]
mov byte [ecx - 4], al
sub edx, 1
jne 0x511ae0
inc ebx
sub dword [ebp - 4], 1
jne 0x511ad0
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.005117c0
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 0x511b60
sub ebx, 1
jne 0x511b57
sub dword [ebp - 8], 1
jne 0x511ac1
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 + 0x6d2098]
mov byte [ecx - 4], al
sub edx, 1
jne 0x511b90
inc esi
sub ebx, 1
jne 0x511b80
movzx eax, byte [edi + 5]
lea esi, [ebx + 4]
mov cl, byte [edi + 1]
mov edx, 0x71e4d0
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 0x511c10
sub esi, 1
jne 0x511c04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511c30
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 [0x71e42c]
mov ebx, 4
push edi
mov edi, 0x71e4d0
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 0x511c55
sub ebx, 1
jne 0x511c50
mov byte [ebp - 1], 9
mov dword [ebp - 8], 0x71e4c0
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 + 0x6d1f98]
mov byte [ecx - 4], al
sub edx, 1
jne 0x511ce0
inc edi
sub ebx, 1
jne 0x511cd0
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 0x511d10
sub ebx, 1
jne 0x511d04
call fcn.00511870
mov dl, byte [ebp - 1]
sub dword [ebp - 8], 0x10
dec dl
mov byte [ebp - 1], dl
test dl, dl
jne 0x511c70
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 + 0x6d1f98]
mov byte [ecx - 4], al
sub edx, 1
jne 0x511da0
inc edi
sub ebx, 1
jne 0x511d90
mov edx, 0x71e430
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 0x511dd0
sub edi, 1
jne 0x511dc4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511df0
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 0x511e1a
mov dword [0x71e324], eax
call fcn.00511690
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
test eax, eax
mov edi, dword [0x71e4e0]
cmovne edi, eax
mov eax, dword [ebp + 8]
mov dword [0x71e4e0], edi
test eax, eax
je 0x511e7f
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 0x511e50
mov dword [0x71e42c], ebx
call fcn.00511a80
mov edx, dword [ebp - 8]
mov edi, ebx
add edx, 0x10
add ebx, 0x10
mov dword [ebp - 8], edx
sub esi, 1
jne 0x511e40
mov dword [0x71e4e0], edi
mov al, byte [ebp - 1]
test al, al
je 0x511ec9
movzx esi, al
push esi
push edx
push ebx
call fcn.0063d9e0
mov eax, 0x10
sub eax, esi
push eax
lea eax, [esi + ebx]
push 0
push eax
call fcn.0063e4e0
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 0x511eb0
mov dword [0x71e42c], ebx
call fcn.00511a80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x511ed0
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 0x511ef3
mov dword [0x71e324], eax
call fcn.00511690
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
mov esi, dword [0x71e4e0]
cmovne esi, eax
mov eax, dword [ebp + 8]
mov dword [0x71e4e0], esi
test eax, eax
je 0x511f5f
dec eax
shr eax, 4
inc eax
mov dword [ebp + 8], eax
nop word [eax + eax]
movups xmm0, xmmword [ebx]
mov dword [0x71e42c], edi
movups xmmword [edi], xmm0
call fcn.00511c30
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 0x511f40
mov esi, ebx
add edi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x511f20
mov dword [0x71e4e0], esi
mov al, byte [ebp - 1]
pop esi
test al, al
je 0x511f80
movzx eax, al
push eax
push ebx
push edi
call fcn.0063d9e0
add esp, 0xc
mov dword [0x71e42c], edi
call fcn.00511c30
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x516fa9
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 0x516fcc
or esi, 1
push 2
call edi
test ax, ax
jns 0x516fd8
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x516fe4
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x516ff0
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x5184a5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x70b034]
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 0x5184f2
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 0x518552
inc ebx
cmp ebx, dword [esi + 0x410]
jl 0x5184c7
sub edi, 0x100
je 0x5185c2
sub edi, 4
je 0x518556
dec edi
sub edi, 1
jne 0x5185ad
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.0064b95d
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 0x51cbf8
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x5185ad
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 0x5185af
cmp dword [esi + 0x108], 0
je 0x5185ad
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.00516fa9
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.00625788
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x5185ad
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51861b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x51861b
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x51861b
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063fdf4
pop ecx
pop ecx
test eax, eax
je 0x51861b
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x5185ad
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x518663
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x518663
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x518663
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063fdf4
pop ecx
pop ecx
test eax, eax
jne 0x5185ad
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0051b53c
jmp 0x518552
Function at 0x51b0b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x70b034]
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 0x51b0f3
cmp esi, dword [ebx + 0x108]
je 0x51b0f3
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x108]
cmp esi, eax
je 0x51b1d2
test eax, eax
je 0x51b156
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.0051b761
mov dword [ebx + 0x108], edi
test esi, esi
je 0x51b1d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x51b1d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x51b1d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x51b1d2
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.0051b761
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00625788
mov esp, ebp
pop ebp
ret 4
Function at 0x5277d9
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.00522fa7

Function at 0x52cd3d
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 0x52cd5f
cmp dword [esi + 8], edi
jge 0x52cd57
call fcn.0052c801
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 0x52cd88
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 0x52cd6b
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x52cda2
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x52cd93
xor dl, dl
jmp 0x52cd98
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x52cd8a
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 0x52cdcc
xor eax, eax
jmp 0x52ce03
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x52cdc8
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x52cded
push edi
mov ecx, esi
call fcn.0052c8db
pop ecx
test eax, eax
je 0x52cdc8
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0063d9e0
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