joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54b560
Capabilities:
Get socket status

Disassembly:
sub esp, 0x318
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
mov ebx, dword [esp + 0x324]
mov eax, 0x10624dd3
imul ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 4], eax
imul eax, eax, 0x3e8
mov edx, ebx
sub edx, eax
imul edx, edx, 0x3e8
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x11c], ebp
mov dword [esp + 0x220], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x32c], ecx
jbe 0x54b6ac
nop
movzx ebx, word [esi + ecx*8 + 4]
test ebx, 0x300
je 0x54b616
xor eax, eax
test ebp, ebp
je 0x54b5f4
mov edx, dword [esi + ecx*8]
cmp dword [esp + eax*4 + 0x120], edx
je 0x54b5f4
inc eax
cmp eax, ebp
jb 0x54b5e6
cmp eax, ebp
jne 0x54b616
cmp ebp, 0x40
jae 0x54b616
mov edx, dword [esi + ecx*8]
mov dword [esp + eax*4 + 0x120], edx
mov ebp, dword [esp + 0x11c]
inc ebp
mov dword [esp + 0x11c], ebp
test bl, 0x10
je 0x54b654
xor eax, eax
test edi, edi
je 0x54b632
mov edx, dword [esi + ecx*8]
cmp dword [esp + eax*4 + 0x224], edx
je 0x54b632
inc eax
cmp eax, edi
jb 0x54b624
cmp eax, edi
jne 0x54b654
cmp edi, 0x40
jae 0x54b654
mov edx, dword [esi + ecx*8]
mov dword [esp + eax*4 + 0x224], edx
mov edi, dword [esp + 0x220]
inc edi
mov dword [esp + 0x220], edi
test bl, 1
je 0x54b689
xor eax, eax
cmp dword [esp + 0x18], eax
jbe 0x54b671
mov edx, dword [esi + ecx*8]
cmp dword [esp + eax*4 + 0x1c], edx
je 0x54b671
inc eax
cmp eax, dword [esp + 0x18]
jb 0x54b664
mov edx, dword [esp + 0x18]
cmp eax, edx
jne 0x54b689
cmp edx, 0x40
jae 0x54b689
mov edx, dword [esi + ecx*8]
mov dword [esp + eax*4 + 0x1c], edx
inc dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x32c]
jb 0x54b5d0
test ebp, ebp
jne 0x54b6ba
test edi, edi
jne 0x54b6ba
cmp dword [esp + 0x18], edi
jne 0x54b6ba
mov ebx, dword [esp + 0x330]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x54b749
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x128]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test ebx, ebx
jle 0x54b749
mov edi, dword [esp + 0x32c]
add esi, 6
lea esp, [esp]
mov eax, dword [esi - 6]
lea edx, [esp + 0x11c]
push edx
xor ecx, ecx
push eax
mov word [esi], cx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x54b712
mov ecx, 0x300
or word [esi], cx
mov eax, dword [esi - 6]
lea edx, [esp + 0x220]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x54b72b
or word [esi], 0x10
mov edx, dword [esi - 6]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x54b741
or word [esi], 1
add esi, 8
dec edi
jne 0x54b6f0
mov eax, ebx
mov ecx, dword [esp + 0x324]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004fbd5c
add esp, 0x318
ret
Function at 0x54cae0
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
lea ebx, [eax + 4]
push esi
push edi
test ebx, ebx
je 0x54cb37
mov ebp, dword [esp + 0x18]
lea esi, [ebp + 4]
test esi, esi
je 0x54cb37
cmp byte [eax + 0x48], 0
je 0x54cb37
mov edi, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push ebx
call edi
test eax, eax
setne al
test al, al
je 0x54cb37
cmp byte [ebp + 0x48], 0
je 0x54cb37
push esi
call edi
test eax, eax
setne al
test al, al
je 0x54cb37
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x593066
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x30], esi
mov dword [esi], vtable.ATL::CSecurityDesc.0
mov dword [esi + 4], ebx
mov dword [esi + 0x14], vtable.ATL::CSecurityDesc.0
mov dword [esi + 0x18], ebx
mov dword [esp + 0xa0], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], vtable.ATL::CDacl.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xa4], 2
call fcn.00406a80
add esp, 4
mov edi, dword [esp + 0xa8]
push ebx
push edi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 3
call fcn.004078f0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 2
call fcn.00406990
lea ecx, [esp + 0x34]
push ecx
call fcn.00406a50
add esp, 4
push ebx
push edi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 4
call fcn.004078f0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 2
call fcn.00406990
lea edx, [esp + 0x34]
push edx
call fcn.00406a20
add esp, 4
mov ecx, dword [esp + 0xac]
push ebx
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 5
call fcn.004078f0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 2
call fcn.00406990
push ebx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004058d0
lea edi, [esi + 0x14]
cmp edi, esi
je 0x54dc95
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x54dc95
push eax
mov ecx, edi
call fcn.004052d0
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x10]
mov dword [esi + 8], 0xc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
call fcn.00407c00
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x94
ret 8
Function at 0x54eb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59339f
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x84], ebx
je 0x54ebef
mov dword [esi + 4], 0x5d674c
mov dword [esi + 0xc], 0x5d6744
mov dword [esi + 0x18], vtable.FNPNS::UTC::CSyncObj.0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x14], 1
mov eax, dword [esi + 4]
mov dword [esi], vtable.FNPNS::UTC::CSyncObjWithTryLock.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.FNPNS::UTC::CSyncObjWithTryLock.0
mov edx, dword [esi + 0xc]
mov dword [esi + 8], vtable.FNPNS::UTC::CSyncObjWithTimedLock.1.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 0xc], vtable.FNPNS::UTC::CSyncObjWithTimedLock.0
mov ecx, dword [esi + 4]
mov dword [esi], vtable.FNPNS::UTC::CMutexObj.2.0
mov dword [esi + 8], vtable.FNPNS::UTC::CMutexObj.1.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], vtable.FNPNS::UTC::CMutexObj.0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x14]
push 4
mov dword [eax + esi], ecx
call fcn.0040cfdf
mov dword [esi + 0x10], eax
mov dword [esp + 0x7c], 1
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [esp + 0x20]
push edx
push edi
mov byte [esp + 0x84], 2
xor ebp, ebp
call fcn.0054f660
add esp, 0xc
lea esp, [esp]
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x54ec8f
lea eax, [esp + 0x1c]
mov edi, dword [esi + 0x10]
push eax
push ebx
call fcn.0054e960
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi], eax
mov edi, dword [esi + 0x10]
cmp dword [edi], ebx
jne 0x54ecd6
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x54ecb8
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
cmp dword [eax], ebx
jne 0x54ecd6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x10]
cmp dword [ecx], ebx
jne 0x54ed06
inc ebp
cmp ebp, 0x64
jb 0x54ec80
cmp dword [ecx], ebx
jne 0x54ed06
push 0x5ac14c
push 0x56
lea ecx, [esp + 0x40]
call fcn.0056b030
push 0x618354
lea eax, [esp + 0x3c]
push eax
call fcn.004fc4f1
cmp dword [esp + 0x30], 0x10
jb 0x54ed1a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040d019
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x68
ret 8
Function at 0x54f790
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x54f7ce
push edi
call fcn.0054f6d0
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
xor ecx, ecx
test esi, esi
je 0x54f7cb
mov edx, dword [esp + 0xc]
push ebx
push ebp
movzx ebx, byte [ecx + edx]
movzx ebp, al
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x643048]
inc ecx
cmp ecx, esi
jb 0x54f7b1
pop ebp
pop ebx
mov dword [edi], eax
pop edi
pop esi
ret

Function at 0x556f90
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0xffffffffffffffff
push 0x593bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
test byte [0x643450], 1
mov esi, dword [esp + 0x64]
jne 0x556ffa
or dword [0x643450], 1
mov ecx, 0x64344c
mov dword [esp + 0x5c], 0
call fcn.00556e60
push 0x598680
call fcn.004fbe8e
add esp, 4
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x68]
mov ecx, dword [0x64344c]
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x557056
push 0xe
push 0x5d7c8c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
call fcn.00403cc0
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 1
call fcn.00556c80
push 0x61d3a0
lea eax, [esp + 0x28]
push eax
call fcn.004fc4f1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x58
ret 8
Function at 0x5578d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x593ce6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x34]
push 1
mov ecx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.005586e0
push 0x40
mov dword [edi + 0x10], 0x40
call fcn.0040d00e
mov dword [edi + 0x14], eax
push 0x14
mov dword [esp + 0x30], 2
mov dword [edi + 0x1c], 0x14
call fcn.0040d00e
mov dword [edi + 0x20], eax
add esp, 8
mov dword [edi], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::MDC_class_CryptoPP::SHA1_::Enc_.1.0
mov dword [edi + 4], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::MDC_class_CryptoPP::SHA1_::Enc_.0
push 1
mov ecx, esi
mov dword [esp + 0x2c], 5
call fcn.005586e0
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi], 0x5d7e54
mov dword [esi + 4], 0x5d7e1c
mov dword [esi + 0x18], 0x5d7df4
mov dword [esi + 8], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
mov byte [esp + 0x28], 0xb
call edx
push eax
lea ecx, [esi + 0xc]
call fcn.00550770
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esi + 0x1c]
call fcn.00550770
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x18
ret
Function at 0x558a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x593e90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
mov esi, ecx
push 0x24
xor ebx, ebx
mov ebp, 0xf
push str.AlgorithmParametersBase:_parameter__
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403cc0
push edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x84], ebx
call fcn.00551080
push str.__not_used
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x90], 1
call fcn.00551080
add esp, 0x18
mov edi, eax
mov ecx, esi
mov byte [esp + 0x78], 2
call fcn.004fc36a
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 6
push ebx
mov dword [ecx + 0x14], ebp
mov dword [ecx + 0x10], ebx
push edi
mov byte [esp + 0x84], 3
mov byte [ecx], bl
call fcn.00403bd0
mov edi, 0x10
cmp dword [esp + 0x48], edi
jb 0x558b23
mov eax, dword [esp + 0x34]
push eax
call fcn.0040d019
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x64], edi
jb 0x558b42
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0040d019
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x2c], edi
jb 0x558b61
mov edx, dword [esp + 0x18]
push edx
call fcn.0040d019
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::AlgorithmParametersBase::ParameterNotUsed.0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x68
ret 4
Function at 0x55a3b0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 0x88]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add ecx, 8
mov edi, 8
mov edi, edi
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5d95c8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d97c8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d99c8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d9bc8]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5d96c8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d98c8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d9ac8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d9cc8]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5d95c8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d97c8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d99c8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d9bc8]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5d96c8]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d98c8]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d9ac8]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d9cc8]
xor esi, ebx
dec edi
jne 0x55a3d0
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x55ca40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
sub eax, ebp
push edi
mov dword [esp + 0x20], 0xf5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
jmp 0x55ca74
mov edi, dword [esp + 0x10]
mov ebx, 3
sub ebx, edi
add ebx, ebx
add ebx, ebx
xor esi, esi
add ebx, ebx
lea edi, [edi + 0x5d8940]
lea esp, [esp]
movzx eax, byte [edi]
mov edx, dword [esp + 0x1c]
mov ecx, 3
sub ecx, esi
add ecx, ecx
push eax
mov eax, dword [edx + ebp]
add ecx, ecx
add ecx, ecx
shr eax, cl
lea ecx, [esp + 0x24]
push eax
call fcn.005642b0
movzx edx, al
mov ecx, ebx
shl edx, cl
inc esi
add edi, 4
xor dword [esp + 0x14], edx
cmp esi, 4
jl 0x55ca90
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x55ca70
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
add ebp, 4
dec dword [esp + 0x18]
jne 0x55ca61
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x561330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5943e3
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x18], esi
call fcn.005586e0
mov eax, dword [esp + 0x80]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], bl
mov dword [esp + 0x6c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov ebp, 1
mov byte [esp + 0x6c], 3
cmp dword [esi + 0x1c], ebp
jb 0x5613fd
mov ebp, dword [esi + 0x18]
push ebp
lea ecx, [esi + 0x28]
call fcn.00550770
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ecx
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x5c
ret 0x10
push 0x2c
mov esi, 0xf
push str.FilterWithBufferedInput:_invalid_buffer_size
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00403cc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.004fc36a
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
mov dword [esp + 0x24], vtable.CryptoPP::Exception.0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00403bd0
push 0x618640
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x74], 4
mov dword [esp + 0x20], vtable.CryptoPP::InvalidArgument.0
call fcn.004fc4f1
int3

Function at 0x562180
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, edx
or ecx, ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
or ecx, eax
or ecx, edi
test cl, 3
jne 0x5621c3
shr edi, 2
mov esi, edi
test esi, esi
je 0x5621dd
mov ecx, ebp
sub ecx, eax
sub edx, eax
nop
mov edi, dword [ecx + eax]
xor edi, dword [eax]
add eax, 4
dec esi
mov dword [edx + eax - 4], edi
jne 0x5621b0
pop edi
pop esi
pop ebp
ret
test edi, edi
je 0x5621dd
mov ecx, ebp
mov esi, edx
sub ecx, eax
sub esi, eax
nop
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
dec edi
mov byte [eax + esi - 1], dl
jne 0x5621d0
pop edi
pop esi
pop ebp
ret
Function at 0x568dc0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x594a60
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
cmp eax, 1
jne 0x568e1b
test edi, edi
je 0x568e14
mov dword [edi], 0
call fcn.0056a210
mov dword [edi + 4], eax
xor al, al
jmp 0x568f1a
cmp eax, 3
je 0x568ea4
cmp eax, 0xb
je 0x568ea4
push 0x19
push str.boost::filesystem::remove
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00403cc0
cmp dword [esi + 0x14], 8
mov dword [esp + 0x54], 1
jb 0x568e60
mov eax, dword [esi]
jmp 0x568e62
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
lea ecx, [esp + 0x10]
push ecx
sete dl
push edi
movzx eax, dl
push esi
push eax
call fcn.00568c80
add esp, 0x10
cmp dword [esp + 0x24], 0x10
mov bl, al
jb 0x568e9c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0040d019
add esp, 4
test bl, bl
je 0x568f18
xor al, al
jmp 0x568f1a
push 0x19
xor ebx, ebx
push str.boost::filesystem::remove
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00403cc0
cmp dword [esi + 0x14], 8
mov dword [esp + 0x54], ebx
jb 0x568ed4
mov eax, dword [esi]
jmp 0x568ed6
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
lea edx, [esp + 0x2c]
push edx
test al, al
sete al
push edi
movzx ecx, al
push esi
push ecx
call fcn.00568c80
add esp, 0x10
cmp dword [esp + 0x40], 0x10
mov bl, al
jb 0x568f10
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040d019
add esp, 4
test bl, bl
jne 0x568e14
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x48
ret

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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x14], 8
push edi
jb 0x569073
mov eax, dword [ebx]
jmp 0x569075
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x56909e
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
push ebx
push ecx
call fcn.00568f40
mov eax, dword [eax]
add esp, 0xc
pop edi
pop ebx
add esp, 8
ret
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x5690b5
mov dword [esi], 0
call fcn.0056a210
mov dword [esi + 4], eax
pop esi
test edi, 0x400
je 0x5690ee
push ebx
call fcn.00568390
add esp, 4
test al, al
je 0x5690e3
mov edx, edi
and dl, 0x10
movzx eax, dl
neg eax
sbb eax, eax
and eax, 7
pop edi
add eax, 4
pop ebx
add esp, 8
ret
pop edi
mov eax, 9
pop ebx
add esp, 8
ret
mov eax, edi
and eax, 0x10
or eax, 0x20
pop edi
shr eax, 4
pop ebx
add esp, 8
ret