joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453aa0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65ca15
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
mov eax, dword [0x67ee7c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00463570
mov edx, dword [0x67ee7c]
push edx
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.00469ad0
mov dword [ebp - 0x50], eax
mov eax, dword [0x67ee7c]
cmp eax, dword [ebp - 0x50]
je 0x453b40
mov ecx, dword [ebp - 0x50]
push ecx
push 0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.004506d0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
call fcn.004481c0
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x44]
push ecx
push 0x6a8460
push 1
push 0
push 0x6b32e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x453b6e
jmp 0x453c1a
lea edx, [ebp - 0x48]
push edx
push 0x6ad3b0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x453b92
jmp 0x453c1a
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov ecx, dword [ebp + 0x14]
call fcn.0043dc00
push eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 0x2c]
call edx
mov ecx, dword [ebp + 0x10]
call fcn.0043dc00
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [ebp - 0x28]
call fcn.0043dc00
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [edx + 0x24]
call ecx
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 0x3c]
call edx
push 1
mov ecx, dword [ebp + 0xc]
call fcn.0043dc00
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0
je 0x453c2e
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x44], 0
je 0x453c42
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x4569a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], 0
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
mov cx, word [ebp + 0x24]
mov word [ebp - 0x38], cx
movzx edx, word [ebp + 0x24]
test edx, edx
jne 0x4569e6
mov eax, dword [ebp + 0x28]
or eax, 0x8000000
mov dword [ebp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x4569f4
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jmp 0x4569fa
lea edx, [ebp - 0x24]
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x2c]
call fcn.0044e170
movzx eax, al
test eax, eax
je 0x456a12
mov dword [ebp - 0xc], 0
jmp 0x456a1d
mov ecx, dword [ebp + 0x2c]
call fcn.0043dc00
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x28]
push ecx
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.0043dc00
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x456a7d
cmp dword [ebp + 8], 0
jne 0x456a7d
movzx edx, byte [ebp + 0x30]
test edx, edx
je 0x456a69
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
je 0x456a8c
mov dword [ebp - 0x14], 1
jmp 0x456a93
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 1], al
lea ecx, [ebp + 0xc]
call fcn.0043cfa0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x456bd0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x456be6
or eax, 0xffffffff
jmp 0x456c91
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp dword [ebp - 0xc], 0
jbe 0x456c8e
mov edx, dword [ebp - 0xc]
push edx
call fcn.005f0188
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x456c8e
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x456c82
mov dword [ebp - 8], 0
jmp 0x456c4a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jae 0x456c82
imul edx, dword [ebp - 8], 0x38
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 4], 0
jne 0x456c80
imul ecx, dword [ebp - 8], 0x38
mov edx, dword [ebp - 4]
lea esi, [edx + ecx + 4]
mov ecx, 0xe
mov edi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 1
jmp 0x456c82
jmp 0x456c41
mov eax, dword [ebp - 4]
push eax
call fcn.005f0183
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x457150
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp dword [ebp - 0x10], 0
jbe 0x4571f1
mov edx, dword [ebp - 0x10]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4571f1
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x4571e7
mov dword [ebp - 0xc], 0
jmp 0x4571b7
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jae 0x4571e7
imul edx, dword [ebp - 0xc], 0x38
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 4], 0
jne 0x4571e5
imul ecx, dword [ebp - 0xc], 0x38
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 0x10]
mov dword [edx], ecx
mov byte [ebp - 1], 1
jmp 0x4571e7
jmp 0x4571ae
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4572e0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 1], 0
push 0x288
call fcn.005f0188
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x457307
xor al, al
jmp 0x4573b8
mov dword [ebp - 0x10], 0x288
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x457345
mov edx, dword [ebp - 8]
push edx
call fcn.005f0183
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.005f0188
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x457345
xor al, al
jmp 0x4573b8
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4573a3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4573a3
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x1b0
push edx
call fcn.004603f0
add esp, 8
movzx eax, al
test eax, eax
je 0x457399
mov ecx, dword [ebp - 0xc]
add ecx, 8
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004280c0
mov byte [ebp - 1], 1
jmp 0x4573a3
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x457361
cmp dword [ebp - 8], 0
je 0x4573b5
mov ecx, dword [ebp - 8]
push ecx
call fcn.005f0183
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x458db0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d28f
mov eax, dword fs:[0]
push eax
sub esp, 0xa5c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ax, word [0x6804ac]
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0xa48], 0x104
mov dword [ebp - 0xa44], 0
mov dword [ebp - 0xa40], 0x400
lea edx, [ebp - 0xa68]
push edx
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0xa58]
push edx
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0xa60]
push edx
lea eax, [ebp - 0xa44]
push eax
push 0
lea ecx, [ebp - 0xa48]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xa38], eax
cmp dword [ebp - 0xa38], 0
jne 0x458f68
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa38], 0
jmp 0x458ea6
mov ecx, dword [ebp - 0xa34]
add ecx, 1
mov dword [ebp - 0xa34], ecx
mov edx, dword [ebp - 0xa34]
cmp edx, dword [ebp - 0xa4c]
jae 0x458f68
mov dword [ebp - 0xa40], 0x400
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0xa3c], ecx
cmp dword [ebp - 0xa3c], 0x800
jae 0x458ede
jmp 0x458ee3
call fcn.005c7f3d
xor edx, edx
mov eax, dword [ebp - 0xa3c]
mov word [ebp + eax - 0xa18], dx
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xa40]
push ecx
lea edx, [ebp - 0xa18]
push edx
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xa38], eax
cmp dword [ebp - 0xa38], 0
jne 0x458f63
lea edx, [ebp - 0xa18]
push edx
lea ecx, [ebp - 0xa30]
call fcn.00447470
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa30]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0044f580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa30]
call fcn.0043cfa0
jmp 0x458e97
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x459be0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x105], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp + 8]
call fcn.0044e170
movzx eax, al
test eax, eax
jne 0x459c5e
mov ecx, dword [ebp + 0xc]
call fcn.0044e170
movzx ecx, al
test ecx, ecx
je 0x459c63
jmp 0x459dea
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0043dc00
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x459c8c
jmp 0x459dea
push 0x6b4792
mov eax, dword [ebp - 0x110]
push eax
call fcn.005c888f
add esp, 8
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0
jne 0x459cc0
jmp 0x459dea
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0043dc00
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x459cec
jmp 0x459dea
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x114]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x10c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x459d14
jmp 0x459dea
cmp dword [ebp - 0x114], 0
je 0x459d26
cmp dword [ebp - 0x118], 0
jne 0x459d2b
jmp 0x459dea
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + eax]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
and eax, 0xffff
movzx ecx, ax
mov edx, 4
imul eax, edx, 0
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + eax]
and eax, 0xffff
movzx edx, ax
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push 0x680db8
push 0x80
lea edx, [ebp - 0x104]
push edx
call fcn.00469f30
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x459de2
mov ecx, dword [ebp - 0x124]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004482b0
mov byte [ebp - 0x105], 1
xor edx, edx
jne 0x459c40
cmp dword [ebp - 0x10c], 0
je 0x459e18
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.005c783b
add esp, 4
mov dword [ebp - 0x10c], 0
mov al, byte [ebp - 0x105]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x45c610
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0x67fb80
lea ecx, [ebp - 0x1c]
call fcn.00447470
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x1c]
call fcn.0043dc00
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45c66b
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.0043cfa0
mov eax, dword [ebp - 0x24]
jmp 0x45c6d6
mov ecx, dword [ebp + 8]
call fcn.00450570
lea ecx, [eax + eax + 2]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0043dc00
push eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x45c6ba
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.0043cfa0
mov eax, dword [ebp - 0x28]
jmp 0x45c6d6
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x1c]
call fcn.0043cfa0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret

Function at 0x45c6f0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
push 0x67fc20
lea ecx, [ebp - 0x1c]
call fcn.00447470
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x1c]
call fcn.0043dc00
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45c74b
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.0043cfa0
mov eax, dword [ebp - 0x24]
jmp 0x45c79c
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45c780
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.0043cfa0
mov eax, dword [ebp - 0x28]
jmp 0x45c79c
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x1c]
call fcn.0043cfa0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x45c7b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d71b
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea ecx, [ebp - 0x468]
call fcn.00463090
mov dword [ebp - 4], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x450]
call fcn.00447470
mov byte [ebp - 4], 1
mov dword [ebp - 0x458], 0
push 0
push 0
push 0xf003f
push 0
push 0
lea ecx, [ebp - 0x450]
call fcn.0043dc00
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x468]
call fcn.004644a0
test eax, eax
je 0x45c83f
jmp 0x45c909
xor eax, eax
mov word [ebp - 0x420], ax
push 0x40e
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0x454], 0x208
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0043dc00
push eax
lea ecx, [ebp - 0x468]
call fcn.00464f60
test eax, eax
je 0x45c890
jmp 0x45c909
cmp dword [ebp - 0x454], 0
ja 0x45c89b
jmp 0x45c909
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00447470
lea ecx, [ebp - 0x438]
call fcn.0044e170
movzx edx, al
test edx, edx
je 0x45c8cc
lea ecx, [ebp - 0x438]
call fcn.0043cfa0
jmp 0x45c909
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x438]
call fcn.00467f30
test eax, eax
je 0x45c8ec
lea ecx, [ebp - 0x438]
call fcn.0043cfa0
jmp 0x45c909
mov dword [ebp - 0x458], 1
lea ecx, [ebp - 0x438]
call fcn.0043cfa0
xor ecx, ecx
jne 0x45c80d
lea ecx, [ebp - 0x468]
call fcn.00464450
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.004634e0
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret

Function at 0x45c960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esp, ebp
pop ebp
ret
Function at 0x45c9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x45ca12
xor eax, eax
jmp 0x45cbf4
mov ecx, 0x28
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [ebp - 0x504]
rep movsd dword es:[edi], dword [esi]
push 0x168
push 0
lea eax, [ebp - 0x464]
push eax
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0x508], 0
lea ecx, [ebp - 0x508]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x504]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x45ca7a
xor eax, eax
jmp 0x45cbf4
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.005e0c30
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._sConnection
lea edx, [ebp - 0x108]
push edx
call fcn.004623e0
add esp, 0xc
mov dword [ebp - 0x510], 0
lea eax, [ebp - 0x510]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x45cafe
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45cbf4
mov dword [ebp - 0x518], 1
mov dword [ebp - 0x514], 0xfa
lea ecx, [ebp - 0x514]
push ecx
lea edx, [ebp - 0x2fc]
push edx
lea eax, [ebp - 0x518]
push eax
push 0
push str.PnPInstanceId
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x45cb6b
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45cbf4
push 0x680258
call fcn.006127cf
add esp, 4
push eax
push 0x680260
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.00613acb
add esp, 0xc
test eax, eax
je 0x45cbb7
push 0x680288
call fcn.006127cf
add esp, 4
push eax
push 0x68029c
lea edx, [ebp - 0x2fc]
push edx
call fcn.00613acb
add esp, 0xc
test eax, eax
jne 0x45cbd8
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x45cbf4
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x45d5c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
push 0x680764
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x45d60b
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
push 0x680770
push 0x68078c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45dd40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x860], 0x44
push 0x40
push 0
lea eax, [ebp - 0x85c]
push eax
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0x818], 0
xor ecx, ecx
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], ecx
mov dword [ebp - 0x834], 1
mov edx, 1
mov word [ebp - 0x830], dx
xor eax, eax
mov word [ebp - 0x804], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x802]
push ecx
call fcn.005e0c30
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0043dc00
push eax
push 0x680cbc
push 0x400
lea edx, [ebp - 0x804]
push edx
call fcn.00469f30
add esp, 0x10
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x860]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x818], 0
jne 0x45de37
mov byte [ebp - 0x805], 0
lea ecx, [ebp + 8]
call fcn.0043cfa0
mov al, byte [ebp - 0x805]
jmp 0x45de7d
cmp dword [ebp + 0x20], 0
je 0x45de4e
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x806], 1
lea ecx, [ebp + 8]
call fcn.0043cfa0
mov al, byte [ebp - 0x806]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret