joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d4f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c500
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x70a034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x31], 0
jne 0x47d570
push dword [esi + 0x1c]
call fcn.004a8130
add esp, 4
cmp eax, 0x64
jne 0x47d53f
mov byte [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x65
jne 0x47d55a
mov word [esi + 0x30], 0x100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov word [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x15
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x483030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x70b3b8], 0
je 0x483087
mov eax, dword [0x71cc58]
test eax, eax
je 0x483060
push eax
call dword [0x70b408]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.004802b0
mov eax, dword [0x71cc58]
test eax, eax
je 0x483082
push eax
call dword [0x70b410]
mov esi, dword [ebp - 4]
jmp 0x483091
mov esi, dword [ebp - 4]
jmp 0x483094
push 0x14
call dword [0x70b3d8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4830a2
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x70b3bc], 0
mov ebx, dword [ebp + 8]
je 0x4830ec
mov eax, dword [0x70b4ac]
test eax, eax
je 0x4830c5
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x4830ec
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x483000
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.00654038
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4830f9
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x483112
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48df80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push esi
push edi
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x48dfbe
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
movq qword [eax], xmm0
jmp 0x48e042
movzx eax, word [ebx + 0x8c]
cdq
mov edi, eax
add edi, 0x28
mov ecx, edi
adc edx, 0
or ecx, edx
je 0x48dff2
push edx
push edi
call fcn.004803a0
mov esi, eax
add esp, 8
test esi, esi
je 0x48dff4
push edi
push 0
push esi
call fcn.0063e3a0
add esp, 0xc
jmp 0x48dff4
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test esi, esi
jne 0x48e032
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
dec ecx
mov esi, dword [ebx + 0x3c]
push 0
cdq
push ecx
mov edi, dword [esi]
push edx
push eax
call fcn.00626560
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x28]
mov dword [esi + 0x1c], 0x10020
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
pop edi
mov dword [esi + 0x18], ecx
inc dword [ebx + 0x78]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c04a0
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 0x70e388
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.004c5a30
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x4c04db
push edi
push 0x70e3b4
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.004c5a30
add esp, 0x10
pop edi
pop ebx
pop ebp
ret

Function at 0x4c5bf0
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 0x4c5c7a
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 0x4c5c48
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 0x4c5cb2
test edx, edx
jne 0x4c5cc4
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.004853a0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c5d19
mov eax, dword [ebp - 4]
inc esi
mov edi, dword [ebp + 8]
cmp esi, dword [eax + 0x14]
jl 0x4c5c10
mov edx, 0x70ef90
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c5cca
test ecx, ecx
jne 0x4c5cdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c5cdf
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c5d17
mov eax, dword [ebp - 4]
mov ebx, 0x70efb8
jmp 0x4c5c03
movzx ecx, byte [ecx + 0x6cd750]
movzx edx, byte [edx + 0x6cd750]
sub edx, ecx
jne 0x4c5c6e
inc eax
jmp 0x4c5c36
movzx eax, byte [eax + 0x6cd750]
movzx ecx, byte [ecx + 0x6cd750]
sub ecx, eax
jne 0x4c5d17
inc ebx
jmp 0x4c5c81
test ecx, ecx
je 0x4c5d17
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 0x4c5d02
test ecx, ecx
je 0x4c5ca5
inc edx
jmp 0x4c5cf0
movzx eax, byte [eax + 0x6cd750]
movzx ecx, byte [ecx + 0x6cd750]
sub ecx, eax
jne 0x4c5ca1
inc edx
jmp 0x4c5cf0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c5ee0
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 0x4c5f59
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 0x4c5f36
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 0x4c5f62
test edx, edx
jne 0x4c5f74
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.004853a0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4c5f59
mov esi, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [esi + 0x14]
jl 0x4c5f00
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x6cd750]
movzx edx, byte [edx + 0x6cd750]
sub edx, ecx
jne 0x4c5f4d
inc eax
jmp 0x4c5f24
Function at 0x4c9420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x70a034]
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.00482ce0
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 0x4c94fb
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x4c94c9
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 0x4c9537
test edx, edx
jne 0x4c9549
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.004853a0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c9597
mov eax, dword [ebp - 0x20]
inc esi
mov edi, dword [ebp - 0x28]
cmp esi, dword [eax + 0x14]
jl 0x4c9487
mov edx, 0x70ef90
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c954f
test ecx, ecx
jne 0x4c9561
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c9564
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c95b5
mov eax, dword [ebp - 0x20]
mov ebx, 0x70efb8
jmp 0x4c9480
movzx ecx, byte [ecx + 0x6cd750]
movzx edx, byte [edx + 0x6cd750]
sub edx, ecx
jne 0x4c94ef
inc eax
jmp 0x4c94b0
movzx eax, byte [eax + 0x6cd750]
movzx ecx, byte [ecx + 0x6cd750]
sub ecx, eax
jne 0x4c95b5
inc ebx
jmp 0x4c9502
test ecx, ecx
je 0x4c95b5
mov esi, ecx
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4c9582
test ecx, ecx
je 0x4c952a
inc edx
jmp 0x4c9570
movzx eax, byte [eax + 0x6cd750]
movzx ecx, byte [ecx + 0x6cd750]
sub ecx, eax
jne 0x4c9522
inc edx
jmp 0x4c9570
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.004c5a30
add esp, 0x18
jmp 0x4c95b8
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x4c9460
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006255fe
mov esp, ebp
pop ebp
ret
Function at 0x511510
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x71d324]
push ebx
mov ebx, 4
movzx eax, byte [ecx]
mov byte [0x71d430], al
movzx eax, byte [ecx + 1]
mov byte [0x71d431], al
movzx eax, byte [ecx + 2]
mov byte [0x71d432], al
movzx eax, byte [ecx + 3]
mov byte [0x71d433], al
movzx eax, byte [ecx + 4]
mov byte [0x71d434], al
movzx eax, byte [ecx + 5]
mov byte [0x71d435], al
movzx eax, byte [ecx + 6]
mov byte [0x71d436], al
movzx eax, byte [ecx + 7]
mov byte [0x71d437], al
movzx eax, byte [ecx + 8]
mov byte [0x71d438], al
movzx eax, byte [ecx + 9]
mov byte [0x71d439], al
movzx eax, byte [ecx + 0xa]
mov byte [0x71d43a], al
movzx eax, byte [ecx + 0xb]
mov byte [0x71d43b], al
movzx eax, byte [ecx + 0xc]
mov byte [0x71d43c], al
movzx eax, byte [ecx + 0xd]
mov byte [0x71d43d], al
movzx eax, byte [ecx + 0xe]
mov byte [0x71d43e], al
movzx eax, byte [ecx + 0xf]
mov byte [0x71d43f], al
mov eax, 0x71d43d
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 0x51160d
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 + 0x6d1090]
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 0x5115b4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x511640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x71d42c]
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 0x511653
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511900
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 [0x71d42c]
mov esi, 0x71d430
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 0x511925
sub ebx, 1
jne 0x511920
mov esi, 0x71d440
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 0x511960
inc ebx
sub dword [ebp - 4], 1
jne 0x511950
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.00511640
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 0x5119e0
sub ebx, 1
jne 0x5119d7
sub dword [ebp - 8], 1
jne 0x511941
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 0x511a10
inc esi
sub ebx, 1
jne 0x511a00
movzx eax, byte [edi + 5]
lea esi, [ebx + 4]
mov cl, byte [edi + 1]
mov edx, 0x71d4d0
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 0x511a90
sub esi, 1
jne 0x511a84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511ab0
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 [0x71d42c]
mov ebx, 4
push edi
mov edi, 0x71d4d0
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 0x511ad5
sub ebx, 1
jne 0x511ad0
mov byte [ebp - 1], 9
mov dword [ebp - 8], 0x71d4c0
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 + 0x6d10a0]
mov byte [ecx - 4], al
sub edx, 1
jne 0x511b60
inc edi
sub ebx, 1
jne 0x511b50
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 0x511b90
sub ebx, 1
jne 0x511b84
call fcn.005116f0
mov dl, byte [ebp - 1]
sub dword [ebp - 8], 0x10
dec dl
mov byte [ebp - 1], dl
test dl, dl
jne 0x511af0
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 + 0x6d10a0]
mov byte [ecx - 4], al
sub edx, 1
jne 0x511c20
inc edi
sub ebx, 1
jne 0x511c10
mov edx, 0x71d430
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 0x511c50
sub edi, 1
jne 0x511c44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511c70
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 0x511c9a
mov dword [0x71d324], eax
call fcn.00511510
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
test eax, eax
mov edi, dword [0x71d4e0]
cmovne edi, eax
mov eax, dword [ebp + 8]
mov dword [0x71d4e0], edi
test eax, eax
je 0x511cff
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 0x511cd0
mov dword [0x71d42c], ebx
call fcn.00511900
mov edx, dword [ebp - 8]
mov edi, ebx
add edx, 0x10
add ebx, 0x10
mov dword [ebp - 8], edx
sub esi, 1
jne 0x511cc0
mov dword [0x71d4e0], edi
mov al, byte [ebp - 1]
test al, al
je 0x511d49
movzx esi, al
push esi
push edx
push ebx
call fcn.0063d8a0
mov eax, 0x10
sub eax, esi
push eax
lea eax, [esi + ebx]
push 0
push eax
call fcn.0063e3a0
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 0x511d30
mov dword [0x71d42c], ebx
call fcn.00511900
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x511d50
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 0x511d73
mov dword [0x71d324], eax
call fcn.00511510
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
mov esi, dword [0x71d4e0]
cmovne esi, eax
mov eax, dword [ebp + 8]
mov dword [0x71d4e0], esi
test eax, eax
je 0x511ddf
dec eax
shr eax, 4
inc eax
mov dword [ebp + 8], eax
nop word [eax + eax]
movups xmm0, xmmword [ebx]
mov dword [0x71d42c], edi
movups xmmword [edi], xmm0
call fcn.00511ab0
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 0x511dc0
mov esi, ebx
add edi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x511da0
mov dword [0x71d4e0], esi
mov al, byte [ebp - 1]
pop esi
test al, al
je 0x511e00
movzx eax, al
push eax
push ebx
push edi
call fcn.0063d8a0
add esp, 0xc
mov dword [0x71d42c], edi
call fcn.00511ab0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x516e2c
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 0x516e4f
or esi, 1
push 2
call edi
test ax, ax
jns 0x516e5b
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x516e67
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x516e73
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x518328
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x70a034]
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 0x518375
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 0x5183d5
inc ebx
cmp ebx, dword [esi + 0x410]
jl 0x51834a
sub edi, 0x100
je 0x518445
sub edi, 4
je 0x5183d9
dec edi
sub edi, 1
jne 0x518430
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.0064b81d
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 0x51ca7b
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x518430
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 0x518432
cmp dword [esi + 0x108], 0
je 0x518430
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.00516e2c
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.006255fe
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x518430
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51849e
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x51849e
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x51849e
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063fcb4
pop ecx
pop ecx
test eax, eax
je 0x51849e
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x518430
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x5184e6
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x5184e6
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x5184e6
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063fcb4
pop ecx
pop ecx
test eax, eax
jne 0x518430
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0051b3bf
jmp 0x5183d5