joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414720
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x414745
lea ecx, [ebp - 0x1c]
push ecx
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov esp, ebp
pop ebp
ret

Function at 0x414750
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x41478b
lea ecx, [ebp - 0x1c]
push ecx
push 4
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x18]
jmp 0x41478d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x415dd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481491
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040e550
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
push 0x48d36c
lea ecx, [ebp - 0x10]
call fcn.0040e440
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x415ee4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x415ee4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040e550
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x415ed2
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push str.StringFileInfo000004B0ProductVersion
mov edx, dword [ebp - 0x1c]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x415eac
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e530
jmp 0x415ed2
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
push str.StringFileInfo040904E4ProductVersion
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x415ed2
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040e530
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004553b4
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e3e0
mov edx, dword [ebp - 0x30]
or edx, 1
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x415f20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4814b4
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e550
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x18], 0
je 0x416029
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004553bf
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x416029
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e550
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x416017
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push str.StringFileInfo000004B0CompanyName
mov edx, dword [ebp - 0x1c]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x416017
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e440
mov dword [ebp - 4], 0
push str.Seagull_Scientific
lea ecx, [ebp - 0x28]
call fcn.0040e550
push eax
call fcn.0046bb10
add esp, 8
test eax, eax
je 0x416008
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e4c0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004553b4
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x416f40
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48172d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0x48dd38
mov dword [ebp - 0x18], 0x48dd68
mov dword [ebp - 0x10], 0x48dd9c
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e440
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x2c]
call fcn.00416aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040e4c0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e440
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x2c]
call fcn.00416aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040e4c0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040e440
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x24]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x2c]
call fcn.00416aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040e4c0
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e440
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
push SysReAllocStringLen
mov ecx, dword [ebp - 0x2c]
call fcn.00416aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e4c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4182e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481a64
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e3e0
mov dword [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x418398
lea edx, [ebp - 0x11c]
push edx
call fcn.0046a7a0
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040e550
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0046bc88
add esp, 0xc
test eax, eax
je 0x418398
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040e530
push 0x48dee0
lea ecx, [ebp - 0x10]
call fcn.00411310
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00414600
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e3e0
mov ecx, dword [ebp - 0x120]
or ecx, 1
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 8
Function at 0x41a8c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x41e220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48280d
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x14]
call fcn.0040e380
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x128], 0
jmp 0x41e294
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
cmp dword [edx*4 + 0x4b02f0], 0
je 0x41e39b
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax*4 + 0x4b02f0]
push ecx
push 0x48e6a4
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x12c]
call fcn.0040e440
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x144]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0040e4c0
lea ecx, [ebp - 0x14]
call fcn.0040e550
push eax
mov ecx, dword [ebp + 8]
call fcn.0040dbe0
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
je 0x41e396
jmp 0x41e39b
jmp 0x41e285
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 4
Function at 0x41fd00
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482d36
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.00416040
mov dword [ebp - 4], 0
push 0x80
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41fda3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jne 0x41fd8b
mov byte [ebp - 0x15], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00416090
mov al, byte [ebp - 0x15]
jmp 0x41fdb9
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00416090
mov al, byte [ebp - 0x16]
jmp 0x41fdb9
mov byte [ebp - 0x17], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00416090
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x41ffb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482de9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00431960
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e3e0
mov dword [ebp - 4], 0
push 0x48e734
lea ecx, [ebp - 0x10]
call fcn.0040e560
sub eax, 3
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411540
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00411600
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040e4c0
lea ecx, [ebp - 0x24]
call fcn.004638de
mov byte [ebp - 4], 4
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0040e550
push eax
lea ecx, [ebp - 0x24]
call fcn.00463cc3
test eax, eax
je 0x420072
lea ecx, [ebp - 0x24]
call fcn.00463878
lea ecx, [ebp - 0x14]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004639b9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e4c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4208b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0046ac10
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x140
mov dword [ebp - 0x30], 0x48e7b0
mov ecx, dword [ebp + 8]
call fcn.00402260
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
call fcn.00402260
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
movzx edx, word [ebp + 0x14]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42091f
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
jmp 0x420921
xor al, al
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4832c4
mov eax, dword fs:[0]
push eax
mov eax, 0x12d0
call fcn.0046ab70
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12d4], 0
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x48ea16
lea ecx, [ebp - 0xb0]
call fcn.0040e440
mov dword [ebp - 4], 1
cmp dword [ebp - 0x9c], 1
jne 0x421e78
mov byte [ebp - 0x2b4], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x2b3]
push ecx
call fcn.0046ac10
add esp, 0xc
mov dword [ebp - 0x2b8], 0x200
push 0
mov edx, dword [ebp - 0x2b8]
push edx
lea eax, [ebp - 0x2b4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
test eax, eax
setne al
mov byte [ebp - 0xb1], al
movzx ecx, byte [ebp - 0xb1]
test ecx, ecx
je 0x421e73
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.0040e440
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp - 0x2bc]
call fcn.004114f0
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jge 0x421e0f
mov dword [ebp - 0x2c0], 0
push 6
mov eax, dword [ebp - 0x2c0]
add eax, 1
push eax
lea ecx, [ebp - 0x12d0]
push ecx
lea ecx, [ebp - 0x2bc]
call fcn.0040df90
mov dword [ebp - 0x12d8], eax
mov edx, dword [ebp - 0x12d8]
mov dword [ebp - 0x12dc], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x12dc]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040e510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12d0]
call fcn.0040e4c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2bc]
call fcn.0040e4c0
jmp 0x421f08
push 0xf003f
push 1
push 0
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x421f08
mov dword [ebp - 0x2c8], 0x1000
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x12cc]
push ecx
push 0
push 0
push 0x48eb44
mov edx, dword [ebp - 0x2c4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x421efb
cmp dword [ebp - 0x2c8], 0x1000
ja 0x421efb
lea eax, [ebp - 0x12cc]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040e530
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e3e0
mov eax, dword [ebp - 0x12d4]
or eax, 1
mov dword [ebp - 0x12d4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.0040e4c0
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.0046a0d3
mov esp, ebp
pop ebp
ret
Function at 0x425c90
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4836b4
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
je 0x425ce0
cmp dword [ebp - 0x50], 1
je 0x425d1b
cmp dword [ebp - 0x50], 2
je 0x425ea9
jmp 0x425eb1
push 0x48eddc
lea ecx, [ebp - 0x28]
call fcn.0040e440
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x28]
push edx
push SysReAllocStringLen
call fcn.00413960
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e4c0
jmp 0x425eb1
mov dword [ebp - 0x1c], 0
call fcn.00406c00
movzx eax, al
test eax, eax
je 0x425d35
mov dword [ebp - 0x1c], 2
push 0x48ee0c
lea ecx, [ebp - 0x2c]
call fcn.0040e440
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x2c]
push edx
push SysReAllocStringLen
call fcn.00413960
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e4c0
push 0x48ee30
lea ecx, [ebp - 0x30]
call fcn.0040e440
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push SysReAllocStringLen
call fcn.00413960
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040e4c0
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x24]
call fcn.004137e0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004137e0
mov byte [ebp - 4], 4
push 0x48ee54
lea ecx, [ebp - 0x38]
call fcn.0040e440
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
push ecx
push SysReAllocStringLen
lea ecx, [ebp - 0x24]
call fcn.00413870
mov byte [ebp - 0x31], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040e4c0
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x425e2a
push 0x48ee84
lea ecx, [ebp - 0x3c]
call fcn.0040e440
mov byte [ebp - 4], 6
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00413fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.0040e4c0
push 0x48ee94
lea ecx, [ebp - 0x44]
call fcn.0040e440
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
push ecx
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.00413870
mov byte [ebp - 0x3d], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0040e4c0
movzx edx, byte [ebp - 0x3d]
test edx, edx
je 0x425e8c
push 0x48eec4
lea ecx, [ebp - 0x48]
call fcn.0040e440
mov byte [ebp - 4], 8
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.0040e4c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00413850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00413850
jmp 0x425eb1
mov ecx, dword [ebp - 0x4c]
call fcn.00426190
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x427fb0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483d22
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b185c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x10]
call fcn.00416040
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x427ff9
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
call fcn.0043fec0
cmp dword [ebp - 0x14], eax
jge 0x4280fc
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00410550
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], edx
push 0x48f270
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00411600
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e330
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00427870
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x20]
call fcn.00414600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040e4c0
push 0
lea ecx, [ebp - 0x20]
call fcn.0040e550
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e330
mov ecx, eax
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 4
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e330
mov ecx, eax
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040e330
mov ecx, eax
call fcn.0040e550
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e550
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040e4c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040e4c0
jmp 0x427ff0
mov byte [ebp - 0x25], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00416090
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x429d60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4841af
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x128], eax
push 0x105
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x128]
push edx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x429e08
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x120]
call fcn.00402350
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp + 8]
call fcn.004085a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00402630
jmp 0x429d98
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 4