joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a46b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 0x220], ecx
push edi
cmp esi, ebx
je 0x100a478c
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov ecx, dword [esi + 8]
sub ebx, eax
mov edi, dword [esi]
sub ecx, edi
mov dword [ebp - 0x21c], eax
cmp ebx, ecx
jbe 0x100a477b
cmp ebx, 0x7fffffff
ja 0x100a4845
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x100a4718
mov dword [ebp - 0x218], ebx
jmp 0x100a4726
lea eax, [edx + ecx]
cmp eax, ebx
cmovb eax, ebx
mov dword [ebp - 0x218], eax
test edi, edi
je 0x100a4766
cmp ecx, 0x1000
jb 0x100a4748
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100a484a
mov edi, edx
push ecx
push edi
call fcn.100bede4
mov dword [esi], 0
add esp, 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push dword [ebp - 0x218]
mov ecx, esi
call fcn.100b71d0
mov edi, dword [esi]
mov eax, dword [ebp - 0x21c]
push ebx
push eax
push edi
call fcn.100c22c0
lea eax, [ebx + edi]
add esp, 0xc
mov dword [esi + 4], eax
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x200
push ecx
push 0
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100a4804
xor edi, edi
cmp dword [ebp - 0x210], edi
jbe 0x100a4804
nop
mov cl, byte [ebp + edi - 0x20c]
mov eax, dword [esi + 4]
mov byte [ebp - 0x211], cl
cmp eax, dword [esi + 8]
je 0x100a47ec
mov byte [eax], cl
inc dword [esi + 4]
jmp 0x100a47fb
lea ecx, [ebp - 0x211]
push ecx
push eax
mov ecx, esi
call fcn.100b3b50
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x100a47d0
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100a4834
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a482a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a484a
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100b5910
call fcn.100cb7f0
int3
Function at 0x100a9f80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
sub esp, 0x18
mov ecx, esp
push 0x10101f08
call fcn.100b2820
lea ecx, [ebp - 0x4c]
call fcn.10084620
add esp, 0x18
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.10086a50
add esp, 4
lea ecx, [ebp - 0x1c]
mov edx, eax
call fcn.100b3450
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 0x10
jb 0x100a9ff8
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9fee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa0fd
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x100aa03e
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa0fd
push edx
push ecx
call fcn.100bede4
add esp, 8
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100aa07d
test al, 0x10
je 0x100aa07d
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b2820
sub esp, 0x18
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.100b2820
call fcn.100a8fc0
add esp, 0x30
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x100aa0ad
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa0a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa102
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x100aa0ef
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa0e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa102
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
call fcn.100cb7f0
int3
Function at 0x100b45b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x100b45e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100b45d0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x100dd1ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100dd024

Function at 0x402742
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x4062b4
cmp dword [edi], ebx
je 0x4027d3
push str._mozilla.org_observer_service_1
mov edx, 0x4066f4
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.0040471b
mov eax, dword [ebp - 4]
test eax, eax
je 0x4027b3
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change2
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.004047ca
mov eax, dword [ebp - 4]
test eax, eax
je 0x4027d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40280a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x40280a
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00403ce0
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.00404445
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x402826
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x402833
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x40283f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x40284f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x415cd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x415cf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415cf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415ce8
mov eax, 1
add ebx, ebx
jne 0x415d0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415d00
jne 0x415d1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415d00
xor ecx, ecx
sub eax, 3
jb 0x415d30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415da2
mov ebp, eax
add ebx, ebx
jne 0x415d3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415d6c
inc ecx
add ebx, ebx
jne 0x415d58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415d4d
jne 0x415d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415d4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415d8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415d7d
jmp 0x415cee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415d8c
add edi, ecx
jmp 0x415cee
pop esi
mov edi, esi
mov ecx, 0x458
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415daa
cmp byte [edi], 0
jne 0x415daa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x415daf
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415e1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16fe8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17070]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415ddc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17078]
or eax, eax
je 0x415e18
mov dword [ebx], eax
add ebx, 4
jmp 0x415df9
call dword [esi + 0x17074]
mov ebp, dword [esi + 0x1707c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x415e52
sub esp, 0xffffff80
jmp 0x409c40
Function at 0xc52a5b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0xd167b0
jne 0xc8c41c
mov ecx, dword [0xd1681c]
cmp ecx, 0xffffffff
je 0xc52af4
mov eax, dword [0xd16810]
xor edx, edx
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0xc52a9f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0xc8c433
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0xc8c475
je 0xc52ac7
test edi, edi
je 0xc52b15
cmp edi, 1
je 0xc52ac7
cmp edi, 2
je 0xc52b0c
cmp edi, 3
je 0xc52b03
jle 0xc52aeb
cmp edi, 5
jg 0xc52af8
cmp byte [esi + 0x38], 0
jne 0xc52b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0xc52ae7
cmp edi, 4
je 0xc52ae7
push dword [ebp + 0xc]
call fcn.00c54a35
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0xc52aef
cmp edi, 6
je 0xc8c45d
jmp 0xc52aeb
mov byte [esi + 0x38], 1
jmp 0xc8c4ca
mov byte [esi + 0x38], 1
jmp 0xc8c45d
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0xc52aeb
xor eax, eax
jmp 0xc52aee

Function at 0xc535b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0xc5362f
mov esi, dword [ebp + 0x10]
test esi, esi
je 0xc5362f
xor eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xc5362f
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xc53614
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0xc53626
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0xc53612
xor al, al
jmp 0xc53620
Function at 0xc53b4c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00c81b90
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00c577c7
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00c53778
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0xc8d4ad
mov eax, dword [0xd162e0]
test eax, eax
je 0xc53c97
xor edi, edi
mov esi, 0xd17290
inc edi
cmp eax, edi
je 0xc8d4c7
lea eax, [ebp - 6]
push eax
push ecx
push 0xd162e0
push 0xd162f8
mov ecx, esi
call fcn.00c573e5
test al, al
je 0xc53ca0
mov al, byte [0xd17290]
mov byte [0xd162e4], al
mov al, byte [0xd17291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0xd162f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0xd162d0
call fcn.00c57d2c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0xd162e0]
push 0xd162f8
call fcn.00c60a8d
test eax, eax
jne 0xc8d4e6
cmp byte [ebp - 5], 1
je 0xc8d505
call fcn.00c53a58
call fcn.00c539e7
cmp byte [0xd162e4], 0
jne 0xc53c55
mov ecx, 0xd16890
call fcn.00c543db
push edi
mov ecx, 0xd16310
call fcn.00c60b30
cmp byte [0xd162e4], 0
jne 0xc53c73
mov ecx, 0xd16890
call fcn.00c544cb
mov ecx, esi
call fcn.00c5743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00c55a64
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0xd1627c], 0xffffffff
jmp 0xc53c7a
mov dword [0xd1627c], edi
jmp 0xc53c7a
push 0x10
push 0xd093f0
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0xc53c87
push 0xffffffffffffffff
push dword [0xd162e8]
mov ecx, esi
push edi
call fcn.00c57373
mov al, byte [0xd16284]
mov byte [0xd17292], al
jmp 0xc53c16
mov ecx, esi
call fcn.00c5743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0xd1627c], edi
jmp 0xc53c87
call fcn.00cb4c03
test al, al
jne 0xc53c38
cmp byte [ebp - 7], al
jne 0xc53c38
lea ecx, [ebp - 0x2c]
call fcn.00c54864
push 0xd05d40
lea ecx, [ebp - 0x1c]
call fcn.00c57f41
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0xc8d55f
mov edi, 0xd09424
push edi
call fcn.00c57e0b
push 0xd162f8
lea ecx, [ebp - 0x1c]
call fcn.00c57c8e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00c57e0b
push 1
jmp 0xc8d568
push dword [ebp + 8]
call fcn.00c57e0b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0xd09428
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00c55a64
jmp 0xc53c73
Function at 0xc54a35
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0xc8da81
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0xc8da96
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0xc8daaa
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0xc8db85
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0xc8db61
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0xc8db66
push 4
jmp 0xc8db63
push 3
pop ebx
jmp 0xc8db69
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0xc8db88
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0xc54a53
Function at 0xc54fe9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0xc55021
push edi
push 0
push 0xcdfaf0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0xc8dd5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0xc55020
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0xc55020
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0xc55020
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0xc55020

Function at 0xc5506b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0xc8ddf6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00c75812
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0xc55091
Function at 0xc55d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0xc55d93
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0xc55d56
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0xc55d66
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
cmp edi, ebx
jb 0xc55d37
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xc55d56
mov eax, dword [ebp + 0xc]
test eax, eax
je 0xc55d56
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0xc55d3f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00c55dae
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0xc55d2e
Function at 0xc65e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0xc65e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0xc65e72
pop edi
pop esi
pop ebp
ret 4

Function at 0xc7023b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
mov dword [ebp - 4], edx
push esi
inc ebx
mov dword [ebp - 0x10], edx
push edi
cmp dword [eax + 4], edx
je 0xca5d4d
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
mov edi, edx
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov byte [ecx], dl
mov dword [ebp - 8], 0x23
push edi
mov ecx, esi
call fcn.00c57b20
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0xca5d54
cmp ax, cx
je 0xca5d54
cmp ax, dx
je 0xca5d54
cmp ax, word [ebp - 8]
je 0xca5d54
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.00c57b20
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0xca5dcf
push 0x40
lea ecx, [ebp - 0x20]
call fcn.00c57b76
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00c70352
test al, al
je 0xc7034e
push dword [ebp - 0x20]
push dword [esi*4 + 0xcf4cf0]
call fcn.00c7313d
pop ecx
pop ecx
test eax, eax
je 0xc7031a
inc esi
cmp esi, 0x63
jl 0xc702ff
cmp esi, 0x63
je 0xca5d86
cmp byte [esi + 0xcf4c88], 0
jne 0xc7034e
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.00c55a64
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0xc70335
lea ecx, [ebp - 0x20]
call fcn.00c55a64
xor al, al
jmp 0xc70345
cmp ax, word [ebp - 0xc]
jne 0xca5d5f
mov eax, dword [ebp + 0x10]
jmp 0xca5d7e
cmp ax, cx
jne 0xca5d69
mov eax, dword [ebp + 0x14]
jmp 0xca5d7e
cmp ax, dx
jne 0xca5d73
mov eax, dword [ebp + 0x18]
jmp 0xca5d7e
push 0x23
pop ecx
cmp ax, cx
jne 0xca5d80
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0xc70287
push 0
lea ecx, [ebp - 0x20]
call fcn.00c57b52
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0xca5d45
test eax, 0x200
je 0xca5dae
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0xca5dba
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0xc70335
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0xc70335
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0xca5d4d
test eax, 0x200
je 0xca5dee
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0xca5dfa
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0xc7033d
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0xc7033d