joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c8f30
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x100c8fb4
cmp byte [esp + 0x10], 0
mov dword [esp + 4], 0
je 0x100c8f69
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x100c8fb4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100c8fb4
push eax
push 0
push 1
call sym.WMCommon.dll_public:_static_void____cdecl_WM::GMShellUtils::MyOpenProcess_unsigned_long_int__int__unsigned_long_int_
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100c8fb4
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
pop ecx
ret
mov al, 1
pop esi
pop ecx
ret

Function at 0x100c8fc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024ec19
push eax
mov dword fs:[0], esp
sub esp, 0x54
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
je 0x100c90ca
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x100c90aa
lea eax, [ebp - 0x24]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMShellUtils::GetIEPath_void_
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
test al, al
je 0x100c9093
cmp dword [edi + 0x14], 8
jb 0x100c901d
mov edi, dword [edi]
cmp dword [ebp - 0x10], 8
xorps xmm0, xmm0
push esi
lea esi, [ebp - 0x24]
movlpd qword [ebp - 0x5c], xmm0
cmovae esi, dword [ebp - 0x24]
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x60], 0x3c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x54], 0x10266aac
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x100c90ca
cmp dword [edi + 0x14], 8
jb 0x100c90b6
mov edi, dword [edi]
push 1
push 0
push 0
push edi
push 0x10266aac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100c90e0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 8
jb 0x100c90ec
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push 0x10266aac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x100ca8e0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0x110
jne 0x100ca91c
push dword [esp + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sym.WMCommon.dll_public:_static_int___cdecl_WM::GMWindowUtils::CenterWindow_struct_HWND____
add esp, 4
push 0
push 0x410
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10
Function at 0x100cb050
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x48]
push edi
cmp dword [esi + 0x14], 8
jb 0x100cb061
mov esi, dword [esi]
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x14], 8
jb 0x100cb06d
mov edi, dword [edi]
xorps xmm0, xmm0
mov dword [esp + 8], 0x3c
movlpd qword [esp + 0xc], xmm0
movlpd qword [esp + 0x14], xmm0
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0x10], eax
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x14], 0x10266aac
cmp byte [esp + 0x50], al
mov dword [esp + 0x18], edi
cmovne eax, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
je 0x100cb103
cmp dword [esp + 0x20], 0x20
seta al
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret

Function at 0x100cb6c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push 0
push dword [esp + 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [esp + 0x210]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
jne 0x100cb723
push eax
push 0x10255fec
mov ecx, esi
mov word [esi], ax
call fcn.1001a600
mov eax, esi
pop esi
add esp, 0x208
ret
xor eax, eax
lea ecx, [esp + 4]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cb730
sub ecx, edx
lea eax, [esp + 4]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001a600
mov eax, esi
pop esi
add esp, 0x208
ret

Function at 0x100cb780
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp], eax
cmp eax, 1
jne 0x100cb7e7
lea eax, [esp]
push eax
push dword [esp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 4]
neg eax
sbb eax, eax
and dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp]
cmp eax, 1
sete al
add esp, 0x10
ret
Function at 0x100cb7f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov dword [esp], 0x3c
test eax, eax
jne 0x100cb825
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
test esi, esi
jne 0x100cb864
mov dword [esp + 0x3c], esi
jmp 0x100cb86d
mov dword [esi], 0
or eax, 0x40
mov dword [esp + 8], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100cb897
test esi, esi
je 0x100cb88a
mov eax, dword [esp + 0x3c]
mov dword [esi], eax
cmp dword [esp + 0x24], 0x20
pop esi
seta al
add esp, 0x3c
ret
mov esi, dword [esp + 0x58]
test esi, esi
je 0x100cb8a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop esi
add esp, 0x3c
ret
Function at 0x100cb8b0
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024ee6a
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x20
push esi
mov esi, dword [ebx + 0xc]
mov ecx, esi
push edi
push 0
push 0x25
call fcn.1001ce80
push esi
cmp eax, 0xffffffff
jne 0x100cb913
mov ecx, dword [ebx + 8]
call fcn.1001a380
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x2c]
call fcn.1001a380
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100cb92c
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
jne 0x100cb964
mov ecx, dword [ebx + 8]
push esi
call fcn.1001a380
lea ecx, [ebp - 0x2c]
call fcn.1001a5a0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006e70d
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x14], 8
jb 0x100cb98b
mov esi, dword [esi]
lea ecx, [edi + 1]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x14]
test eax, eax
je 0x100cb9c9
cmp eax, edi
ja 0x100cb9c9
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cb9b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.1001a600
push esi
call fcn.1006e708
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x2c]
movups xmm0, xmmword [ebp - 0x2c]
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100cbdd0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
lea eax, [esp]
push esi
push 0x208
push 0
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [esp + 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [esp + 4]
push 0x104
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x104
lea eax, [esp + 0x210]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [esp + 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cbe30
sub ecx, edx
lea eax, [esp + 4]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x70]
call fcn.1001a600
lea ecx, [esp + 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cbe57
sub ecx, edx
lea eax, [esp + 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x58]
call fcn.1001a600
lea eax, [esi + 0x1c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowInfo]
test eax, eax
jne 0x100cbe92
xor al, al
pop esi
add esp, 0x410
ret
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x40]
shr eax, 0x1e
test al, 1
je 0x100cbebd
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esi], eax
push dword [esi + 0x18]
mov dword [esi + 0x14], 1
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x100cbee2
mov dword [esi + 0x14], 2
mov al, 1
pop esi
add esp, 0x410
ret
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x100cbef6
mov dword [esi + 0x14], 3
mov al, 1
pop esi
add esp, 0x410
ret

Function at 0x100cc650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
push esi
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x230]
mov dword [esp + 0x10], eax
movzx eax, byte [ebp + 0x14]
xor eax, 1
mov dword [esp + 0x24], 0
shl eax, 9
or eax, 0x1051
mov dword [esp + 0x1c], 0x100cc740
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x100cc72d
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [esp + 0x28]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100cc700
sub edx, ecx
lea eax, [esp + 0x28]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.1001a600
push dword [esp + 4]
call dword [sym.imp.SHELL32.dll_ILFree]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 4]
call dword [sym.imp.SHELL32.dll_ILFree]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100cc820
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [esp + 8]
cmp eax, edi
jne 0x100cc883
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x100cc845
push 3
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x100cc85b
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100cc911
movzx eax, byte [esp + 0xc]
xor eax, 1
lea eax, [eax*4 + 1]
push eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
push edi
mov ebx, eax
call esi
push 1
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x100cc8b3
push 3
jmp 0x100cc8d2
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x100cc8c2
push 9
jmp 0x100cc8d2
movzx eax, byte [esp + 0x18]
xor eax, 1
lea eax, [eax*4 + 1]
push eax
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
pop ebx
pop edi
ret

Function at 0x100ccf60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ef2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], 0
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x100cd013
push ebx
push esi
lea esi, [eax + eax]
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006e70d
add esp, 4
mov ebx, eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jg 0x100cd008
xor ecx, ecx
mov word [ebx + eax*2], cx
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ccff0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, edi
call fcn.1001a600
push ebx
call fcn.1006e708
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100d13a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2d28
call fcn.1006fb30
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push edi
mov dword [esp + 0x18], ecx
xor esi, esi
push esi
lea eax, [esp + 0x44]
push str..PhysicalDrive_d
push eax
call fcn.1002eb30
add esp, 0xc
lea eax, [esp + 0x40]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100d1519
push 0x2710
lea eax, [esp + 0x62c]
mov dword [esp + 0x18], 0
push 0
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push 0
push eax
push 0x2710
lea eax, [esp + 0x634]
push eax
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push edi
call ebp
test eax, eax
je 0x100d14bd
mov eax, dword [esp + 0x640]
lea ecx, [esp + 0x628]
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call sym.WMCommon.dll_private:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_WM::GMDiskIDImpl::flipAndCodeBytes_char__
cmp dword [eax + 0x14], 0x10
jb 0x100d1480
mov eax, dword [eax]
mov cl, byte [eax]
lea eax, [eax + 1]
test cl, cl
jne 0x100d1480
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jb 0x100d14bf
mov ecx, dword [esp + 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d14b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d152d
push edx
push ecx
call fcn.1006e6d7
add esp, 8
jmp 0x100d14bf
call ebx
push 0x2710
lea eax, [esp + 0x62c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push 0
push eax
push 0x2710
lea eax, [esp + 0x634]
push eax
push 0
push 0
push 0x2d0c10
push edi
call ebp
test eax, eax
je 0x100d1510
xor ecx, ecx
nop dword [eax]
mov al, byte [esp + ecx + 0x638]
lea ecx, [ecx + 1]
test al, al
jne 0x100d1500
jmp 0x100d1512
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x100d13c6
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x100d1b00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
push edi
push 0x110
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
mov esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esi + 4]
xor edi, edi
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100d1b6e
nop dword [eax]
mov eax, dword [esi]
push 2
push dword [eax + edi*4]
call fcn.1006e6d7
mov eax, dword [esi + 4]
inc edi
mov ecx, dword [esi]
add esp, 8
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x100d1b50
cmp dword [esp + 0x20], 2
mov dword [esi + 4], ecx
jne 0x100d1b9c
mov ecx, esi
call sym.WMCommon.dll_private:_int___thiscall_WM::GMDiskIDImpl::ReadPhysicalDriveInNTWithAdminRights_void_
mov ecx, esi
call sym.WMCommon.dll_private:_int___thiscall_WM::GMDiskIDImpl::ReadIdeDriveAsScsiDriveInNT_void_
mov ecx, esi
call sym.WMCommon.dll_private:_int___thiscall_WM::GMDiskIDImpl::ReadPhysicalDriveInNTUsingSmart_void_
mov eax, dword [esi]
cmp eax, dword [esi + 4]
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
nop
test ebx, ebx
jne 0x100d1bb3
mov ecx, esi
call sym.WMCommon.dll_private:_int___thiscall_WM::GMDiskIDImpl::ReadDrivePortsInWin9X_void_
inc edi
mov ebx, eax
cmp edi, 0xa
jl 0x100d1ba0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100d3990
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push esi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [esi + 0x68]
mov dword [esi + 0x88], eax
test eax, eax
jne 0x100d39b8
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x64], eax
mov al, 1
pop esi
add esp, 0x24
ret
Function at 0x100d5770
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024f53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ecx + 0x114]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [ecx + 0x110]
mov dword [ebp - 0x18], ecx
cmp eax, dword [edi + 4]
jne 0x100d5898
mov eax, dword [ebx]
mov edi, dword [edi]
mov esi, dword [eax]
mov edi, dword [edi]
cmp esi, eax
je 0x100d58d9
nop dword [eax]
cmp dword [edi + 0x24], 8
lea eax, [esi + 0x10]
lea edx, [edi + 0x10]
jb 0x100d57cf
mov edx, dword [edi + 0x10]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
jb 0x100d57df
mov eax, dword [eax]
jmp 0x100d57e2
mov eax, dword [ebp - 0x14]
cmp ecx, dword [edi + 0x20]
jne 0x100d5898
push ecx
mov ecx, eax
call fcn.1001b210
add esp, 4
test eax, eax
jne 0x100d5898
mov eax, dword [esi + 0x28]
cmp eax, dword [edi + 0x28]
jne 0x100d5898
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100d5834
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100d5830
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x100d5830
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100d5820
mov esi, eax
jmp 0x100d584c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100d584c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100d5840
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x100d5874
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x100d5870
nop
cmp edi, dword [eax + 8]
jne 0x100d5870
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100d5860
mov edi, eax
jmp 0x100d588c
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x100d588c
nop
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100d5880
mov eax, ebx
cmp esi, dword [eax]
jne 0x100d57c0
jmp 0x100d58d9
cmp ebx, dword [ebp + 8]
je 0x100d58d9
mov dword [ebp - 4], 0
mov ecx, ebx
mov esi, dword [ebx]
push dword [esi + 4]
call fcn.10027e70
mov eax, dword [ebx]
mov ecx, ebx
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [eax + 8], esi
mov dword [ebx + 4], 0
call fcn.1002a540
cmp byte [ebp + 0xc], 0
je 0x100d5912
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMHardwareDetect::DetectOS_void_
mov ecx, ebx
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMHardwareDetect::DetectRealMemory_void_
push ebx
mov dword [ebx], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, ebx
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMHardwareDetect::DetectCPU_void_
mov ecx, ebx
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMHardwareDetect::DetectVideoCard_void_
mov ecx, ebx
call sym.WMCommon.dll_public:_void___thiscall_WM::GMHardwareDetect::DetectUSB_void_
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8