joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c151
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x53c1bb
cmp dword [ebp + 8], 0x100
jne 0x53c1aa
cmp word [ebp + 0xc], 0xd
jne 0x53c1aa
cmp byte [esi + 0x6a2], 0
je 0x53c191
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x53c1aa
cmp byte [esi + 0x6a3], 0
jne 0x53c1aa
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x53c1a6
push edi
push edi
push edi
push str.return
push esi
call fcn.0051b761
xor eax, eax
jmp 0x53c1be
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x53e9fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
push edi
shr edx, 0x10
mov edi, ecx
push 0x3c
pop esi
test dx, dx
je 0x53ea46
cmp word [eax], si
je 0x53ea46
call fcn.0045568e
push 1
push dword [ebp + 8]
lea ecx, [eax + 0x1c]
call fcn.00516d48
test eax, eax
jne 0x53ea39
xor ecx, ecx
jmp 0x53ea3b
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x53ea77
cmp word [eax], si
jne 0x53ea6c
push eax
mov ecx, edi
call fcn.00537f2d
test al, al
jne 0x53eaf3
xor eax, eax
jmp 0x53eb03
push ecx
push eax
mov ecx, edi
call fcn.00538027
jmp 0x53ea5d
mov esi, dword [edi + 0x148]
test esi, esi
jne 0x53ea90
mov esi, dword [0x71dd3c]
test esi, esi
cmove esi, dword [0x71dd30]
push dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x53ea65
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x53eaba
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x53ea65
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push esi
mov dword [edi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.00537f8a
test al, al
je 0x53ea65
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x144], eax
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0053eb0c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5471af
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x94
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
and dword [eax + 0x598], 0
cmp dword [ebx + 4], 0
jne 0x547227
lea eax, [ebp - 0x10]
push eax
call fcn.005472a7
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x10]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000000
push ecx
push dword [eax + 0xa8]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0051ec89
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x558]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0051c37f
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x94]
mov eax, dword [eax]
movzx esi, word [eax]
call fcn.0041b542
mov edi, 0x588
test si, si
jne 0x54725c
mov eax, dword [ebx + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebx + 0x10]
add eax, edi
push 0x10
push eax
lea eax, [ebx + 0x1a]
push eax
call fcn.0063d9e0
mov eax, dword [ebx + 0x10]
add esp, 0xc
add eax, edi
push eax
push 0
push 0x1002
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x547e83
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x70b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x547f03
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00626730
mov ebx, esp
test ebx, ebx
je 0x547f03
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.005166f1
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0051b761
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp byte [eax + 0x16d], 0
je 0x547f03
mov ecx, dword [esi + 0x10]
call fcn.00513ff6
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00625788
mov esp, ebp
pop ebp
ret

Function at 0x54b2a9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x6d0], edx
mov dword [ebx + 0x6d4], esi
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x6d8], 6
test edx, edx
jne 0x54b2ea
call fcn.0054d885
lea eax, [ebx + 0x10]
push eax
call fcn.0054d885
mov ecx, eax
call fcn.0054d7bc
mov ecx, dword [ebx + 0x6d0]
test ecx, ecx
jne 0x54b30b
mov eax, dword [0xa8]
jmp 0x54b316
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [eax + 0xa8]
sub esp, 0x10
mov dword [ebp - 8], esi
mov edi, esp
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x14]
push ecx
movsd dword es:[edi], dword [esi]
push 0x88
push closesocket
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0051ec89
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x54b352
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x54b34d
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x54d721
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.2.virtual_312
Function at 0x554f71
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xa0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x555077
lea eax, [ebp - 0x14]
push eax
call fcn.00555080
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
push dword [eax + 0xa8]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0051ec89
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x555077
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x558]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0051c37f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push 0
movzx ecx, byte [eax + 0x7a6]
movzx eax, byte [eax + 0x7a4]
shl ecx, 8
or ecx, eax
push ecx
push 0x401
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x9c]
mov ecx, ebx
push eax
call fcn.00555545
mov ecx, dword [ebx + 0x10]
push 0xffffffffffffffff
add ecx, 0x1c8
push dword [eax]
call fcn.0051658a
lea ecx, [ebp - 0x9c]
call fcn.0041b542
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x55549d
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x70b034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x5554e5
cmp esi, 0x28
jbe 0x5554df
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x5554e5
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.005164ac
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00625788
mov esp, ebp
pop ebp
ret 0xc
Function at 0x559e10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x559e20
sub ecx, edx
mov esi, 0x811c9dc5
mov edx, 0
je 0x559e46
movzx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x559e35
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.00653df9
imul ecx, eax, 0xb14
add esp, 8
imul edx, edx, 0x41a7
pop edi
pop esi
sub edx, ecx
lea eax, [edx + 0x7fffffff]
js 0x559e74
mov eax, edx
pop ebp
ret 4
Function at 0x57b8f0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b0a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x57b93f
mov eax, dword [esi]
jmp 0x57b941
mov eax, esi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov byte [eax], 0
call fcn.0042972f
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042972f
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x57e330
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov edx, dword [ebx + 8]
cmp esi, dword [edx]
jne 0x57e363
cmp eax, edx
jne 0x57e363
call fcn.0057dbf0
mov eax, dword [ebx + 8]
pop esi
pop ebx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, eax
je 0x57e439
push edi
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x57e380
sub eax, edx
mov edi, 0x811c9dc5
mov edx, 0
je 0x57e3ac
mov ebx, dword [esi + 8]
movzx ecx, byte [edx + ebx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x57e398
mov ebx, dword [ebp - 4]
push 0x1f31d
and edi, 0x7fffffff
push edi
call fcn.00653df9
imul ecx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
sub ecx, eax
jns 0x57e3d6
add ecx, 0x7fffffff
mov eax, dword [ebx + 0x1c]
and eax, ecx
mov ecx, dword [ebx + 0x10]
lea edx, [eax*8]
add ecx, edx
cmp dword [ecx + 4], esi
jne 0x57e409
cmp dword [ecx], esi
jne 0x57e401
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [edx + ecx + 4], eax
jmp 0x57e411
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x57e411
cmp dword [ecx], esi
jne 0x57e411
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push esi
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0xc]
call fcn.0047fe90
mov esi, dword [ebp + 0xc]
add esp, 4
cmp esi, dword [ebp + 0x10]
jne 0x57e370
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5806f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b77a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x70b034]
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 edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], eax
cmp byte [edi + 9], bl
je 0x580761
push 0x8a
push 0x68b784
push 3
lea ecx, [ebp - 0x34]
call fcn.00556d70
mov dword [ebp - 4], ebx
mov ecx, eax
mov ebx, 1
push 0x68b7b0
mov dword [ebp - 0x3c], ebx
call fcn.00556e10
push eax
lea ecx, [ebp - 0x35]
call fcn.005572a0
test bl, 1
je 0x58076e
lea ecx, [ebp - 0x34]
call fcn.00556db0
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp - 0x40]
push dword [edi + 4]
call fcn.0065c06f
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x58079a
call fcn.00641dc4
cmp dword [eax], 4
je 0x580771
call fcn.00641dc4
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov eax, esi
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.00625788
mov esp, ebp
pop ebp
ret 8

Function at 0x593b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d335
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::FileDescriptorProto.0
call fcn.00566720
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
mov dword [esi + 8], 0x71a2f0
mov dword [esi + 0xc], 0x71a2f0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x595dc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d646
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::DescriptorProto.0
call fcn.00566720
mov dword [esi + 0xc], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x60], 0
mov dword [esi + 8], 0x71a2f0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5a1900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67ebed
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.00566720
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [esi + 0xc], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x18], 0x71a2f0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
movsd qword [esi + 0x30], xmm0
mov dword [esi + 0x38], 0x71a2f0
mov dword [esi + 0x3c], 0x71a2f0
mov dword [esi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5a2b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67ed67
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70b034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::SourceCodeInfo_Location.0
call fcn.00566720
mov dword [esi + 8], 0
mov eax, esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0x71a2f0
mov dword [esi + 0x2c], 0x71a2f0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5b5d00
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b5d10

Function at 0x5b5f90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5b5f9c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.005b5fb0

Function at 0x5bb6c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x5bb6e7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x5bb6d6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x5bb970
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x10c
call fcn.006265a0
mov eax, dword [0x70b034]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x5bba0f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x5bba0f
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00421b77
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00646caa
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00625788
add esp, 0x10c
ret
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00421b77
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00646caa
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.005bb830
test eax, eax
jle 0x5bbaa3
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x5bbab7
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00625788
add esp, 0x10c
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.00625788
add esp, 0x10c
ret
Function at 0x5cac60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x5cad29
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x5cac81
cmp al, 0x6b
jne 0x5cad29
inc ecx
cmp al, 0x6b
jne 0x5caceb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5caca2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5caca2
cmp dl, 0xbb
jne 0x5caccb
inc eax
cmp eax, esi
jl 0x5cac90
sub esi, eax
test eax, eax
jne 0x5cacee
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.005ba8e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.005ba8e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5cad17
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.005ba8e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.0063d9e0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.005ba8e0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x5d68a0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.005d6990
mov edi, eax
add esp, 8
test edi, edi
jne 0x5d6946
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.005ba8e0
push 0x6b15d8
push esi
push 0x6d3428
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.005ba0d0
add esp, 0x2c
call fcn.00641dc4
cmp dword [eax], 2
je 0x5d6926
call fcn.00641dc4
cmp dword [eax], 6
je 0x5d6926
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.005ba8e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.005ba8e0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x70a514
call fcn.005b90d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x5d6967
push edi
call fcn.00650dfc
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.005b8d10
push edi
push 1
push 0x6a
push esi
call fcn.005b8d40
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret