joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10154bb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x101ccce8]
mov word [ebp - 0x110], ax
mov cl, byte [0x101cccea]
mov byte [ebp - 0x10e], cl
push 0x104
push 0
lea edx, [ebp - 0x10d]
push edx
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x220], 0
push 0x103
push 0
lea eax, [ebp - 0x21f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x118], 0x104
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x10e]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x10154c42
xor eax, eax
jmp 0x10154dc7
cmp dword [ebp + 8], 0
je 0x10154c5b
lea eax, [ebp - 0x10e]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e460
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x10154dbe
mov dword [ebp - 0x240], 0
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0x208
mov dword [ebp - 0x118], 0x104
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0x20000
call sub.MPR.dll_WNetGetProviderNameA
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x10154cf4
push str.Microsoft_Windows_Network
lea edx, [ebp - 0x220]
push edx
call fcn.1011e460
add esp, 8
mov dword [ebp - 0x23c], 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], ecx
push 0x996
push 0x101ccd08
push 0x101ccd28
mov edx, dword [ebp - 0x244]
push edx
call fcn.1014adb0
add esp, 0x10
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x240]
push edx
call sub.MPR.dll_WNetGetResourceParentA
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x10154d9e
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1011e460
add esp, 8
push 0x99c
push 0x101ccd3c
push 0x101ccd5c
mov eax, dword [ebp - 0x248]
push eax
call fcn.1014acc0
add esp, 0x10
mov eax, 1
jmp 0x10154dc7
push 0x99f
push str.cutil_sysinfo_GetComputerName
push 0x101ccd90
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.1014acc0
add esp, 0x10
jmp 0x10154dc5
mov eax, 1
jmp 0x10154dc7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10155280
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101552b5
xor eax, eax
jmp 0x10155434
push 0x7db
push 0x101cca9c
push 0x101ccab8
mov eax, dword [ebp - 4]
add eax, 1
push eax
call fcn.1014adb0
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, dword [ebp - 4]
sub ecx, 1
cmp eax, ecx
je 0x101552f5
xor eax, eax
jmp 0x10155434
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.1011e3a0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x10155417
cmp dword [ebp + 8], 0
jne 0x101553ed
cmp dword [ebp + 0xc], 0
je 0x10155334
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1011e460
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
je 0x1015534f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
cmp dword [ebp - 0x1c], 3
je 0x1015535b
cmp dword [ebp - 0x1c], 2
jne 0x1015539f
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x1015539d
cmp dword [ebp + 0x14], 0
je 0x10155389
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
cmp dword [ebp + 0x18], 0
je 0x1015539d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
jmp 0x101553cb
cmp dword [ebp + 0x14], 0
je 0x101553b5
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov dword [ecx + 4], 0
cmp dword [ebp + 0x18], 0
je 0x101553cb
mov edx, dword [ebp + 0x18]
mov dword [edx], 0
mov dword [edx + 4], 0
push 0x807
push 0x101ccacc
push 0x101ccae8
mov eax, dword [ebp - 8]
push eax
call fcn.1014acc0
add esp, 0x10
mov eax, 1
jmp 0x10155434
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1011e3a0
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
jmp 0x1015530a
push 0x810
push str.cutil_sysinfo_GetDriveInfo
push 0x101ccb18
mov eax, dword [ebp - 8]
push eax
call fcn.1014acc0
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10155440
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10155485
xor eax, eax
xor edx, edx
jmp 0x10155560
push 0x7a8
push 0x101cca34
push 0x101cca54
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call fcn.1014adb0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
cmp eax, ecx
je 0x101554c7
xor eax, eax
xor edx, edx
jmp 0x10155560
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.1011e3a0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x1015553f
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jne 0x10155521
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x10155521
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
adc ecx, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.1011e3a0
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x101554dc
push 0x7c3
push str.cutil_sysinfo_GetDiskTotalSpace
push 0x101cca88
mov eax, dword [ebp - 0x10]
push eax
call fcn.1014acc0
add esp, 0x10
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10155570
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x40], 0x40
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x101555ab
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
cmp dword [ebp + 0xc], 0
je 0x101555bf
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
cmp dword [ebp + 0x10], 0
je 0x101555d3
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 4], ecx
cmp dword [ebp + 0x14], 0
je 0x101555e7
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 4], ecx
cmp dword [ebp + 0x18], 0
je 0x101555fb
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
cmp dword [ebp + 0x1c], 0
je 0x1015560f
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10155740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10154b60
test eax, eax
jne 0x10155760
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 4], eax
jmp 0x1015578b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
mov dword [ebp - 4], eax
push str.SysWOW64
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e470
add esp, 8
mov edx, dword [ebp - 4]
add edx, 9
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x101557a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [str.mshtml.dll]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x101ccfa4]
mov dword [ebp - 0x1c], ecx
mov dx, word [0x101ccfa8]
mov word [ebp - 0x18], dx
mov al, byte [0x101ccfaa]
mov byte [ebp - 0x16], al
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x130], 0
push 0x103
push 0
lea ecx, [ebp - 0x12f]
push ecx
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x138], 0
cmp dword [ebp + 8], 0
je 0x10155837
cmp dword [ebp + 0xc], 0
ja 0x1015587e
push 0x101ccfac
push 0x9e2
push 0x101ccfbc
push 0x101ccfd8
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101ccfec
push 0x9e2
push str.GetIEVersionByReadFileInfo
push 0x101cd018
push 1
call fcn.1014f750
add esp, 0x14
xor edx, edx
jne 0x10155837
xor eax, eax
jmp 0x101559f1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x1015598a
mov edx, dword [ebp - 0x138]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x10155988
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1015597b
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x144]
push edx
push 0x101cd02c
mov eax, dword [ebp - 0x13c]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1015597b
cmp dword [ebp - 0x140], 0
je 0x1015597b
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 8]
shr edx, 0x10
movzx eax, dx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
movzx eax, dx
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1015598e
xor eax, eax
jmp 0x101559f1
cmp dword [ebp - 0x24], 0
jne 0x10155998
xor eax, eax
jmp 0x101559f1
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.1011e8d0
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str._d._d._d._d
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.1011a6b9
add esp, 0x1c
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1014e0f0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10155c40
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 4], pe_nt_image_headers32
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x124]
jb 0x10155ca0
xor eax, eax
jmp 0x10155d3b
mov eax, dword [ebp + 8]
push eax
push str.HardwareDescriptionSystemCentralProcessor_d
lea ecx, [ebp - 0x110]
push ecx
call fcn.1011a63e
add esp, 0xc
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x110]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x10155ce8
xor eax, eax
jmp 0x10155d3b
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
push str.ProcessorNameString
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x10155d20
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10155d3b
mov edx, dword [ebp + 0xc]
push edx
call fcn.1014eda0
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10156ac0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.1011e8d0
add esp, 0xc
push 0
call fcn.10155720
add esp, 4
push eax
call fcn.1011ee0a
add esp, 4
call fcn.1011ee17
cdq
mov ecx, 0x1f4
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [ebp - 0x110]
push edx
push str._COMPUTERNAME_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1011ee17
push eax
lea eax, [ebp - 0x110]
push eax
push str._s__x__x
mov ecx, dword [ebp + 0xc]
sub ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1011a6b9
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10156db0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x10156dfb
xor eax, eax
jmp 0x10157036
push 0x104
lea ecx, [ebp - 0x118]
push ecx
call fcn.10156b70
add esp, 8
test eax, eax
jne 0x10156e5a
push 0x101cbf10
push 0x426
push 0x101cbf24
push 0x101cbf44
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101cbf58
push 0x426
push 0x101cbf6c
push 0x101cbf8c
push 1
call fcn.1014f750
add esp, 0x14
xor edx, edx
jne 0x10156e13
xor eax, eax
jmp 0x10157036
lea eax, [ebp - 0x118]
push eax
call fcn.1014c440
add esp, 4
push 0x80
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10156f5d
lea eax, [ebp - 0x118]
push eax
push 0x101cbfa0
push 0x438
push 0x101cbfb0
push 0x101cbfd0
push 1
call fcn.1014edc0
add esp, 0x18
lea ecx, [ebp - 0x118]
push ecx
push 0x101cbfe4
push 0x438
push 0x101cbff4
push 0x101cc014
push 1
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x10156ea7
lea eax, [ebp - 0x118]
push eax
call fcn.1014bd70
add esp, 4
test eax, eax
jne 0x10156f56
lea ecx, [ebp - 0x118]
push ecx
push 0x101cc028
push 0x43b
push 0x101cc038
push 0x101cc058
push 1
call fcn.1014edc0
add esp, 0x18
lea edx, [ebp - 0x118]
push edx
push 0x101cc06c
push 0x43b
push 0x101cc07c
push 0x101cc09c
push 1
call fcn.1014f750
add esp, 0x18
xor eax, eax
jne 0x10156f08
xor eax, eax
jmp 0x10157036
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1011e3a0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jg 0x10156fda
mov eax, dword [ebp + 8]
push eax
push 0x101cc0b0
push 0x445
push 0x101cc0c4
push 0x101cc0e4
push 1
call fcn.1014edc0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
push 0x101cc0f8
push 0x445
push 0x101cc10c
push 0x101cc12c
push 1
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x10156f8e
xor eax, eax
jmp 0x10157036
push 2
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp + 8]
push ecx
push 0x101cc140
push 0x44b
push 0x101cc158
push 0x101cc178
push 2
call fcn.1014edc0
add esp, 0x18
mov edx, dword [ebp + 8]
push edx
push 0x101cc18c
push 0x44b
push str.cutil_sysinfo_SetComputerIDFile
push 0x101cc1c4
push 2
call fcn.1014f750
add esp, 0x18
xor eax, eax
jne 0x10156fe9
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret 8
Function at 0x10157050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.1011e8d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x1015709d
cmp dword [ebp + 0xc], 0
ja 0x101570e4
push 0x101cbc30
push 0x3ec
push 0x101cbc3c
push 0x101cbc60
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101cbc74
push 0x3ec
push 0x101cbc80
push 0x101cbca4
push 1
call fcn.1014f750
add esp, 0x14
xor ecx, ecx
jne 0x1015709d
xor eax, eax
jmp 0x101572dc
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.10156c00
add esp, 8
test eax, eax
jne 0x10157143
push 0x101cbcb8
push 0x3f2
push 0x101cbcd0
push 0x101cbcf4
push 1
call fcn.1014edc0
add esp, 0x14
push 0x101cbd08
push 0x3f2
push 0x101cbd20
push 0x101cbd44
push 1
call fcn.1014f750
add esp, 0x14
xor eax, eax
jne 0x101570fc
xor eax, eax
jmp 0x101572dc
push 0
push 0x80
push 3
push 0
push 7
push closesocket
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10157225
lea edx, [ebp - 0x110]
push edx
push 0x101cbd58
push 0x401
push 0x101cbd68
push 0x101cbd8c
push 1
call fcn.1014edc0
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
push 0x101cbda0
push 0x401
push 0x101cbdb0
push 0x101cbdd4
push 1
call fcn.1014f750
add esp, 0x18
xor ecx, ecx
jne 0x1015716f
lea edx, [ebp - 0x110]
push edx
call fcn.1014bd70
add esp, 4
test eax, eax
jne 0x1015721e
lea eax, [ebp - 0x110]
push eax
push 0x101cbde8
push 0x404
push 0x101cbdf8
push 0x101cbe1c
push 1
call fcn.1014edc0
add esp, 0x18
lea ecx, [ebp - 0x110]
push ecx
push 0x101cbe30
push 0x404
push 0x101cbe40
push 0x101cbe64
push 1
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x101571d0
xor eax, eax
jmp 0x101572dc
cmp dword [ebp + 0xc], 0x400
jbe 0x1015723a
mov dword [ebp - 0x118], 0x400
jmp 0x10157243
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
push 0
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101572c1
lea edx, [ebp - 0x110]
push edx
push 0x101cbe78
push 0x40b
push 0x101cbe8c
push 0x101cbeb0
push 1
call fcn.1014edc0
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
push 0x101cbec4
push 0x40b
push str.cutil_sysinfo_GetComputerIDFileOld
push 0x101cbefc
push 1
call fcn.1014f750
add esp, 0x18
xor ecx, ecx
jne 0x10157265
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x101572dc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call fcn.10155620
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret 8
Function at 0x405740
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045e541
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4057c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045bff7
mov eax, dword [eax]
push 0x4871d0
push eax
call fcn.0044ed44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e7cc
test bl, bl
je 0x4057c2
push 0x4871d0
lea ecx, [esp + 0xc]
call fcn.0045eba8
push 0x48ad18
lea ecx, [esp + 0xc]
call fcn.0045eba8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4057fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e7cc
jmp 0x4058c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405882
lea edx, [esp + 0x7c]
push 0x48ad14
push edx
call fcn.0044ed44
add esp, 8
test eax, eax
je 0x405882
lea eax, [esp + 0x7c]
push 0x48ad10
push eax
call fcn.0044ed44
add esp, 8
test eax, eax
je 0x405882
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405812
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045e7cc
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4060c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406122
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc