joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a12c0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3ad8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x66c214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4a12fa
mov byte [esi + 0xc], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea edi, [esi + 8]
push edi
push 0x5f0bd0
push 1
push 0
push 0x5f0ca0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x4a13fd
cmp dword [edi], 0
je 0x4a13d7
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.004a1000
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x4a135b
mov ebx, dword [eax]
jmp 0x4a135d
xor ebx, ebx
mov ecx, dword [edi]
lea eax, [esi + 4]
push eax
push 0
push 0
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push ebx
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4a13d4
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4a13cd
test edi, edi
je 0x4a13cd
mov eax, dword [edi]
test eax, eax
je 0x4a13ab
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4a13c2
push eax
call fcn.00562e55
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.005d41c7
add esp, 8
mov dword [ebp - 0x10], 0
lea edi, [esi + 8]
test ebx, ebx
js 0x4a13fd
mov eax, dword [esi + 4]
test eax, eax
je 0x4a13f9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test ebx, ebx
jns 0x4a1433
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4a140a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4a1416
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [esi + 0xc], 0
je 0x4a1422
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 4], 0
mov dword [edi], 0
mov byte [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2e80
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 8
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a2efe
call esi
cmp eax, 0x3f0
jne 0x4a2edf
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4a2efe
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x4a2ee8
call esi
cmp eax, 0x7a
jne 0x4a2ee8
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.005638d0
mov ebx, esp
test ebx, ebx
je 0x4a2ee8
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4a2ee8
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x222
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4a2ee8
xor esi, esi
mov byte [ebp - 0xd], 0
cmp dword [ebx], esi
jbe 0x4a2f90
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4a2f8c
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x4a2f73
jmp 0x4a2f90
mov byte [ebp - 0xd], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00562e44
mov esp, ebp
pop ebp
ret
Function at 0x4a9970
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e51f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x66c214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0x5f26fc
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00439c10
lea eax, [ebp - 0x3c]
push eax
call fcn.0056522f
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00439cf0
mov dword [esi], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4ad2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x66c214]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x70], eax
call fcn.004ad150
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
push 0x63ee88
call fcn.00433660
push 0x104
mov dword [ebp - 4], 0
call fcn.00562e5a
mov edi, eax
mov dword [ebp - 0x6c], 0x104
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004ad4b0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
add esp, 0xc
lea edx, [ebp - 0x59]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push edx
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00439a00
mov ecx, dword [ebp + 0xc]
lea ebx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 1
cmovae ebx, dword [ebp - 0x58]
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0x68], ebx
cmp esi, 0x10
jb 0x4ad382
mov edx, dword [ecx]
jmp 0x4ad384
mov edx, ecx
mov eax, dword [ecx + 0x10]
add eax, edx
cmp esi, 0x10
jb 0x4ad390
mov ecx, dword [ecx]
lea edx, [ebp - 0x59]
push edx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.004ad030
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x60]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x64]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
mov byte [ebp - 4], 2
call ebx
test eax, eax
je 0x4ad3df
lea eax, [ebp - 0x60]
push eax
push 0x20219
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x4ad416
lea eax, [ebp - 0x6c]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ad416
cmp byte [edi], al
jne 0x4ad3fe
xor ecx, ecx
jmp 0x4ad40c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ad403
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x70]
push edi
call fcn.00433660
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00562e55
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x4ad43d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433900
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4ad466
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433900
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 0x10
jb 0x4ad48f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00430ec0
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.00562e44
mov esp, ebp
pop ebp
ret
Function at 0x4ad593
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ad5cc
cmp dword [ebp + 0x10], 0
je 0x4ad5cc
cmp dword [ebp + 0x14], 0
je 0x4ad5cc
cmp dword [ebp + 0x18], 0
je 0x4ad5cc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_domain_data_WHERE_domain___d_AND_subdomain___q_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.004b1114
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x4ad5d1
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ad601
cmp dword [ebp + 0x10], 0
je 0x4ad601
cmp dword [ebp + 0x14], 0
je 0x4ad601
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_key_FROM_domain_data_WHERE_domain___d_AND_subdomain___q
push dword [ebp + 0x14]
push dword [eax]
call fcn.004b0f3f
add esp, 0x14
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x4ad606
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ad62d
cmp dword [ebp + 0x10], 0
je 0x4ad62d
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.004b0f3f
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret
Function at 0x4b0b73
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x5e5b08
call fcn.00563ce8
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x30]
push eax
lea esi, [edi + 0x18]
push esi
call fcn.004b14f5
add esp, 0xc
test al, al
jne 0x4b0bb3
push 0xa
pop esi
jmp 0x4b0cfd
lea eax, [ebp - 0x28]
push eax
call fcn.004b145b
pop ecx
test al, al
jne 0x4b0be8
lea eax, [ebp - 0x28]
push eax
call fcn.004b15ef
pop ecx
test al, al
je 0x4b0bd7
xor esi, esi
inc esi
jmp 0x4b0cfd
push esi
call fcn.004b09db
mov esi, eax
pop ecx
test esi, esi
jne 0x4b0cfd
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
push dword [ebp + 8]
cmovae eax, dword [ebp - 0x28]
lea esi, [edi + 4]
push esi
push eax
call fcn.004c61e5
add esp, 0x10
test eax, eax
je 0x4b0c18
push eax
mov dword [esi], ebx
call fcn.004b0a55
pop ecx
mov esi, eax
jmp 0x4b0cfd
push 0x7d0
push dword [esi]
call fcn.004c4e43
cmp byte [edi + 0x4c], 0
mov esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x4b0cfd
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
sub eax, ebx
je 0x4b0c65
sub eax, 1
je 0x4b0c60
sub eax, 1
jne 0x4b0c65
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 1
push 3
jmp 0x4b0c67
xor ebx, ebx
inc ebx
jmp 0x4b0c68
push 2
pop ebx
push str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_version
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.004b1114
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b0cb0
push dword [ebp - 0x34]
call fcn.00586fbd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
mov dword [esp], str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_compatibility_version
push eax
push edi
call fcn.004b1114
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b0cb0
push dword [ebp - 0x34]
call fcn.00586fbd
pop ecx
jmp 0x4b0cb3
mov eax, dword [ebp - 0x30]
cmp ebx, eax
jge 0x4b0cbc
push 0xd
pop esi
jmp 0x4b0cf4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jg 0x4b0cf0
push eax
mov ecx, edi
call fcn.004b0d12
mov esi, eax
test esi, esi
jne 0x4b0ce5
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jle 0x4b0cca
jmp 0x4b0cfb
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp eax, dword [ebp - 0x2c]
cmove esi, ecx
test esi, esi
je 0x4b0cfb
mov ecx, edi
call fcn.004b0b45
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00430c30
mov eax, esi
call fcn.00563c92
ret 4

Function at 0x4b1230
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x5e5ef8
call fcn.00563ce8
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push 4
pop edi
push esi
push eax
call fcn.0050bab1
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.004b15ef
add esp, 0xc
test al, al
jne 0x4b1278
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00433460
mov eax, edi
call fcn.00563c92
ret
Function at 0x4b128b
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x5e5f28
call fcn.00563ce8
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x4b1330
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4b1320
cmp word [ebp - 0x218], 0
jne 0x4b12fe
xor eax, eax
jmp 0x4b130b
lea eax, [ebp - 0x218]
push eax
call fcn.0059368b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00433520
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x4b1370
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4b1370
cmp word [ebp - 0x218], di
jne 0x4b134e
mov eax, edi
jmp 0x4b135b
lea eax, [ebp - 0x218]
push eax
call fcn.0059368b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00433520
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4b13e6
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4b13a6
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.004b19b6
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0050bb69
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.004376e0
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.00430c30
mov edi, 0x5f67e4
push edi
call fcn.00593600
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00430c90
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00433460
mov al, bl
call fcn.00563c92
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0050bab1
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b143c
test al, 0x10
jbe 0x4b143c
mov bl, 1
jmp 0x4b143e
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00433460
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00562e44
mov esp, ebp
pop ebp
ret
Function at 0x4b15ef
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x66c214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0050bab1
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.00433460
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00562e44
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, 0x108
call fcn.005638a0
mov eax, dword [0x66c214]
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 0x4b2e0f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4b2e0f
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.0042db70
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00585fd7
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 + 0x104]
xor ecx, esp
call fcn.00562e44
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.0042db70
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00585fd7
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.004b2c30
test eax, eax
jle 0x4b2ea3
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x4b2eb7
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 + 0x104]
xor ecx, esp
call fcn.00562e44
add esp, 0x108
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 + 0x108]
pop esi
xor ecx, esp
call fcn.00562e44
add esp, 0x108
ret

Function at 0x4b7390
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
pop ebp
ret
Function at 0x4e7634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e7649
xor eax, eax
jmp 0x4e7728
push ebx
mov ebx, dword [ebp + 8]
push edi
push 8
push ebx
call fcn.004e3f1f
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
pop ecx
test edi, edi
je 0x4e7694
test byte [ebp + 0x10], 1
mov eax, dword [esi]
mov dword [edi], eax
jne 0x4e7678
xor eax, eax
inc eax
cmp dword [esi], eax
jle 0x4e7678
add eax, eax
cmp eax, dword [esi]
jl 0x4e7672
imul eax, eax, 0x18
push eax
push ebx
call fcn.004e3f1f
mov dword [edi + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x4e769b
push edi
push ebx
call fcn.004e3ec2
pop ecx
pop ecx
xor eax, eax
jmp 0x4e7726
and dword [ebp - 8], 0
cmp dword [esi], 0
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
jle 0x4e7724
lea edx, [eax + 0x10]
sub eax, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov dword [ebp - 0xc], eax
push 0
push dword [ebp + 0x10]
push dword [ecx]
push ebx
call fcn.004d18c3
mov ecx, dword [ebp + 0xc]
mov dword [edi + ecx], eax
push dword [ecx + 4]
push ebx
call fcn.004e4109
mov ecx, dword [ebp - 4]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.004e4109
mov edx, dword [ebp - 4]
add esp, 0x20
mov ecx, dword [ebp + 0xc]
mov dword [edx - 8], eax
mov al, byte [ecx + 0xc]
and dword [edx], 0xfffffffe
mov byte [edx - 4], al
mov eax, dword [ecx + 0x10]
xor eax, dword [edx]
and eax, 2
xor dword [edx], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [edx + 4], eax
add edx, 0x18
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi]
jl 0x4e76b7
mov edi, dword [ebp - 0x10]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x501f52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
test esi, esi
jle 0x501f7e
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
mov ecx, edi
shl ecx, 3
movzx edx, byte [eax + 0x608540]
xor edx, ecx
xor edi, edx
inc ebx
dec esi
test esi, esi
jg 0x501f64
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x55aa6b
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5e6318
call fcn.00563ce8
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x55ab6b
cmp byte [ebx + 0x3d], 0
je 0x55ab6b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x55aaa5
xor al, al
jmp 0x55ab6d
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00440a60
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x55ab03
sub eax, 1
je 0x55ab07
dec eax
sub eax, 1
je 0x55ab59
xor bl, bl
jmp 0x55ab5b
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x55ab3f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00592b15
add esp, 0x10
cmp esi, eax
jne 0x55aaff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x55ab59
test esi, esi
jne 0x55aac9
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0043c0d0
jmp 0x55aac3
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00430c30
mov al, bl
jmp 0x55ab6d
mov al, 1
call fcn.00563c92
ret

Function at 0x55cfdd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
push edi
call fcn.0055cf87
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x55d062
push 1
push esi
call fcn.0055cf87
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x55d065
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x55d037
mov edx, edi
mov dword [ebp - 4], ecx
sub edx, esi
mov edi, esi
mov eax, dword [edx + edi]
xor eax, dword [edi]
lea edi, [edi + 4]
or ebx, eax
sub ecx, 1
jne 0x55d01f
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x55d047
xor eax, eax
test ebx, ebx
sete al
jmp 0x55d07d
add edi, eax
add esi, eax
mov ecx, ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or bl, cl
jmp 0x55d065
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x55d078
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x55d06b
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret