joyce8/EMBER2024-capa huggingface dataset:
Function at 0x542aff
Capabilities:
Terminate process

Disassembly:
mov eax, 0x6b6e41
call fcn.00651da4
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
inc esi
lea ebx, [edi + 0x98]
push ebx
call fcn.00467ec4
mov eax, dword [edi + 0x94]
cmp eax, esi
je 0x542b3a
cmp eax, 2
je 0x542b3a
cmp eax, 6
jne 0x542b60
mov ecx, edi
call fcn.005424c0
jmp 0x542b60
push esi
push dword [edi + 0x78]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x542b53
push 3
pop esi
mov dword [edi + 0x94], esi
jmp 0x542b60
push 4
pop esi
mov dword [edi + 0x94], 5
and dword [ebp - 4], 0
push ebx
call fcn.00468001
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x543d45
Capabilities:
Create thread

Disassembly:
mov eax, 0x6ba53f
call fcn.00651da4
push ecx
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
je 0x543d64
mov dword [esi + 4], 0x6fa0fc
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esi], method.std::_Facet_base.virtual_4
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6fa0c4
mov dword [esi + 8], 0x6d2024
mov dword [esi + 0xc], edi
mov eax, dword [esi + 4]
mov dword [esi], 0x6fa0dc
mov dword [esi + 8], 0x6fa0e4
mov dword [ebp - 4], edi
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], 0x6fa0f0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x94]
mov dword [ecx + esi], eax
lea ecx, [esi + 0x28]
call fcn.005612ef
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.005612ef
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
push 0x6fa104
lea eax, [esi + 0x10]
mov byte [ebp - 4], 4
push eax
mov dword [esi + 0x8c], edi
call fcn.00467f7b
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0x68], eax
lea eax, [esi + 0x88]
push eax
push edi
push esi
push 0x5441af
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x6c], eax
mov eax, esi
mov byte [esi + 0x90], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x543e36
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], esi
or dword [esi + 8], 0xffffffff
mov dword [esi + 0x14], eax
mov al, byte [ebp + 0xc]
mov byte [esi + 0x18], al
lea eax, [esi + 0x10]
push eax
push ecx
push esi
push 0x5446da
push ecx
push ecx
mov dword [esi + 4], ecx
mov dword [esi], 0x6fa0d0
mov byte [esi + 0xc], cl
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 8], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5539eb
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6bb750
call fcn.00651da4
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
and dword [edi + 4], 0
mov dword [edi + 8], 0x6e57c8
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
mov dword [edi], 0x6fbe40
mov dword [edi + 8], 0x6fbe4c
push dword [esi + 0xd8]
mov byte [ebp - 4], 2
call fcn.00502efb
mov eax, dword [ebp + 0x18]
lea ecx, [edi + 0x38]
or dword [edi + 0x24], 0xffffffff
or dword [edi + 0x28], 0xffffffff
and dword [edi + 0x2c], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x34], eax
lea eax, [ebp + 0xb]
push eax
mov dword [ebp + 8], ecx
lea eax, [ebp + 0x18]
fldz
push eax
fstp dword [ebp + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x30], esi
call fcn.0049842e
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x58]
call fcn.004e175e
lea ecx, [ebp + 0x20]
call fcn.00535c3c
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x40

Function at 0x5564a9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6bb988
call fcn.00651da4
sub esp, 0x18
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, ecx
push 8
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005562cf
and dword [ebp - 4], 0
push 0x14
mov dword [ebx], 0x6fbfdc
call fcn.00651ae6
pop ecx
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x55650b
push 0x6fbf00
push 8
mov ecx, eax
call fcn.00555e00
jmp 0x55650d
xor eax, eax
mov dword [ebx + 0x6c], eax
mov ebx, dword [eax + 0x10]
push 0x6fc5e0
push 0x20
mov byte [ebp - 4], 0
mov edi, dword [ebx + 0x20]
push edi
call fcn.00561b81
add esp, 0xc
add esi, 0x20
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], 0x17
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0xc]
mov byte [eax], 1
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005584f0
mov eax, dword [ebx + 0x6c]
push 0x6fc5e0
push 0x20
mov ebx, dword [eax + 0x10]
mov edi, dword [ebx + 0x4c]
push edi
call fcn.00561b81
add esp, 0xc
lea esi, [ebp - 0x24]
add edi, 3
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x50], 0x17
pop edi
pop esi
mov eax, dword [ecx + 0x6c]
pop ebx
mov eax, dword [eax + 0xc]
mov byte [eax + 1], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x5584f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor ecx, ecx
push esi
mov esi, dword [esp + 8]
mov eax, ecx
xor eax, 3
mov al, byte [eax + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x14
jne 0x5584fb
pop esi
ret 8
Function at 0x560093
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
add eax, 2
push esi
mov esi, dword [esp + 0x18]
mov ebx, eax
push edi
mov edi, ebp
push 0x1f
sub edi, esi
pop edx
mov cl, byte [edi + esi]
mov al, byte [esi]
and cl, 3
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 2], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 1], cl
mov ecx, dword [edi + esi]
mov eax, dword [esi]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx], cl
lea ebx, [ebx + 4]
mov ecx, dword [edi + esi]
mov eax, dword [esi]
lea esi, [esi + 4]
shr ecx, 6
and cl, 3
shr eax, 6
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx - 3], cl
sub edx, 1
jne 0x5600b0
mov cl, byte [ebp + 0x7c]
mov edx, dword [esp + 0x1c]
and cl, 3
mov ebx, dword [esp + 0x18]
shl cl, 2
pop edi
mov al, byte [edx + 0x7c]
and al, 3
xor cl, al
mov byte [ebx + 0x7c], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 2
and cl, 3
shr eax, 2
shl cl, 2
and al, 3
xor cl, al
mov byte [ebx + 0x7d], cl
mov ecx, dword [ebp + 0x7c]
mov eax, dword [edx + 0x7c]
shr ecx, 4
and cl, 3
shr eax, 4
shl cl, 2
and al, 3
pop esi
xor cl, al
pop ebp
mov byte [ebx + 0x7e], cl
pop ebx
pop ecx
ret 0xc

Function at 0x5602cd
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
lea ebx, [edx + 2]
push edi
push 0xa
pop ebp
lea edi, [esi + 4]
mov al, byte [edi - 4]
and al, 7
mov byte [ebx - 2], al
mov eax, dword [edi - 4]
shr eax, 3
and al, 7
mov byte [ebx - 1], al
mov ecx, dword [edi - 4]
shr ecx, 6
and cl, 7
mov byte [ebx], cl
mov al, byte [edi]
and al, 1
shl al, 2
xor al, cl
mov byte [ebx], al
lea ebx, [ebx + 8]
mov eax, dword [edi]
shr eax, 1
and al, 7
mov byte [ebx - 7], al
mov eax, dword [edi]
shr eax, 4
and al, 7
mov byte [ebx - 6], al
mov ecx, dword [edi]
lea edi, [edi + 0xc]
shr ecx, 7
and cl, 7
mov byte [ebx - 5], cl
mov al, byte [edi - 8]
and al, 3
add al, al
xor al, cl
mov byte [ebx - 5], al
mov eax, dword [edi - 8]
shr eax, 2
and al, 7
mov byte [ebx - 4], al
mov eax, dword [edi - 8]
shr eax, 5
and al, 7
mov byte [ebx - 3], al
sub ebp, 1
jne 0x5602e2
mov al, byte [esi + 0x78]
and al, 7
mov byte [edx + 0x50], al
mov eax, dword [esi + 0x78]
shr eax, 3
and al, 7
mov byte [edx + 0x51], al
mov ecx, dword [esi + 0x78]
shr ecx, 6
and cl, 7
mov byte [edx + 0x52], cl
mov al, byte [esi + 0x7c]
and al, 1
shl al, 2
xor al, cl
mov byte [edx + 0x52], al
mov eax, dword [esi + 0x7c]
shr eax, 1
and al, 7
mov byte [edx + 0x53], al
mov eax, dword [esi + 0x7c]
shr eax, 4
and al, 7
xor ebx, ebx
mov byte [edx + 0x54], al
mov esi, ebx
mov cl, byte [esi + edx]
add cl, bl
mov al, cl
and cl, 7
sar al, 3
add byte [esi + edx + 1], al
mov byte [esi + edx], cl
sar cl, 2
mov bl, cl
mov al, cl
shl al, 3
sub byte [esi + edx], al
inc esi
cmp esi, 0x54
jl 0x56039b
add byte [edx + 0x54], bl
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x5603cc
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
xor ecx, ecx
mov edx, ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebx, 0x6fc778
mov ebp, ecx
sub ebx, edi
add edx, dword [ebx + edi]
mov esi, dword [edi]
mov al, byte [edi]
sub esi, edx
sub al, dl
shr esi, 0x1f
mov byte [esp + ebp + 0x10], al
lea edi, [edi + 4]
inc ebp
mov edx, esi
cmp ebp, 0x20
jl 0x5603e4
mov edx, dword [esp + 0x34]
dec esi
movzx eax, byte [esp + ecx + 0x10]
xor eax, dword [edx + ecx*4]
and eax, esi
xor dword [edx + ecx*4], eax
inc ecx
cmp ecx, 0x20
jl 0x560406
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x56bfa4
Capabilities:
Encode data using xor

Disassembly:
movzx edx, byte [esp + 0xc]
mov ecx, dword [esp + 4]
neg edx
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x20
sub esi, ecx
pop edi
mov eax, dword [esi + ecx]
xor eax, dword [ecx]
and eax, edx
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edi, 1
jne 0x56bfba
pop edi
pop esi
ret 0xc

Function at 0x56bfd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push 0x1e
pop edi
mov ebx, dword [esi + 0x7c]
mov ecx, edi
mov edx, ebx
xor edx, 0x7f
dec edx
shr edx, 0x1f
mov eax, dword [esi + ecx*4]
xor eax, 0xff
dec eax
shr eax, 0x1f
and edx, eax
dec ecx
test ecx, ecx
jg 0x56bfe9
mov ecx, dword [esi]
mov ebp, 0xed
sub ecx, ebp
not ecx
shr ecx, 0x1f
and ecx, edx
neg ecx
mov eax, ecx
and eax, 0x7f
sub ebx, eax
movzx eax, cl
mov dword [esi + 0x7c], ebx
sub dword [esi + edi*4], eax
dec edi
test edi, edi
jg 0x56c01b
and ecx, ebp
sub dword [esi], ecx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x56c905
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
mov eax, esi
xor ebx, ebx
mov dword [esp + 0x14], eax
test esi, esi
je 0x56c99d
push edi
dec esi
cmp dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
je 0x56c932
call dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push 8
pop eax
dec eax
mov dword [esp + 0x14], eax
call fcn.00683686
mov edi, eax
jmp 0x56c94a
xor ebp, 1
call fcn.00683686
cmp edi, eax
je 0x56c947
call fcn.00683686
mov edi, eax
call fcn.00683686
cmp edi, eax
jne 0x56c973
xor esi, 1
call fcn.00683686
cmp edi, eax
je 0x56c963
mov dword [esp + 0x10], esi
cmp ebp, esi
je 0x56c93e
mov eax, dword [esp + 0x14]
add ebx, ebx
or ebx, ebp
test eax, eax
jne 0x56c939
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov byte [eax], bl
inc eax
xor ebx, ebx
mov dword [esp + 0x20], eax
test esi, esi
jne 0x56c922
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc

Function at 0x56ca78
Capabilities:
Create thread

Disassembly:
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
call 0x56ca78
jmp 0x56ca78
push 0
push 0x400
mov dword [0x8023c8], 0
push 0x56ca2b
mov dword [0x8023bc], 1
call fcn.0068383e
add esp, 0xc
push 0x10
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
mov dword [0x8023bc], 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [0x8023c8]
mov ecx, dword [0x8023c8]
shr eax, 3
xor ecx, eax
mov eax, dword [0x8023c4]
shr ecx, 3
xor eax, ecx
xor dword [0x8023c8], eax
and dword [0x8023c8], 7
mov eax, dword [0x8023c8]
mov dword [0x8023c4], eax
mov eax, dword [0x8023c0]
mov ecx, dword [0x8023c8]
shl eax, 3
xor ecx, eax
mov dword [0x8023c0], ecx
mov eax, dword [0x8023c0]
ret

Function at 0x56eeb9
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
pop ecx
ret
Function at 0x579936
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x57994a
test al, 0x10
jne 0x57995b
xor ebx, ebx
push ebx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x57995e
xor ebx, ebx
inc ebx
mov al, bl
pop ebx
ret 4

Function at 0x57ab0c
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 4]
push ebp
push esi
push edi
push eax
push 2
xor ebp, ebp
push ebp
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.WS2_32.dll_accept
mov dword [esp + 0x24], ebp
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x57ab6e
lea eax, [esp + 0x14]
push eax
call fcn.0057cc87
cmp dword [eax + 0x14], 8
jb 0x57ab55
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004284eb
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x57abb1
lea eax, [esp + 0x14]
push eax
call fcn.0057cc87
cmp dword [eax + 0x14], 8
jb 0x57ab98
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004284eb
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 2
push ebp
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_CROSS_DOMAIN_REDIRECT_MITIGATION
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x57abf4
lea eax, [esp + 0x14]
push eax
call fcn.0057cc87
cmp dword [eax + 0x14], 8
jb 0x57abdb
mov eax, dword [eax]
push eax
push dword [esp + 0x14]
call esi
push ebp
push 1
lea ecx, [esp + 0x1c]
call fcn.004284eb
push dword [esp + 0x10]
call edi
call fcn.0057af7f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x57af7f
Capabilities:
Move file

Disassembly:
mov eax, 0x6b68ad
call fcn.00651da4
sub esp, 0x38
push esi
xor esi, esi
push esi
push esi
push 6
call fcn.00579e53
test eax, eax
je 0x57b00b
push 0x7a6a28
lea eax, [ebp - 0x24]
push eax
call fcn.00579b42
push esi
push 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.00436192
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.00436192
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 3
jae 0x57afd9
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, 0x6d2128
mov eax, 0x414
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x32], esi
mov dword [ebp - 0x2e], esi
mov dword [ebp - 0x2a], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x57d709
Capabilities:
Check if file exists
Create pipe
Create thread

Disassembly:
mov eax, 0x6bd87c
call fcn.00651da4
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
push dword [ebp + 8]
lea esi, [ebx + 4]
mov dword [ebp - 0x10], ebx
mov ecx, esi
mov dword [ebx], 0x719c34
call fcn.0042812e
xor edx, edx
lea edi, [ebx + 0x1c]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], edx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], edx
jb 0x57d74d
mov eax, dword [edi]
jmp 0x57d74f
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov al, byte [ebp + 0xc]
mov byte [ebx + 0x34], al
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebx + 0x3c], eax
lea eax, [ebp - 0x28]
push 0x719c38
push eax
mov byte [ebp - 4], 1
mov byte [ebx + 0x74], dl
call fcn.00428e49
push eax
mov ecx, edi
call fcn.004281d1
xor esi, esi
lea ecx, [ebp - 0x28]
push esi
push 1
call fcn.004284eb
push esi
push esi
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
call esi
mov dword [ebx + 0x48], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov dword [ebx + 0x5c], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
cmp byte [ebx + 0x34], 0
mov dword [ebx + 0x70], eax
je 0x57d7ea
cmp dword [edi + 0x14], 8
jb 0x57d7c5
mov edi, dword [edi]
push dword [ebp + 0x18]
xor esi, esi
mov eax, 0x800
push esi
push eax
push eax
push 0xff
push 6
push 0x40080003
push edi
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
mov dword [ebx + 0x44], eax
jmp 0x57d82e
xor esi, esi
mov eax, esi
cmp eax, 2
jne 0x57d7fe
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp dword [edi + 0x14], 8
jb 0x57d808
mov eax, dword [edi]
jmp 0x57d80a
mov eax, edi
push esi
push 0x40000080
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebx + 0x44], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x57d7f3
cmp dword [ebx + 0x44], 0xffffffff
je 0x57d847
push esi
push esi
push ebx
push 0x57d972
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x57d906
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
and dword [esi + 0x68], 0
and dword [esi + 0x6c], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x57d923
mov ecx, dword [ecx]
lea edi, [esi + 0x60]
inc eax
push edi
lea edx, [ebp + 8]
push edx
push eax
push ecx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x57d963
push 0xffffffffffffffff
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x57d963
push 1
lea eax, [ebp + 8]
push eax
push edi
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
pop edi
pop esi
pop ebp
ret 4
Function at 0x57d980
Capabilities:
Connect pipe
Read file on windows

Disassembly:
mov eax, 0x6aff93
call fcn.00651da4
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov byte [edi + 0x74], 1
cmp byte [edi + 0x34], bl
je 0x57d9e1
lea eax, [edi + 0x4c]
mov dword [edi + 0x54], ebx
push eax
push dword [edi + 0x44]
mov dword [edi + 0x58], ebx
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
jne 0x57d9e1
cmp eax, 0x217
je 0x57d9e1
cmp eax, 0x3e5
jne 0x57da95
push 0xffffffffffffffff
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x57da95
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov dword [ebp - 0x10], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
push 0x401
mov dword [ebp - 4], ebx
call fcn.006520e5
pop ecx
mov esi, eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x400
push esi
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
sub eax, 6
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
je 0x57da60
cmp byte [esi + eax - 1], 0
push esi
sete bl
mov byte [esi + 0x400], 0
call fcn.0040f6ae
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040f612
push 0
test bl, bl
pop ebx
je 0x57da10
push esi
call fcn.00651dd2
cmp dword [ebp - 0x10], 0
pop ecx
je 0x57da87
push dword [edi + 0x3c]
lea eax, [ebp - 0x28]
push eax
call dword [edi + 0x38]
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040facf
jmp 0x57d9ea
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040facf
mov byte [edi + 0x74], bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x57db5d
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6bd891
call fcn.00651da4
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
push ebx
push ebx
lea esi, [edi + 0x2c]
mov dword [edi], 0x719c4c
mov dword [edi + 0x24], ebx
mov ecx, esi
mov byte [edi + 0x28], 1
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0057dc80
mov dword [esi], eax
lea esi, [edi + 0x34]
mov dword [ebp - 4], ebx
push ebx
push ebx
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00535946
mov dword [esi], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push eax
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetProcessTimes]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x18], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x57dff4
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor eax, eax
ret 4
Function at 0x57e686
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 4], ebx
push edi
mov edi, dword [esp + 0x18]
mov dh, byte [edi]
mov al, byte [edi + 4]
test ebx, ebx
je 0x57e6de
push ebp
mov ebp, dword [esp + 0x14]
push esi
inc dh
movzx esi, dh
mov dl, byte [esi + edi + 8]
add al, dl
movzx ecx, al
mov byte [esp + 0x1c], al
mov al, byte [ecx + edi + 8]
mov byte [esi + edi + 8], al
mov byte [ecx + edi + 8], dl
mov al, byte [esi + edi + 8]
add al, dl
movzx eax, al
mov al, byte [eax + edi + 8]
xor byte [ebp], al
inc ebp
mov al, byte [esp + 0x1c]
sub ebx, 1
jne 0x57e6a4
pop esi
pop ebp
movzx ecx, dh
mov dword [edi], ecx
movzx ecx, al
mov eax, dword [esp + 8]
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret 0xc