joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455db0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00454300
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040bc30
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.00454300
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040bc30
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x455e3c
cmp eax, esi
je 0x455e4b
mov eax, dword [ebp - 0x10]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x455e4b
push 4
push 2
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x455e6a
cmp eax, 0xffffffff
je 0x455e79
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], esi
cmp esi, 1
setne al
test al, al
jne 0x455e79
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
test bl, bl
jne 0x455e8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], 2
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4586f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x549b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x8870bc]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x25c]
mov esi, 1
mov edi, dword [ebp + 0x260]
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
test eax, eax
je 0x458753
cmp eax, 0xffffffff
je 0x458753
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
cmp dword [eax + 4], 2
jne 0x4587d0
mov ecx, dword [eax + 0xc]
cmp word [ecx + eax + 2], 0x3a
jne 0x4587d0
mov ecx, dword [eax]
cmp ecx, 1
je 0x45877e
test ecx, ecx
je 0x45877e
mov edi, dword [eax + 4]
jmp 0x458794
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 2]
mov edx, dword [eax + 8]
and edx, 0x7fffffff
cmp ecx, edx
jbe 0x4587a5
push 1
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00408ba0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov edx, 0x5c
add ecx, eax
mov edi, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x10]
inc dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
add ecx, eax
mov eax, dword [eax + 4]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0048e6b0
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040bc30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x458833
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x45880a
cmp eax, 0x20
jne 0x458833
lea eax, [ebp]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ecx]
test eax, eax
je 0x458825
cmp eax, 0xffffffff
je 0x458825
lock xadd dword [ecx], esi
call fcn.004577c0
add esp, 8
test al, al
cmovne ebx, dword [ebp]
test edi, edi
je 0x45883f
cmp ebx, 0xffffffff
setne al
mov byte [edi], al
cmp ebx, 0xffffffff
jne 0x458848
xor bl, bl
jmp 0x45884e
shr ebx, 4
and bl, 1
mov eax, dword [ebp - 0x14]
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x458871
cmp eax, esi
je 0x458880
mov eax, dword [ebp - 0x14]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x458880
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x45889f
cmp eax, 0xffffffff
je 0x4588ae
mov eax, dword [ebp - 0x10]
lock xadd dword [eax], esi
cmp esi, 1
setne al
test al, al
jne 0x4588ae
push 4
push 2
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.00520afb
lea esp, [ebp + 0x254]
pop ebp
ret
Function at 0x459a00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549d30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004588e0
test al, al
je 0x459a78
movaps xmm0, xmmword [0x728b80]
lea eax, [ebp - 0x2c]
push str.Empty_filename_passed_to_function
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x728ab0
call fcn.0041c240
add esp, 8
call fcn.0052c6d9
mov dword [eax], 0x16
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00454300
xor ecx, ecx
mov dword [ebp - 4], 0
push 1
push ecx
mov word [ebp - 0x18], cx
mov ecx, eax
push dword [ebp - 0x18]
call fcn.00406e50
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
setne bl
or esi, 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x459acd
cmp eax, esi
je 0x459adc
mov eax, dword [ebp - 0x10]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x459adc
push 4
push 2
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
test bl, bl
je 0x459b22
movaps xmm0, xmmword [0x728b80]
lea eax, [ebp - 0x40]
push str.Broken_filename_passed_to_function
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x728ab0
call fcn.0041c240
add esp, 8
call fcn.0052c6d9
mov dword [eax], 0x16
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00454300
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0040bc30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [ebp - 0x14]
setne bl
mov eax, dword [eax]
test eax, eax
je 0x459b66
cmp eax, 0xffffffff
je 0x459b75
mov eax, dword [ebp - 0x14]
lock xadd dword [eax], esi
cmp esi, 1
setne al
test al, al
jne 0x459b75
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
test bl, bl
jne 0x459b8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 2
mov al, bl
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 0x45a0e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545228
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0048e6b0
add esp, 8
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040bc30
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov eax, dword [ebp - 0x10]
setne bl
mov eax, dword [eax]
test eax, eax
je 0x45a14f
cmp eax, 0xffffffff
je 0x45a15e
mov ecx, dword [ebp - 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
cmp edx, 1
setne cl
test cl, cl
jne 0x45a15e
push 4
push 2
push dword [ebp - 0x10]
call fcn.004016c0
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a340
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549df8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x8870bc]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], ebx
sub eax, ebx
je 0x45a3b3
sub eax, 1
je 0x45a3ab
sub eax, 2
je 0x45a3a6
mov dword [esi], 0x57
mov dword [esi + 4], 2
xor al, al
jmp 0x45a539
lea edi, [ebp - 0x5c]
jmp 0x45a3b6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x45a3b6
lea ebx, [ebp - 0x5c]
call fcn.0044f190
mov ecx, dword [ebp - 0x34]
test eax, eax
jne 0x45a462
lea eax, [ebp - 0x48]
push eax
call fcn.0044af60
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
call fcn.0044f130
lea ecx, [ebp - 0x48]
call fcn.00450f20
lea ecx, [ebp - 0x48]
mov word [ebp - 0x30], ax
call fcn.0044d750
lea ecx, [ebp - 0x48]
mov word [ebp - 0x2e], ax
call fcn.0044b040
lea ecx, [ebp - 0x38]
mov word [ebp - 0x2a], ax
call fcn.0044d110
lea ecx, [ebp - 0x38]
mov word [ebp - 0x28], ax
call fcn.0044d6b0
lea ecx, [ebp - 0x38]
mov word [ebp - 0x26], ax
call fcn.0044e880
lea ecx, [ebp - 0x38]
mov word [ebp - 0x24], ax
call fcn.0044d7b0
lea ecx, [ebp - 0x48]
mov word [ebp - 0x22], ax
call fcn.0044b0a0
cdq
mov ecx, 7
idiv ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x2c], dx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
jne 0x45a4fc
xor al, al
jmp 0x45a539
push 1
lea eax, [ebp - 0x3c]
push eax
call fcn.00450d90
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044af60
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044f130
lea ecx, [ebp - 0x50]
call fcn.00450f20
lea ecx, [ebp - 0x50]
mov word [ebp - 0x20], ax
call fcn.0044d750
lea ecx, [ebp - 0x50]
mov word [ebp - 0x1e], ax
call fcn.0044b040
lea ecx, [ebp - 0x34]
mov word [ebp - 0x1a], ax
call fcn.0044d110
lea ecx, [ebp - 0x34]
mov word [ebp - 0x18], ax
call fcn.0044d6b0
lea ecx, [ebp - 0x34]
mov word [ebp - 0x16], ax
call fcn.0044e880
lea ecx, [ebp - 0x34]
mov word [ebp - 0x14], ax
call fcn.0044d7b0
lea ecx, [ebp - 0x50]
mov word [ebp - 0x12], ax
call fcn.0044b0a0
cdq
mov ecx, 7
idiv ecx
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x1c], dx
call fcn.00449640
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x45a39f
push edi
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x45a537
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
mov dword [esi + 4], 2
jmp 0x45a539
mov al, 1
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.00520afb
mov esp, ebp
pop ebp
ret
Function at 0x45a9d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, esi
mov byte [ebp - 0xd], 0
call fcn.00454060
test al, al
je 0x45aa93
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00453e50
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
movzx ecx, word [eax + ecx]
call fcn.0040b2e0
mov ebx, 1
lea ecx, [eax - 0x41]
mov eax, dword [ebp - 0x18]
shl ebx, cl
mov eax, dword [eax]
test eax, eax
je 0x45aa72
cmp eax, 0xffffffff
je 0x45aa81
mov eax, dword [ebp - 0x18]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x45aa81
push 4
push 2
push dword [ebp - 0x18]
call fcn.004016c0
add esp, 0xc
and ebx, dword [ebp - 0x1c]
setne al
neg ebx
sbb ebx, ebx
and ebx, 0x14
jmp 0x45ab5a
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00454300
push 1
push str._UNC
push 7
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040ab00
test al, al
je 0x45ab26
mov eax, dword [ebp - 0x14]
push 1
push 7
mov ecx, dword [eax + 0xc]
mov ax, word [eax + ecx]
lea ecx, [ebp - 0x14]
mov word [ebp - 0x1c], ax
push dword [ebp - 0x1c]
call fcn.00406e50
mov edx, eax
test edx, edx
jle 0x45ab0d
mov eax, dword [ebp - 0x14]
push 1
mov ecx, dword [eax + 0xc]
mov ax, word [eax + ecx]
lea ecx, [ebp - 0x14]
mov word [ebp - 0x1c], ax
lea eax, [edx + 1]
push eax
push dword [ebp - 0x1c]
call fcn.00406e50
mov ecx, eax
test ecx, ecx
jle 0x45ab0d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
dec eax
cmp ecx, eax
jne 0x45ab26
lea eax, [ebp - 0x14]
push eax
call fcn.0045ad50
add esp, 4
test al, al
je 0x45ab26
mov ebx, 0x10
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x45ab48
cmp eax, 0xffffffff
je 0x45ab57
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x45ab57
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
mov al, byte [ebp - 0xd]
test al, al
je 0x45ab86
mov edx, dword [ebp + 0xc]
test bl, 0x10
mov ecx, 0x20000
mov esi, 0x40000
cmovne ecx, esi
mov dword [edx + 0x10], ebx
or ecx, dword [edx + 4]
or ecx, 0x400000
mov dword [edx + 4], ecx
or dword [edx], 0x560000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45aba0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549f01
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.0040bc30
push eax
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0x30], eax
test eax, eax
je 0x45ac0a
cmp eax, 0xea
jne 0x45ad21
mov esi, dword [ebp - 0x24]
mov edi, 1
cmp dword [ebp - 0x1c], edi
jb 0x45ad21
nop dword [eax + eax]
cmp dword [ebp + 0xc], 0
je 0x45ad14
cmp dword [esi + 4], 0
jne 0x45ad14
push 0xffffffffffffffff
push dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.00406d40
add esp, 0xc
mov ecx, dword [eax]
or ebx, 5
mov dword [ebp - 0x18], ecx
mov dword [eax], 0x6f6ba0
test bl, 2
je 0x45ac91
mov eax, dword [ebp - 0x20]
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x45ac7f
cmp eax, 0xffffffff
je 0x45ac8e
mov eax, dword [ebp - 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x45ac8e
push 4
push 2
push dword [ebp - 0x20]
call fcn.004016c0
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov eax, dword [eax]
test eax, eax
je 0x45acb9
cmp eax, 0xffffffff
je 0x45acc8
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne al
test al, al
jne 0x45acc8
push 4
push 2
push dword [ebp - 0x14]
call fcn.004016c0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 1
call fcn.00403cd0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x45ad04
cmp ecx, 0xffffffff
je 0x45ad11
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
setne cl
test cl, cl
jne 0x45ad11
push 4
push 2
push eax
call fcn.004016c0
add esp, 0xc
mov ebx, dword [ebp - 0x10]
inc edi
add esi, 0xc
cmp edi, dword [ebp - 0x1c]
jbe 0x45ac20
push dword [ebp - 0x24]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 0x30]
cmp eax, 0xea
je 0x45abd6
test eax, eax
sete al
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 0x45bcf0
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x45bd11
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
push dword [edi + 0x24]
movzx eax, byte [edi + 0x10]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push eax
push dword [edi + 0xc]
push dword [edi + 8]
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
mov eax, dword [esi + 0xb0]
setne bl
cmp eax, 0xffffffff
je 0x45bd59
push eax
call edi
mov dword [esi + 0xb0], 0xffffffff
mov eax, dword [esi + 0xd4]
cmp eax, 0xffffffff
je 0x45bd71
push eax
call edi
mov dword [esi + 0xd4], 0xffffffff
mov ecx, dword [esi + 0xf4]
cmp ecx, 0xffffffff
je 0x45bd89
push ecx
call edi
mov dword [esi + 0xf4], 0xffffffff
pop edi
pop esi
mov al, bl
pop ebx
ret 4
Function at 0x45d070
Capabilities:
Connect pipe
Create pipe

Disassembly:
sub esp, 0x238
mov eax, dword [0x8870bc]
xor eax, esp
mov dword [esp + 0x234], eax
mov al, byte [esp + 0x240]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [esp + 0x244]
push esi
push edi
movzx edi, al
mov esi, 0x3e8
mov byte [esp + 0x13], al
xor edi, 1
movzx eax, al
mov ecx, eax
shl edi, 0x14
shl ecx, 0x14
add eax, 0x40000001
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
nop
call fcn.00498e20
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00498c50
call fcn.00462110
push dword [esp + 0x14]
push eax
push 0x771b88
lea eax, [esp + 0x50]
push 0x100
push eax
call fcn.0045e9a0
add esp, 0x14
lea eax, [esp + 0x24]
push eax
push 0
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x54]
push 1
push 8
push dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45d162
call ebx
cmp eax, 0xe7
jne 0x45d14f
mov edi, dword [esp + 0x20]
sub esi, 1
jne 0x45d0e0
push str.QProcess:_CreateNamedPipe_failed.
push eax
call fcn.0041a900
add esp, 8
jmp 0x45d24b
cmp byte [esp + 0x13], 0
lea eax, [esp + 0x24]
push 0
push 0x40000000
push 3
push eax
mov ecx, 0x80000100
mov dword [esp + 0x3c], 1
push 0
mov eax, 0x40000000
cmovne eax, ecx
push eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45d1b8
push str.QProcess:_CreateFile_failed.
call fcn.0041aaa0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45d24b
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
push 0
movups xmmword [esp + 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x45d22c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x45d22c
cmp eax, 0x3e5
je 0x45d220
push str.QProcess:_ConnectNamedPipe_failed.
push eax
call fcn.0041a900
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push dword [esp + 0x40]
call esi
push ebx
call esi
push edi
call esi
jmp 0x45d24b
push 0xffffffffffffffff
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x13], 0
je 0x45d245
mov dword [ebp], ebx
mov dword [ebp + 4], edi
jmp 0x45d24b
mov dword [ebp], edi
mov dword [ebp + 4], ebx
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00520afb
add esp, 0x238
ret

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

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test edx, edx
je 0x45f8d2
movzx ecx, word [esi]
lea esi, [esi + 2]
shl eax, 4
add ecx, eax
mov eax, ecx
shr eax, 0x17
and eax, 0x1e0
xor eax, ecx
and eax, 0xfffffff
sub edx, 1
jne 0x45f8b1
pop esi
ret
Function at 0x460770
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x4607dc
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push 0
push 0
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4607dc
cmp dword [esp + 0xc], 4
jne 0x4607dc
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], 4
push eax
push 0
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
test eax, eax
mov eax, dword [esp + 0x18]
sete dl
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], dl
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0
mov byte [eax + 4], 0
add esp, 0xc
ret 0xc
Function at 0x460800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x8870bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], 0x6f6ba0
mov eax, dword [esi]
mov dword [ebp - 4], 0
test eax, eax
je 0x460957
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x460957
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x460871
cmp eax, 2
jne 0x460957
mov eax, dword [ebp - 0x14]
cmp eax, 2
jbe 0x460957
push 0
shr eax, 1
lea ecx, [ebp - 0x10]
push eax
call fcn.00403110
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp ecx, 1
je 0x46089f
test ecx, ecx
jne 0x4608a5
cmp dword [eax + 0xc], 0x10
je 0x4608b7
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
inc eax
push eax
call fcn.00408ba0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4608f6
push 1
push ecx
mov eax, esp
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x10]
call fcn.004061f0
test al, al
je 0x460936
push 1
lea ecx, [ebp - 0x10]
call fcn.00405750
jmp 0x460936
mov eax, dword [ebp - 0x10]
cmp eax, 0x6f6ba0
je 0x460936
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0x6f6ba0
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x460929
cmp eax, 0xffffffff
je 0x460936
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x460936
push 4
push 2
push ecx
call fcn.004016c0
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0x6f6ba0
mov dword [esi], ecx
lea ecx, [ebp - 0x10]
call fcn.004011e0
lea ecx, [ebp - 0x20]
call fcn.004011e0
jmp 0x460995
mov esi, dword [ebp + 8]
mov eax, dword [0x6f6ba0]
mov dword [esi], 0x6f6ba0
test eax, eax
je 0x460984
cmp eax, 0xffffffff
je 0x460995
mov ecx, 0x6f6ba0
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x460995
push 4
push 2
push 0x6f6ba0
call fcn.004016c0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc