joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4046f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0x80]
call fcn.0040a210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0040a210
mov byte [ebp - 4], 1
push 0x44a410
lea ecx, [ebp - 0x64]
call fcn.0040a290
mov byte [ebp - 4], 2
push 0x44a494
lea ecx, [ebp - 0x2c]
call fcn.0040a290
mov byte [ebp - 4], 3
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0040c0c0
add esp, 0xc
push 0x44a4b4
lea ecx, [ebp - 0x9c]
call fcn.0040a350
push 0
lea ecx, [ebp - 0x9c]
call fcn.0040a370
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.uninst.exe
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040b570
add esp, 0xc
mov byte [ebp - 4], 4
push 0
push 0
push 0
push 0
push 0x44a4d8
lea ecx, [ebp - 0x9c]
call fcn.0040a370
push eax
lea ecx, [ebp - 0x48]
call fcn.0040a370
push eax
call fcn.00412520
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0040a2d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040a2d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040a2d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0040a2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret
Function at 0x404950
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442390
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 4], 1
push 0
push str.msiexec
lea ecx, [ebp + 8]
call fcn.0040a3d0
mov dword [ebp - 0x54], eax
push 0
push str.RegSvr32
lea ecx, [ebp + 8]
call fcn.0040a3d0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [0x44ce20]
jne 0x4049c2
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [0x44ce20]
je 0x4049c4
jmp 0x404a25
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x268], esp
lea edx, [ebp + 8]
push edx
call fcn.0040a240
mov dword [ebp - 0x27c], eax
call fcn.004110a0
add esp, 0x1c
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x404a25
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0040a2d0
mov eax, dword [ebp - 0x26c]
jmp 0x404b5d
push 0x3c
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00421260
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x44a5d8
lea ecx, [ebp + 8]
call fcn.0040a370
mov dword [ebp - 0x3c], eax
lea ecx, [ebp + 0x24]
call fcn.0040a370
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x260], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x264], eax
mov word [ebp - 0x25c], 0
push 0x206
push 0
lea edx, [ebp - 0x25a]
push edx
call fcn.00421260
add esp, 0xc
mov eax, dword [ebp - 0x264]
push eax
push str.err_d
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp + 0x24]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x260], 0
jne 0x404b26
mov dword [ebp - 0x270], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0040a2d0
mov eax, dword [ebp - 0x270]
jmp 0x404b5d
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x274], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0040a2d0
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret 0x38
Function at 0x4066e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442360
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4513a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
push eax
call fcn.0040a240
mov dword [ebp - 0x1c], eax
call fcn.004110a0
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x406751
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0040a2d0
jmp 0x40678f
push 1
push 0
lea ecx, [ebp + 0x24]
call fcn.0040a370
push eax
lea ecx, [ebp + 8]
call fcn.0040a370
push eax
push 0x44b314
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.0040a2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x38

Function at 0x406fc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x108], 0
je 0x407081
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x108]
mov dword [edx + 0xc], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040a240
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x108]
call fcn.0040e460
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40702d
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x108]
call fcn.0040e5d0
push str.data_report_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x108]
call fcn.0040e5a0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x108]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40706d
push 1
mov ecx, dword [ebp - 8]
call fcn.00407090
mov dword [ebp - 0x1c], eax
jmp 0x407074
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x108], 0
mov esp, ebp
pop ebp
ret
Function at 0x407ed0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4428d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
push 0
mov eax, dword [ebp - 0x50]
add eax, 0x148
push eax
call fcn.004128b0
add esp, 8
push 0x44b85c
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0040b570
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
add eax, 0x148
push eax
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0040b600
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0040a370
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a370
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp - 0x48]
push eax
call fcn.0040a240
mov dword [ebp - 0x54], eax
call fcn.004110a0
add esp, 0x1c
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x407fa3
push str.Bcrf.dll
mov ecx, dword [ebp - 0x50]
add ecx, 0x148
call fcn.0040a310
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040a2f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040a370
push eax
call fcn.004017d0
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a2d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret
Function at 0x40c0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
call fcn.0040a370
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c176
mov word [ebp - 0x218], 0
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00421260
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0040a370
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c166
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040a310
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c174
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40c17f
jmp 0x40c17a
xor eax, eax
jmp 0x40c17f
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret
Function at 0x40de40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x449170
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40de96
mov dword [ebp - 8], 1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0
push 0x4491b4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40de9d
xor eax, eax
jmp 0x40df48
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push 0x4491c8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40deeb
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0
push 0
push 0x44920c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push 0x449220
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40df3b
mov dword [ebp - 8], 0x10
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
add eax, 8
push eax
push 0
push 0
push 0x449280
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40df3f
xor eax, eax
jmp 0x40df48
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
add eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40df50
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x28]
push eax
push 0x20019
push 0
push str.SYSTEMWPAPnP
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e123
mov dword [ebp - 0x2c], 4
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push str.seed
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xf0000000
push 1
push 0
push 0
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov dword [ebp - 8], 0
push 0
push 4
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push 4
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 0x2c], 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [ebp - 0x28]
push edx
push 0x20006
push 0
push 0x4492c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e087
mov dword [ebp - 8], 0
push 1
lea eax, [ebp - 8]
push eax
push 3
push 0
push 0x44930c
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e08e
xor al, al
jmp 0x40e125
lea eax, [ebp - 0x28]
push eax
push 0x20006
push 0
push 0x449320
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e0d7
mov dword [ebp - 8], 0
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push 0x449364
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
push ecx
push 0x20006
push 0
push 0x449378
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e11b
push 0x10
lea edx, [ebp - 0x24]
push edx
push 3
push 0
push 0x4493d8
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e11f
xor al, al
jmp 0x40e125
mov al, 1
jmp 0x40e125
xor al, al
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret
Function at 0x40e140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
cmp ecx, 0xff
jne 0x40e15e
xor al, al
jmp 0x40e244
lea edx, [ebp - 4]
push edx
push 0x20006
push 0
push 0x4493f0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e1a2
push 1
mov eax, dword [ebp - 8]
push eax
push 3
push 0
push 0x449434
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e1a9
xor al, al
jmp 0x40e244
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
je 0x40e1f7
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e1f7
push 4
mov edx, dword [ebp - 8]
add edx, 4
push edx
push 4
push 0
push str.Policy
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 4]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e23e
push 0x10
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 3
push 0
push str.PrivateHash
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e242
xor al, al
jmp 0x40e244
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40e250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4425bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4513a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
push 0x448dac
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0040a290
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x68], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x6c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x94], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x98], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x9c], 0
push 0x448db0
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.0040a290
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc0], 0
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
Function at 0x40ec70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x455028], 0
jne 0x40ed48
mov dword [ebp - 4], 0
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00421260
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push 0x448268
push 0x105
lea edx, [ebp - 0x218]
push edx
call fcn.0040eb90
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ed48
push str.GetLocaleInfoEx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x40ed23
mov dword [0x455028], 1
jmp 0x40ed2d
mov dword [0x455028], 2
mov dword [ebp - 0x21c], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0
xor eax, eax
cmp dword [0x455028], 1
sete al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret
Function at 0x40f440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4513a8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040ebd0
add esp, 8
test eax, eax
jne 0x40f47a
jmp 0x40f5fd
call fcn.0040f300
test eax, eax
je 0x40f49b
push str.udinstaller64.exe
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.0042249b
add esp, 0xc
jmp 0x40f4b1
push str.udinstaller32.exe
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0042249b
add esp, 0xc
push str.klim
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00421e39
add esp, 8
test eax, eax
jne 0x40f4fa
cmp dword [ebp - 8], 6
jae 0x40f4e4
push str.klim5
push 0x104
mov edx, dword [ebp + 0x10]
push edx
call fcn.00421c2b
add esp, 0xc
jmp 0x40f4fa
push str.klim6
push 0x104
mov eax, dword [ebp + 0x10]
push eax
call fcn.00421c2b
add esp, 0xc
push str.kltdi
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00421e39
add esp, 8
test eax, eax
jne 0x40f52b
cmp dword [ebp - 8], 6
jbe 0x40f52b
push str.klwfp
push 0x104
mov edx, dword [ebp + 0x10]
push edx
call fcn.00421c2b
add esp, 0xc
push 0x105
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.00421260
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.0042249b
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
call fcn.0042249b
add esp, 0xc
push str.___verbose
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.0042249b
add esp, 0xc
mov dword [ebp - 0x25c], 0
push 0x38
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.00421260
add esp, 0xc
mov dword [ebp - 0x25c], 0x3c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24c], ecx
lea edx, [ebp - 0x220]
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x258], 0x40
mov dword [ebp - 0x240], 0
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40f5fd
push 0x2710
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004208a1
mov esp, ebp
pop ebp
ret
Function at 0x40f880
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40f8a1
xor eax, eax
jmp 0x40f915
lea ecx, [ebp - 0x1c]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40f8c4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40f915
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x40f906
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40f915
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret