joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ff0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d505
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x599680]
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, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x43102e
mov eax, dword [esi]
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x431167
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
je 0x431107
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x431161
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x431161
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.004020a0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x4310c0
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004020a0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x431161
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4310fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431183
push ecx
push edx
call fcn.00509f9e
add esp, 8
jmp 0x431161
push 1
call edi
test eax, eax
je 0x431161
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x431161
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x431161
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00421c60
push 0
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c790
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x40]
call fcn.00402b00
call dword [sym.imp.USER32.dll_CloseClipboard]
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.00509f60
mov esp, ebp
pop ebp
ret
call fcn.0051c85d
int3
Function at 0x431190
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x431205
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4311fd
mov eax, dword [esi + 0x10]
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4311fd
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x4311d9
mov esi, dword [esi]
push ebx
push esi
push eax
call fcn.0050bfe0
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
push edi
mov word [ebx + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43937b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x439437
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
sub edi, 1
jne 0x439390
pop edi
test esi, esi
je 0x43945a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
sub esi, 1
jne 0x439440
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x439ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov ebx, esi
mov dword [ebp - 8], esi
imul ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x439ce8
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439cda
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp - 4]
call fcn.0050bfe0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], edx
push edi
mov edi, 1
cmp byte [esi], 0
je 0x439d5b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
lea ebx, [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439d56
mov byte [ebx], 1
mov edi, dword [ebp - 8]
jmp 0x439d88
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x439d6c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.0050bfe0
lea eax, [ebx + edi]
add esp, 0xc
mov dword [esi + 0x1c], eax
lea ebx, [esi + 8]
cmp edi, 1
jne 0x439d9f
mov ecx, dword [ebp - 0xc]
movzx eax, byte [ebp - 1]
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x439d96
cmp byte [ebx], 0
je 0x439d96
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi], 0
lea ecx, [esi + 1]
mov dword [ebp - 0x14], ecx
je 0x439ef7
cmp byte [ecx], 0
je 0x439f48
push 2
push 0
push 0
push dword [esi + 4]
call edx
mov edx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esi + 1]
jmp 0x439f00
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x14], ecx
cmp byte [esi], 0
je 0x439f20
cmp byte [ecx], 0
je 0x439f1c
push 1
push 0
push 0
push dword [esi + 4]
call edx
mov edi, eax
sub edi, dword [esi + 0xc]
jmp 0x439f23
xor edi, edi
jmp 0x439f2f
mov edi, dword [esi + 0x1c]
mov eax, 0xffff
mov dword [ebp - 0xc], eax
cmp edi, eax
jae 0x439f32
mov dword [ebp - 0xc], edi
push 0x404
call fcn.0051d1db
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x439f52
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
jbe 0x43a069
nop dword [eax]
add eax, 0x400
mov dword [ebp - 0x10], edi
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x20], edx
cmp edx, 0x404
mov dword [ebp - 0x1c], ecx
mov edi, edx
cmova edi, eax
cmp byte [esi], 0
je 0x439fbf
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x43a069
mov eax, dword [esi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x439fc8
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], ecx
mov dword [ebp - 0x10], eax
cmp byte [esi], 0
mov ebx, edi
je 0x439ff0
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0x18]
push 0
push eax
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439feb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x43a01b
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x43a001
mov ebx, ecx
sub ebx, edx
mov ecx, dword [esi + 0x14]
push ebx
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0050bfe0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
mov ebx, dword [ebp - 8]
xor edx, edx
div edi
cmp eax, 1
jne 0x43a069
lea ecx, [edi - 3]
test ecx, ecx
js 0x43a051
lea eax, [ebx + 3]
add eax, ecx
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x43a04d
cmp byte [edx + ebx], 0x4b
jne 0x43a04d
cmp byte [eax - 1], 5
jne 0x43a04d
cmp byte [eax], 6
je 0x43a07c
test ecx, ecx
jns 0x43a030
mov eax, dword [ebp - 4]
test eax, eax
jne 0x43a069
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
cmp eax, ecx
jb 0x439f70
push ebx
call fcn.0051c95e
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 4], eax
jmp 0x43a054
Function at 0x43ab60
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x43ad1a
cmp dword [edi + 0x18], 0
je 0x43ad1a
cmp dword [edi + 0x7c], 0
je 0x43ab89
call fcn.0043ad30
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.0043a900
add esp, 8
test eax, eax
je 0x43abad
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.0051d1db
mov esi, eax
add esp, 4
test esi, esi
je 0x43abf0
push 0x4000
call fcn.0051d1db
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x43abfc
push esi
call fcn.0051c95e
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x54], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x43ac54
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004396a0
test eax, eax
jne 0x43ac54
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov cl, byte [edi + 0x30]
mov dword [esi + 0x58], eax
and cl, 1
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x30]
shr eax, 3
mov byte [esi + 0x6c], cl
test al, 1
je 0x43ac78
mov al, byte [edi + 0x39]
jmp 0x43ac7b
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov edx, 0xc
xor eax, eax
mov dword [esi + 0x70], 0x12345678
test cl, cl
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmovne eax, edx
mov dword [esi + 0x7c], eax
test ebx, ebx
je 0x43acfb
nop dword [eax]
mov al, byte [ebx]
test al, al
je 0x43acfb
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
movzx eax, cl
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x78]
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x57e950]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x43acb0
mov eax, dword [ebp - 0xc]
add eax, 0x1e
mov dword [edi + 0x7c], esi
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54da57
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x599680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.00509f6e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x43b9dd
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b9b0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00509fac
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x43b9d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x43bab7
cmp dword [ebx + 4], 0xffffffff
jne 0x43bab7
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ba10
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x43ba47
cmp eax, 0x2f
je 0x43ba47
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x43ba34
mov eax, dword [0x580410]
mov dword [edi], eax
push 0x20
call fcn.00509f6e
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.0043a090
mov dword [ebx], eax
test eax, eax
jne 0x43ba88
mov eax, 0x200
jmp 0x43babc
push 8
mov dword [0x5a2344], 0
call fcn.00509f6e
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1000000
mov dword [0x5a2344], eax
mov eax, dword [ebx + 0x23c]
test eax, eax
je 0x43bad4
push eax
call fcn.00509fb5
add esp, 4
mov eax, dword [ebx + 0x240]
mov dword [ebx + 0x23c], 0
test eax, eax
je 0x43baf1
push eax
call fcn.00509fb5
add esp, 4
push 0x44c
push ebx
mov dword [ebx + 0x240], 0
call fcn.00509f9e
add esp, 8
xor eax, eax
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 0x451ad0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451b58
push 0x10000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x451b48
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x451b30
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x451b5a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x451b5a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x451b5a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x451df0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451e73
push 0x554904
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0xf01ff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x451e63
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x451e75
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x451e75
xor eax, eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x452ac0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x452adc
cmp dword [ebp + 0xc], 0
jne 0x452ae0
xor eax, eax
jmp 0x452b37
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.__s___s
lea edx, [ebp - 0x1c]
push edx
call fcn.00452390
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00401dd0
shl eax, 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402070
push eax
push 1
mov eax, dword [ebp + 8]
push eax
push 0x554a88
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x1c]
call fcn.00401f60
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret
Function at 0x4556f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e9a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x599680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004550e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CryptoPP::BaseN_Decoder.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004551c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0048b520
lea edx, [ebp + 0xc]
push edx
call fcn.00457cf0
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.00457950
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00454670
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
call fcn.00454250
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004986c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00456680
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x460980
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f858
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
push 0x288
call fcn.0051d1db
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x288
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x4609f7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0051c95e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0051d1db
add esp, 4
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x460b3f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x190]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x194
push edx
lea ecx, [ebp - 0x28]
call fcn.00421c60
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0xe8]
call fcn.0045a020
mov byte [ebp - 4], 1
push 0x30
lea eax, [ebp - 0x35]
push eax
call fcn.0045fa80
add esp, 8
push eax
push 0x4629d0
push 0x462660
lea ecx, [ebp - 0xe8]
call fcn.00460340
mov ecx, eax
call fcn.00460340
push eax
call fcn.0045ebc0
add esp, 8
mov dword [ebp - 0x30], 0
jmp 0x460a8c
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
call fcn.00401dd0
cmp dword [ebp - 0x30], eax
jae 0x460af6
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402980
movsx eax, byte [eax]
push eax
push 0
push 2
lea ecx, [ebp - 0x50]
push ecx
call fcn.00508d45
add esp, 0xc
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.0045ebe0
add esp, 8
mov ecx, eax
call fcn.00460020
lea ecx, [ebp - 0x28]
call fcn.00401dd0
sub eax, 1
cmp dword [ebp - 0x30], eax
jae 0x460af4
push 0x556524
lea eax, [ebp - 0xe8]
push eax
call fcn.0045ec10
add esp, 8
jmp 0x460a83
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0051c95e
add esp, 4
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xe8]
call fcn.0045d710
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.0045b160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402b00
mov eax, dword [ebp + 8]
jmp 0x460b64
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0051c95e
add esp, 4
push 0x556346
mov ecx, dword [ebp + 8]
call fcn.00402b90
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret