joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.0044e2c0
mov dword [ebp - 8], eax
push 2
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44a343
mov dword [ebp - 8], 0
push 2
movzx edx, word [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44a34d
xor eax, eax
jmp 0x44a3b5
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x44a368
xor eax, eax
jmp 0x44a3b5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44a37f
xor eax, eax
jmp 0x44a3b5
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0044a2a0
add esp, 4
mov word [ebp - 4], ax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
movzx eax, word [ebp - 4]
cmp eax, 0x10
je 0x44a3a6
xor eax, eax
jmp 0x44a3b5
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0052a0c8
mov esp, ebp
pop ebp
ret
Function at 0x44bd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x751f00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x75cd5c], 0
je 0x44bd96
mov eax, dword [0x75cd58]
jmp 0x44bed8
mov dword [0x75cd5c], 1
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x44bed3
mov dword [ebp - 0x128], 0x104
mov dword [ebp - 0x120], 1
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x120]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x44bec6
mov edx, dword [str.Windows_Classic.theme]
mov dword [ebp - 0x140], edx
mov eax, dword [0x6c3424]
mov dword [ebp - 0x13c], eax
mov ecx, dword [0x6c3428]
mov dword [ebp - 0x138], ecx
mov edx, dword [0x6c342c]
mov dword [ebp - 0x134], edx
mov eax, dword [0x6c3430]
mov dword [ebp - 0x130], eax
mov cx, word [0x6c3434]
mov word [ebp - 0x12c], cx
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x144], eax
jl 0x44bec6
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x144]
sub ecx, eax
lea edx, [ebp + ecx - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x44bec6
mov dword [0x75cd58], 1
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x75cd58]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret
Function at 0x457940
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x4713e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aa488
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x751f00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x471420
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x47142c
mov al, 1
jmp 0x4715cf
mov dword [ebp - 0x10], 8
call fcn.0046e4a0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0046e4a0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0046e560
add esp, 8
movzx eax, al
test eax, eax
je 0x47146f
xor al, al
jmp 0x4715cf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0046fac0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00465ca0
mov ecx, eax
call fcn.004662a0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004590f0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00465ca0
mov ecx, eax
call fcn.004662a0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.004730e0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4714ea
cmp dword [ebp - 0x6c], 1
je 0x4714f1
cmp dword [ebp - 0x6c], 3
je 0x47158b
jmp 0x4715a3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00465ca0
mov ecx, eax
call fcn.004662a0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x471554
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00465ca0
mov ecx, eax
call fcn.004662a0
push eax
call fcn.005611ab
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x471554
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00457050
mov al, byte [ebp - 0x61]
jmp 0x4715cf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x471577
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00457050
mov al, byte [ebp - 0x62]
jmp 0x4715cf
cmp dword [ebp - 0x38], 0
jne 0x471589
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00459780
jmp 0x4715bb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00457050
mov al, byte [ebp - 0x63]
jmp 0x4715cf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00457050
mov al, byte [ebp - 0x64]
jmp 0x4715cf
jmp 0x471482
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret
Function at 0x475930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x811c9dc5
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x475962
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x1000193
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
xor ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x47593b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x477a90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 9], 0
cmp dword [ebp + 0x14], 0
jne 0x477abb
push 0
push 0
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00477900
test eax, eax
je 0x477ab7
jmp 0x477af3
mov byte [ebp - 9], 1
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00477b70
add esp, 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x477afc
mov dword [ebp + 0xc], 0xfffffffe
jmp 0x477b3c
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 0xe0]
call ecx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x10], 0
je 0x477ad9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x477ad9
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jl 0x477b57
mov dword [ebp + 0xc], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x477b52
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp + 0xc]
jmp 0x477b60
mov dword [ebp + 0xc], 0xffffffff
jmp 0x477b3c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47b630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x20]
sub eax, 0x65
neg eax
sbb eax, eax
and eax, 0xc0cf0000
add eax, 0x40000000
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
push edx
push 0
mov eax, dword [ebp + 0x1c]
push eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x71e845
push str.WrapperWindow
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
jne 0x47b693
xor al, al
jmp 0x47b736
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20]
push edx
push 0x3e8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push 0x71e845
push str.BrowserObject
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
jne 0x47b6da
xor al, al
jmp 0x47b736
mov ecx, dword [ebp - 0xc]
add ecx, 0xc
push ecx
mov ecx, 0x75cf40
call fcn.0047b8e0
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00477bb0
add esp, 8
mov dword [ebp - 4], eax
push 1
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x540750
Capabilities:
Check for software breakpoints

Disassembly:
invalid
sub ecx, edi
jl 0x5407c6
pushfd
call 0x12dbe66d
outsd dx, dword [esi]
jnp 0x540725
aas
invalid
fimul dword [edi]
int3

Function at 0x55e7fd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x751f00]
jne 0x55e807
repz ret
jmp fcn.0056e6a8

Function at 0x56b460
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x56b491
call fcn.0056b05b
mov dword [eax], esi
call fcn.0056b048
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00563df4
add esp, 0x14
push 0x16
pop eax
jmp 0x56b4e6
test dword [ebp + 0xc], 0xfffffff9
jne 0x56b46d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x56b4be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0056b06e
pop ecx
call fcn.0056b048
mov eax, dword [eax]
jmp 0x56b4e6
test al, 0x10
jne 0x56b4e4
test al, 1
je 0x56b4e4
test byte [ebp + 0xc], 2
je 0x56b4e4
call fcn.0056b05b
mov dword [eax], 5
call fcn.0056b048
mov dword [eax], 0xd
jmp 0x56b4b5
xor eax, eax
pop esi
pop ebp
ret
Function at 0x584406
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0056fa21
and dword [ebp - 4], 0
cmp dword [0x77bd8c], 0
mov ebx, eax
jne 0x5844b7
push 0x6db39c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x584568
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6db390
push edi
call esi
test eax, eax
je 0x584568
push eax
call fcn.0056f9af
mov dword [esp], 0x6db380
push edi
mov dword [0x77bd8c], eax
call esi
push eax
call fcn.0056f9af
mov dword [esp], 0x6db36c
push edi
mov dword [0x77bd90], eax
call esi
push eax
call fcn.0056f9af
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x77bd94], eax
call esi
push eax
call fcn.0056f9af
pop ecx
mov dword [0x77bd9c], eax
test eax, eax
je 0x5844b7
push 0x6db338
push edi
call esi
push eax
call fcn.0056f9af
pop ecx
mov dword [0x77bd98], eax
mov eax, dword [0x77bd98]
cmp eax, ebx
je 0x58450f
cmp dword [0x77bd9c], ebx
je 0x58450f
push eax
call fcn.0056fa2a
push dword [0x77bd9c]
mov esi, eax
call fcn.0056fa2a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x58450f
test edi, edi
je 0x58450f
call esi
test eax, eax
je 0x584506
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x584506
test byte [ebp - 0xc], 1
jne 0x58450f
or dword [ebp + 0x10], 0x200000
jmp 0x584548
mov eax, dword [0x77bd90]
cmp eax, ebx
je 0x584548
push eax
call fcn.0056fa2a
pop ecx
test eax, eax
je 0x584548
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x584548
mov eax, dword [0x77bd94]
cmp eax, ebx
je 0x584548
push eax
call fcn.0056fa2a
pop ecx
test eax, eax
je 0x584548
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x77bd8c]
call fcn.0056fa2a
pop ecx
test eax, eax
je 0x584568
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x58456a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x59b0c0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0055e5f0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x5a5680
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
push esi
lea esi, [ecx - 1]
je 0x5a569b
pop esi
mov dword [esp + 4], eax
jmp fcn.005a55e0
test ecx, ecx
jne 0x5a56a3
xor eax, eax
pop esi
ret
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.005a5550
shl esi, 5
add esp, 4
add eax, esi
pop esi
ret
Function at 0x5ae4b0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.0055e5f0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret

Function at 0x5afb30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.005679e0
mov eax, dword [0x751f00]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x5afb77
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.006923c5
add esp, 8
test eax, eax
jl 0x5afb60
mov eax, 8
call fcn.005679e0
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.0059ad00
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x5afb60
push 0x71f834
push esi
call fcn.00560fdf
mov edi, eax
add esp, 8
mov dword [esp + 0x40], edi
test edi, edi
je 0x5afc71
test dword [esp + 0x4e], 0x2000
je 0x5afbf4
cmp ebx, 0xffffffff
jne 0x5afbde
mov ebx, 0x800
push 0
push 4
push 0
push edi
call fcn.00566d25
add esp, 0x10
jmp 0x5afbf4
mov edi, dword [esp + 0x40]
test ebx, ebx
jle 0x5afc02
cmp ebx, 0x400
mov esi, ebx
jl 0x5afc07
mov esi, 0x400
push edi
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.00560efe
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x5afc55
fild dword [esp + 0x44]
mov eax, 8
call fcn.005679e0
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.0059ad00
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x5afbf0
sub ebx, esi
test ebx, ebx
jg 0x5afbf0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00560bc5
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.005bc4a0
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055e7fd
mov esp, ebp
pop ebp
ret

Function at 0x5b8510
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0055e5f0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x5b9630
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.005679e0
mov eax, dword [0x751f00]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x5b96b7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x5b96b7
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x100
push edx
call fcn.0056b24c
add esp, 0x10
test eax, eax
jge 0x5b968d
mov eax, 0x100
push 0
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055e7fd
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0xff
push edx
call fcn.0056b24c
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x5b9749
call fcn.005b94f0
test eax, eax
jle 0x5b9749
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x5b975d
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0055e7fd
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.0055e7fd
add esp, 0x108
ret

Function at 0x5b97c0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x5b97e8
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
sub edi, 1
jne 0x5b97d7
pop esi
pop ebx
movzx eax, cl
pop edi
ret
Function at 0x603730
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x603813
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
movzx edx, byte [esi]
jl 0x6037ae
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x6fef00]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x6fef00]
mov byte [ecx + 1], al
inc ecx
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x6fef00]
inc ecx
mov byte [ecx], al
inc ecx
and edx, 0x3f
mov dl, byte [edx + 0x6fef00]
mov byte [ecx], dl
jmp 0x603800
shl edx, 0x10
cmp edi, 2
jne 0x6037bf
movzx eax, byte [esi + 1]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x6fef00]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x6fef00]
inc ecx
mov byte [ecx], al
inc ecx
cmp edi, 1
jne 0x6037ed
lea edx, [edi + 0x3c]
jmp 0x6037fa
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x6fef00]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
sub edi, 3
inc ecx
add ebp, 4
add esi, 3
test edi, edi
jg 0x603750
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x6065a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.005679e0
mov eax, dword [0x751f00]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x9c]
test ebx, ebx
je 0x606615
cmp ebx, dword [esi]
je 0x60660c
test edi, edi
je 0x6065f2
cmp dword [esp + 0xa0], eax
jge 0x60660c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0055e7fd
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x60661b
mov ebx, dword [esi]
test ebx, ebx
je 0x6065f2
push ebp
test edi, edi
je 0x6066ed
push ebx
call fcn.005e3240
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x60664b
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.005b9780
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x6066a5
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.005d3040
add esp, 0xc
test eax, eax
je 0x60679a
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.005d31f0
add esp, 0xc
test eax, eax
je 0x60679a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.005d3200
add esp, 0xc
test eax, eax
je 0x60679a
jmp 0x6066ca
cmp eax, 0x80
ja 0x60679a
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.0055f610
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x6066f5
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.0055e5f0
add esp, 0xc
jmp 0x6066f5
test eax, eax
je 0x606786
xor eax, eax
jmp 0x606700
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x606700
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.005d3040
add esp, 0xc
test eax, eax
je 0x60679a
push ebx
call fcn.005e3240
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.005d31f0
add esp, 0x10
test eax, eax
je 0x60679a
xor eax, eax
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x606744
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.005d3040
add esp, 0xc
test eax, eax
je 0x60679a
push ebx
call fcn.005e3240
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.005d31f0
add esp, 0x10
test eax, eax
je 0x60679a
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.005d3390
add esp, 8
test eax, eax
jne 0x60679e
xor eax, eax
jmp 0x6067a3
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055e7fd
add esp, 0x88
ret