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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c240
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 0x47d350
push dword [esi + 0x1c]
call fcn.004a7ef0
add esp, 4
cmp eax, 0x64
jne 0x47d31f
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 0x47d33a
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 0x482e10
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 0x482e67
mov eax, dword [0x71cc58]
test eax, eax
je 0x482e40
push eax
call dword [0x70b408]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.00480090
mov eax, dword [0x71cc58]
test eax, eax
je 0x482e62
push eax
call dword [0x70b410]
mov esi, dword [ebp - 4]
jmp 0x482e71
mov esi, dword [ebp - 4]
jmp 0x482e74
push 0x14
call dword [0x70b3d8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x482e82
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 0x482ecc
mov eax, dword [0x70b4ac]
test eax, eax
je 0x482ea5
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x482ecc
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x482de0
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.00653d08
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x482ed9
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x482ef2
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 0x48dd50
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 0x48dd8e
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 0x48de12
movzx eax, word [ebx + 0x8c]
cdq
mov edi, eax
add edi, 0x28
mov ecx, edi
adc edx, 0
or ecx, edx
je 0x48ddc2
push edx
push edi
call fcn.00480180
mov esi, eax
add esp, 8
test esi, esi
je 0x48ddc4
push edi
push 0
push esi
call fcn.0063e100
add esp, 0xc
jmp 0x48ddc4
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test esi, esi
jne 0x48de02
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.00626290
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 0x4c0230
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 0x70e43c
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.004c57c0
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x4c026b
push edi
push 0x70e524
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.004c57c0
add esp, 0x10
pop edi
pop ebx
pop ebp
ret

Function at 0x4c5980
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 0x4c5a0a
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 0x4c59d8
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 0x4c5a42
test edx, edx
jne 0x4c5a54
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.00485170
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c5aa9
mov eax, dword [ebp - 4]
inc esi
mov edi, dword [ebp + 8]
cmp esi, dword [eax + 0x14]
jl 0x4c59a0
mov edx, 0x70efb0
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c5a5a
test ecx, ecx
jne 0x4c5a6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c5a6f
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c5aa7
mov eax, dword [ebp - 4]
mov ebx, 0x70ef9c
jmp 0x4c5993
movzx ecx, byte [ecx + 0x6cd730]
movzx edx, byte [edx + 0x6cd730]
sub edx, ecx
jne 0x4c59fe
inc eax
jmp 0x4c59c6
movzx eax, byte [eax + 0x6cd730]
movzx ecx, byte [ecx + 0x6cd730]
sub ecx, eax
jne 0x4c5aa7
inc ebx
jmp 0x4c5a11
test ecx, ecx
je 0x4c5aa7
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 0x4c5a92
test ecx, ecx
je 0x4c5a35
inc edx
jmp 0x4c5a80
movzx eax, byte [eax + 0x6cd730]
movzx ecx, byte [ecx + 0x6cd730]
sub ecx, eax
jne 0x4c5a31
inc edx
jmp 0x4c5a80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c5c70
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 0x4c5ce9
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 0x4c5cc6
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 0x4c5cf2
test edx, edx
jne 0x4c5d04
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.00485170
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4c5ce9
mov esi, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [esi + 0x14]
jl 0x4c5c90
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x6cd730]
movzx edx, byte [edx + 0x6cd730]
sub edx, ecx
jne 0x4c5cdd
inc eax
jmp 0x4c5cb4
Function at 0x4c91b0
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.00482ac0
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 0x4c928b
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x4c9259
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 0x4c92c7
test edx, edx
jne 0x4c92d9
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.00485170
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c9327
mov eax, dword [ebp - 0x20]
inc esi
mov edi, dword [ebp - 0x28]
cmp esi, dword [eax + 0x14]
jl 0x4c9217
mov edx, 0x70efb0
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c92df
test ecx, ecx
jne 0x4c92f1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c92f4
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c9345
mov eax, dword [ebp - 0x20]
mov ebx, 0x70ef9c
jmp 0x4c9210
movzx ecx, byte [ecx + 0x6cd730]
movzx edx, byte [edx + 0x6cd730]
sub edx, ecx
jne 0x4c927f
inc eax
jmp 0x4c9240
movzx eax, byte [eax + 0x6cd730]
movzx ecx, byte [ecx + 0x6cd730]
sub ecx, eax
jne 0x4c9345
inc ebx
jmp 0x4c9292
test ecx, ecx
je 0x4c9345
mov esi, ecx
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4c9312
test ecx, ecx
je 0x4c92ba
inc edx
jmp 0x4c9300
movzx eax, byte [eax + 0x6cd730]
movzx ecx, byte [ecx + 0x6cd730]
sub ecx, eax
jne 0x4c92b2
inc edx
jmp 0x4c9300
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.004c57c0
add esp, 0x18
jmp 0x4c9348
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x4c91f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00625325
mov esp, ebp
pop ebp
ret
Function at 0x5112a0
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 0x51139d
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 + 0x6d1198]
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 0x511344
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5113d0
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 0x5113e3
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511690
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 0x5116b5
sub ebx, 1
jne 0x5116b0
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 0x5116f0
inc ebx
sub dword [ebp - 4], 1
jne 0x5116e0
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.005113d0
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 0x511770
sub ebx, 1
jne 0x511767
sub dword [ebp - 8], 1
jne 0x5116d1
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 0x5117a0
inc esi
sub ebx, 1
jne 0x511790
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 0x511820
sub esi, 1
jne 0x511814
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511840
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 0x511865
sub ebx, 1
jne 0x511860
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 + 0x6d1098]
mov byte [ecx - 4], al
sub edx, 1
jne 0x5118f0
inc edi
sub ebx, 1
jne 0x5118e0
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 0x511920
sub ebx, 1
jne 0x511914
call fcn.00511480
mov dl, byte [ebp - 1]
sub dword [ebp - 8], 0x10
dec dl
mov byte [ebp - 1], dl
test dl, dl
jne 0x511880
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 + 0x6d1098]
mov byte [ecx - 4], al
sub edx, 1
jne 0x5119b0
inc edi
sub ebx, 1
jne 0x5119a0
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 0x5119e0
sub edi, 1
jne 0x5119d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x511a00
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 0x511a2a
mov dword [0x71d324], eax
call fcn.005112a0
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 0x511a8f
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 0x511a60
mov dword [0x71d42c], ebx
call fcn.00511690
mov edx, dword [ebp - 8]
mov edi, ebx
add edx, 0x10
add ebx, 0x10
mov dword [ebp - 8], edx
sub esi, 1
jne 0x511a50
mov dword [0x71d4e0], edi
mov al, byte [ebp - 1]
test al, al
je 0x511ad9
movzx esi, al
push esi
push edx
push ebx
call fcn.0063d600
mov eax, 0x10
sub eax, esi
push eax
lea eax, [esi + ebx]
push 0
push eax
call fcn.0063e100
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 0x511ac0
mov dword [0x71d42c], ebx
call fcn.00511690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x511ae0
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 0x511b03
mov dword [0x71d324], eax
call fcn.005112a0
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 0x511b6f
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.00511840
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 0x511b50
mov esi, ebx
add edi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x511b30
mov dword [0x71d4e0], esi
mov al, byte [ebp - 1]
pop esi
test al, al
je 0x511b90
movzx eax, al
push eax
push ebx
push edi
call fcn.0063d600
add esp, 0xc
mov dword [0x71d42c], edi
call fcn.00511840
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x516bb9
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 0x516bdc
or esi, 1
push 2
call edi
test ax, ax
jns 0x516be8
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x516bf4
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x516c00
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x5180b5
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 0x518102
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 0x518162
inc ebx
cmp ebx, dword [esi + 0x410]
jl 0x5180d7
sub edi, 0x100
je 0x5181d2
sub edi, 4
je 0x518166
dec edi
sub edi, 1
jne 0x5181bd
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.0064b4fc
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 0x51c808
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x5181bd
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 0x5181bf
cmp dword [esi + 0x108], 0
je 0x5181bd
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.00516bb9
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.00625325
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x5181bd
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x51822b
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x51822b
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x51822b
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063fa14
pop ecx
pop ecx
test eax, eax
je 0x51822b
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x5181bd
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x518273
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x518273
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x518273
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0063fa14
pop ecx
pop ecx
test eax, eax
jne 0x5181bd
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0051b14c
jmp 0x518162