joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b0c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
push 0
push 0x20006
push 0
push 0x4a19d8
push 0
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.00453990
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44b102
jmp 0x44b143
push 8
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
push 3
push 0
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00453990
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44b136
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x20], 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x44b4c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
add eax, 4
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x24
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44b60d
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.00401ff0
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047159e
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b5d1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x40
call fcn.00401f70
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0047311d
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x78], 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
add eax, 0x40
push eax
mov ecx, dword [ebp + 8]
call fcn.00401cb0
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
jmp 0x44b628
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0047311d
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
add eax, 0x5c
push eax
mov ecx, dword [ebp + 8]
call fcn.00401cb0
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
jmp 0x44b628
mov edx, dword [ebp - 0x20]
add edx, 0x5c
push edx
mov ecx, dword [ebp + 8]
call fcn.00401cb0
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x44b630
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
push 0
push 0x20006
push 0
push 0x4a19ec
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00401ff0
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44b672
jmp 0x44b6c5
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.00401d40
add eax, 1
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.00401ff0
push eax
push 1
push 0
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44b6b8
mov eax, dword [ebp - 8]
mov dword [eax + 0x78], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x44ba60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x24
call fcn.00401ff0
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44bafe
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x40
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.00401ff0
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44bae9
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x48], 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x40]
jmp 0x44bb04
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x44]
jmp 0x44bb04
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x44]
mov esp, ebp
pop ebp
ret
Function at 0x44db60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x28], ecx
cmp dword [ebp + 8], 0
jne 0x44db98
mov ecx, dword [ebp - 8]
call fcn.0044c340
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44db98
mov eax, dword [ebp - 4]
jmp 0x44dc26
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x44c650
push 0
push 0
call fcn.004763d2
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x24], 0
je 0x44dc23
cmp dword [ebp + 8], 0
jne 0x44dc23
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x44dc0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetExitCodeThread_reg_error:0x_x
push 0x4a1f08
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x44dda0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
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 0x44ddc1
xor eax, eax
jmp 0x44de13
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
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]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44de04
xor eax, eax
jmp 0x44de13
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44e300
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b90a8
push 0x476cc0
mov eax, dword fs:[0]
push eax
add esp, 0xfffff998
mov eax, dword [0x4c1280]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x46c], 2
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x464], 0
xor eax, eax
mov word [ebp - 0x678], ax
push 0x206
push 0
lea ecx, [ebp - 0x676]
push ecx
call fcn.00472990
add esp, 0xc
xor edx, edx
mov word [ebp - 0x460], dx
push 0x206
push 0
lea eax, [ebp - 0x45e]
push eax
call fcn.00472990
add esp, 0xc
mov dword [ebp - 0x250], 0
push 0x228
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.00472990
add esp, 0xc
mov dword [ebp - 4], 0
push str.Explorer.EXE
lea edx, [ebp - 0x678]
push edx
call fcn.00472bf6
add esp, 8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
jne 0x44e42c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
push eax
push str.CreateToolhelp32Snapshot_error:0x_x
push 0x4a2184
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44e4da
mov dword [ebp - 0x250], 0x22c
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x464]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44e47d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
push eax
push str.Process32First_error:0x_x
push 0x4a21d8
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 0xc
jmp 0x44e4da
push 0x104
lea ecx, [ebp - 0x678]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.00476c14
add esp, 0xc
test eax, eax
jne 0x44e4c3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0044de20
add esp, 0x14
mov dword [ebp - 0x258], eax
jmp 0x44e4da
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x464]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44e47d
mov dword [ebp - 4], 0xfffffffe
call fcn.0044e4e8
jmp 0x44e515
cmp dword [ebp - 0x258], 0
jne 0x44e53c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044e080
add esp, 0x10
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret
Function at 0x44ece0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x44ece9
xor ecx, ecx
jne 0x44ece9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44ed30
mov eax, dword [ebp - 0xc]
jmp 0x44ed8d
cmp dword [ebp - 4], 1
je 0x44ed43
cmp dword [ebp - 4], 2
je 0x44ed43
mov eax, 0xd
jmp 0x44ed8d
cmp dword [ebp + 0xc], 0
je 0x44ed81
cmp dword [ebp - 8], 0
je 0x44ed79
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x44ed70
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x44ed77
mov eax, 0xd
jmp 0x44ed8d
jmp 0x44ed81
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x451e90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0044bd70
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0044ec80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x451efb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0044ebc0
mov eax, dword [ebp - 0x224]
jmp 0x451f8c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x451f61
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00451e90
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x451f58
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0044ebc0
mov eax, dword [ebp - 0x228]
jmp 0x451f8c
mov dword [ebp - 4], 0x100
jmp 0x451f02
lea ecx, [ebp - 0x14]
call fcn.0044ebe0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00451dc0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0044ebc0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret 4
Function at 0x452580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x452589
xor ecx, ecx
jne 0x452589
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4525aa
mov eax, 0xd
jmp 0x452605
xor eax, eax
jne 0x452591
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4525bb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x455bf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a2a
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x4c3688
call fcn.0045e3e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042e050
test eax, eax
jle 0x455e1b
xor eax, eax
mov word [ebp - 0x234], ax
xor ecx, ecx
mov dword [ebp - 0x232], ecx
push 2
lea ecx, [ebp - 0x10]
call fcn.00453990
push eax
push 3
lea edx, [ebp - 0x234]
push edx
call fcn.00475aa8
add esp, 0x10
lea ecx, [ebp - 0x225]
call fcn.00427990
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], 0xffffffff
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 3
jne 0x455ce0
movzx ecx, word [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x225]
call fcn.0041e210
movzx edx, al
test edx, edx
jne 0x455ce0
mov dword [ebp - 0x220], 1
cmp dword [ebp - 0x220], 0
jne 0x455d48
push 0x10
push 0x3e8
call fcn.00429ff0
add esp, 4
push eax
push 0x4a7
call fcn.00429ff0
add esp, 4
push eax
mov ecx, dword [ebp - 0x244]
add ecx, 4
call fcn.00456450
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x225]
call fcn.0041f800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042ed20
mov eax, dword [ebp - 0x238]
jmp 0x455e3a
push 0x4a3240
lea ecx, [ebp - 0x10]
call fcn.0042e350
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.00472990
add esp, 0xc
push 0x4a3244
push 0x4a325c
push 0x4a3270
push 0x104
lea edx, [ebp - 0x21c]
push edx
call fcn.00474cf2
add esp, 0x14
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.0042f3f0
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24c]
push ecx
mov ecx, 0x4c36a0
call fcn.0042e090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.0042ed20
mov ecx, 0x4c36a0
call fcn.00453990
push eax
mov ecx, dword [ebp - 0x244]
add ecx, 0x54
call fcn.00453f80
push 0x4a3280
mov ecx, 0x4c36a0
call fcn.0042e350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x225]
call fcn.0041f800
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042ed20
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret 0x10
Function at 0x458330
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x230], ecx
push 0x3f4
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00453fd0
mov ecx, eax
call fcn.00453990
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x54
call fcn.00449500
push 0x3ed
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00453fd0
mov ecx, eax
call fcn.00453990
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x58
call fcn.00449500
push 0x64
push 0
mov ecx, dword [ebp - 0x230]
add ecx, 0x58
call fcn.004548d0
push 1
mov ecx, dword [ebp - 0x230]
add ecx, 0x58
call fcn.004548a0
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00472990
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x218]
push edx
call fcn.00401000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x458497
push 0x5f
mov eax, dword [ebp - 4]
push eax
call fcn.00408090
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x458497
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
push 0x2e
mov edx, dword [ebp - 4]
push edx
call fcn.00401000
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x458497
xor eax, eax
mov ecx, dword [ebp - 0x21c]
mov word [ecx], ax
mov edx, dword [ebp - 4]
push edx
mov ecx, 0x4c3688
call fcn.00460f80
test eax, eax
je 0x458497
mov eax, dword [ebp - 4]
push eax
push 0x3f3
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00453fd0
mov ecx, eax
call fcn.00453f80
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00472990
add esp, 0xc
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x4584f1
lea edx, [ebp - 0x218]
push edx
push 0x3e9
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00453fd0
mov ecx, eax
call fcn.00453f80
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret 8
Function at 0x45a190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x83c], ecx
call fcn.0044fad0
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x818], 0xffffffff
mov dword [ebp - 0x81c], 0
xor eax, eax
mov word [ebp - 0x408], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x406]
push ecx
call fcn.00472990
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x45a369
cmp dword [ebp + 0xc], 0
je 0x45a369
push 0x4a50d8
mov edx, dword [ebp + 8]
push edx
call fcn.004755c1
add esp, 8
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
je 0x45a34e
lea eax, [ebp - 0x830]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0045a570
jmp 0x45a23b
lea ecx, [ebp - 0x830]
call fcn.0045a670
lea ecx, [ebp - 0x838]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0045a5a0
push eax
lea ecx, [ebp - 0x830]
call fcn.00431a50
movzx edx, al
test edx, edx
je 0x45a31a
push 0x404
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.00472990
add esp, 0xc
mov dword [ebp - 0x810], 0x47554152
push 0x400
push 0
lea ecx, [ebp - 0x408]
push ecx
call fcn.00472990
add esp, 0xc
lea edx, [ebp - 0x408]
push edx
lea ecx, [ebp - 0x830]
call fcn.0045a650
add eax, 4
push eax
call fcn.0040b500
mov ecx, eax
call fcn.0040b770
lea eax, [ebp - 0x408]
push eax
call fcn.00472967
add esp, 4
test eax, eax
jbe 0x45a315
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x80c]
push edx
call fcn.00472c24
add esp, 8
lea eax, [ebp - 0x80c]
push eax
call fcn.004794ea
add esp, 4
mov ecx, dword [ebp - 0x81c]
push ecx
push 1
push 0x404
lea edx, [ebp - 0x810]
push edx
call fcn.0047515f
add esp, 0x10
cmp eax, 1
je 0x45a315
jmp 0x45a31a
jmp 0x45a230
mov eax, dword [ebp - 0x81c]
push eax
call fcn.00477ab6
add esp, 4
mov ecx, dword [ebp - 0x81c]
push ecx
call fcn.00474bde
add esp, 4
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
jmp 0x45a369
push str.open_protect_file_failed
push 0x4a50e0
call fcn.00401340
add esp, 4
push eax
call fcn.00401590
add esp, 8
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret 8
Function at 0x45f2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4968c3
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x14]
call fcn.0040b370
mov dword [ebp - 4], 0
push 0x4a60a0
push str.drivers_
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0045f640
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0042f3f0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0042f3f0
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
call fcn.00453990
push eax
lea ecx, [ebp - 0x34]
call fcn.00401c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0042ed20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.0042ed20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0042ed20
lea ecx, [ebp - 0x34]
call fcn.00401ff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45f40b
push str.driver_not_exist
push 0x4a60c8
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 8
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b430
mov eax, dword [ebp - 0x44]
jmp 0x45f47e
mov ecx, dword [ebp - 0x50]
call fcn.0045f200
test eax, eax
jne 0x45f459
push str.register_info_not_exist
push 0x4a60f8
call fcn.00401340
add esp, 4
push eax
call fcn.004013f0
add esp, 8
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b430
mov eax, dword [ebp - 0x48]
jmp 0x45f47e
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b430
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00472a79
mov esp, ebp
pop ebp
ret