joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa12f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xa12ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xa13035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00a12e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xa12fc5
mov edi, 0xa2d8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xa13035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00a12e00
add edi, 4
add esp, 0xc
cmp edi, 0xa2d8c0
jb 0xa13000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xa13070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00a19082
mov esi, eax
add esp, 8
test esi, esi
je 0xa13107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xa13102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00a18946
add esp, 8
test eax, eax
je 0xa130e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xa130e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00a18946
add esp, 8
test eax, eax
jne 0xa130c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xa13102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xa13f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xa289fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xa14002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00a17dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xa14002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00a0f6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00a1820b
push 0x10
call fcn.00a181d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xa13fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00a041c0
jmp 0xa13fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00a13b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xa13ff0
mov ecx, edi
call fcn.00a042c0
push edi
call fcn.00a181c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xa14021
inc ebx
cmp ebx, 0x20
jb 0xa13f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xa15250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa29808
push 0xa19288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xa15329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xa15329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00a181d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xa15329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xa15329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xa1532c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00a15351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa15d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xa15d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xa15d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xa15d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xa15d94
push eax
push esi
call fcn.00a1820b
add esp, 8
pop esi
ret 0x10

Function at 0xa15da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa15e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xa15e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xa2e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00a17dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xa15dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xa15e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa15ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xa15eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xa2e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00a17dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xa15eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xa15e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xa16000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xa16131
push esi
call fcn.00a19145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00a08080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xa16131
push 0
push ebp
call fcn.00a083a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00a08260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xa1608b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00a082f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xa16121
push 0xa2e918
push edi
call fcn.00a173f0
push eax
push ebx
push esi
call fcn.00a15f60
push 0xa2e8f8
push edi
call fcn.00a173f0
push eax
push ebx
push esi
call fcn.00a15f60
push 0xa2e8d8
push edi
call fcn.00a173f0
push eax
push ebx
push esi
call fcn.00a15f60
push 0xa2e8c0
push edi
call fcn.00a173f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00a15f60
push 0xa2e8a0
push edi
call fcn.00a173f0
push eax
push ebx
push esi
call fcn.00a15f60
push 0xa2e888
push edi
call fcn.00a173f0
push eax
push ebx
push esi
call fcn.00a15f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xa171b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a17140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a17140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a17140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a17140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa17bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa17c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa2987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa17c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa17c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401d5a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
push ebx
push esi
push edi
and dword [ebp - 0x19c], 0
xor edi, edi
mov dword [ebp - 0x2a4], 0x10a3
mov eax, dword [ebp - 0x2a4]
or eax, eax
jl 0x401d99
cmp eax, dword [0x4040e0]
jge 0x401d99
cmp byte [eax + 0x4040e4], 0x54
jl 0x401e5f
mov dword [ebp - 0x2a8], 0xd32
mov eax, dword [ebp - 0x2a8]
or eax, eax
jl 0x401dc3
cmp eax, dword [0x4040e0]
jge 0x401dc3
cmp byte [eax + 0x4040e4], 0x19
jge 0x401e48
mov dword [ebp - 0x2ac], 0x140a
jmp 0x401e1b
mov eax, dword [ebp - 0x2ac]
or eax, eax
jl 0x401df0
cmp eax, dword [0x4040e0]
jge 0x401df0
movsx eax, byte [eax + 0x4040e4]
cmp eax, 0xc8
jle 0x401e31
mov eax, dword [ebp - 0x2ac]
or eax, eax
jl 0x401e11
cmp eax, dword [0x4040e0]
jge 0x401e11
movsx eax, byte [eax + 0x4040e4]
cmp eax, 0xe6
jge 0x401e31
add dword [ebp - 0x2ac], 0x10f
mov eax, dword [ebp - 0x2ac]
cmp eax, dword [ebp - 0x2a4]
jle 0x401e31
cmp eax, dword [0x4040e0]
jl 0x401dcf
sub dword [ebp - 0x2a8], 0x1e9
cmp dword [ebp - 0x2a8], 0x5d
jg 0x401da3
sub dword [ebp - 0x2a4], 0x1f3
cmp dword [ebp - 0x2a4], 0x3e
jg 0x401d79
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA
and dword [ebp - 0x198], 0
lea eax, [ebp - 0x198]
push eax
call sub.KERNEL32.dll_GetVersionExA
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_CreateFileA
mov ebx, eax
mov byte [ebp - 0x104], 0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov dword [ebp - 0x2a4], 0x252e
mov eax, dword [ebp - 0x2a4]
or eax, eax
jl 0x401ed8
cmp eax, dword [0x4040e0]
jge 0x401ed8
cmp byte [eax + 0x4040e4], 0x12
jge 0x401f9f
mov dword [ebp - 0x2a8], 0x164b
mov eax, dword [ebp - 0x2a8]
or eax, eax
jl 0x401f02
cmp eax, dword [0x4040e0]
jge 0x401f02
cmp byte [eax + 0x4040e4], 0x54
jg 0x401f88
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2ac], eax
jmp 0x401f5f
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2b0], eax
jmp 0x401f46
mov eax, dword [ebp - 0x2b0]
or eax, eax
jl 0x401f3f
cmp eax, dword [0x4040e0]
jge 0x401f3f
movsx eax, byte [eax + 0x4040e4]
cmp eax, 0x86
jle 0x401f58
add dword [ebp - 0x2b0], 0x43
mov eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x2ac]
jge 0x401f58
or eax, eax
jg 0x401f1e
add dword [ebp - 0x2ac], 0x46
mov eax, dword [ebp - 0x2ac]
cmp eax, dword [ebp - 0x2a8]
jge 0x401f71
or eax, eax
jg 0x401f10
add dword [ebp - 0x2a8], 0xfffffccb
cmp dword [ebp - 0x2a8], 0x25
jg 0x401ee2
add dword [ebp - 0x2a4], 0xfffffd33
cmp dword [ebp - 0x2a4], 0x44
jg 0x401eb8
mov edi, esi
sub edi, 3
push ebx
call sub.KERNEL32.dll_CloseHandle
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4111d1
Capabilities:
Connect socket

Disassembly:
jmp 0x4125dc
jmp dword [sym.imp.WS2_32.dll_connect]
Function at 0x10009286
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1027a150]
jne 0x10009290
repz ret
jmp fcn.1000b9ca

Function at 0x1000d6d1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007b8e
and dword [ebp - 4], 0
cmp dword [0x1027b9e0], 0
mov ebx, eax
jne 0x1000d782
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000d833
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000d833
push eax
call fcn.10007b1c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1027b9e0], eax
call esi
push eax
call fcn.10007b1c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1027b9e4], eax
call esi
push eax
call fcn.10007b1c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1027b9e8], eax
call esi
push eax
call fcn.10007b1c
pop ecx
mov dword [0x1027b9f0], eax
test eax, eax
je 0x1000d782
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10007b1c
pop ecx
mov dword [0x1027b9ec], eax
mov eax, dword [0x1027b9ec]
cmp eax, ebx
je 0x1000d7da
cmp dword [0x1027b9f0], ebx
je 0x1000d7da
push eax
call fcn.10007b97
push dword [0x1027b9f0]
mov esi, eax
call fcn.10007b97
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000d7da
test edi, edi
je 0x1000d7da
call esi
test eax, eax
je 0x1000d7d1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000d7d1
test byte [ebp - 0xc], 1
jne 0x1000d7da
or dword [ebp + 0x10], 0x200000
jmp 0x1000d813
mov eax, dword [0x1027b9e4]
cmp eax, ebx
je 0x1000d813
push eax
call fcn.10007b97
pop ecx
test eax, eax
je 0x1000d813
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000d813
mov eax, dword [0x1027b9e8]
cmp eax, ebx
je 0x1000d813
push eax
call fcn.10007b97
pop ecx
test eax, eax
je 0x1000d813
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1027b9e0]
call fcn.10007b97
pop ecx
test eax, eax
je 0x1000d833
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000d835
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10010870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10010870]
mov dword [ebp - 8], eax
jmp 0x10010893
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
jmp 0x100108c2
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10010881
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 8]
cmp dword [edx + ecx], 0x4550
jne 0x100108c0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x100108d1
jmp 0x10010881
mov al, 1
test al, 1
jne 0x10010893
jmp 0x100108ca
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0xc
pop ebp
ret
Function at 0x100110e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x102798d4], 0x25b6
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x102798d4]
add eax, 0xcfd
mov dword [0x102798d4], eax
mov dword [ebp - 0x10], 0
jmp 0x10011149
mov dword [0x102798d8], 0x1a29
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x10011248
jmp 0x1001117f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x104
jl 0x100111b9
jmp 0x100111f8
mov dword [0x102798d8], 0x177c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x10011127
jmp 0x1001126b
jmp 0x1001126b
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x18
pop ebp
ret
mov eax, dword [0x102798d8]
sub eax, 0xccd
mov dword [0x102798d8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x10011226
jmp 0x1001126f
mov eax, dword [0x102798d4]
sub eax, 0x51
mov dword [0x102798d8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
cmp ecx, 0
jne 0x100111e6
jmp 0x100111f8
jmp 0x100111e8
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10011149
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x1a]
cmp eax, 0x6c
jne 0x10011184
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x10011193
jmp 0x10011271
mov dword [0x102798d8], 0x90
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x1001115e
jmp 0x1001126d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10011266
mov dword [ebp - 4], 1
jmp 0x1001118b
jmp 0x1001117f
jmp 0x1001126d
jmp 0x1001126f
jmp 0x10011271
jmp 0x10011184
Function at 0x401850
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x424234]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push edi
xor edi, edi
xor esi, esi
inc edi
lea eax, [ebp - 0xc]
push edi
push str.digit_d
push 8
push eax
call fcn.00401ae0
add esp, 0x10
lea eax, [esi + 0x825200]
push 0x424d98
push 0x50
push eax
lea eax, [esi + str.define_PROJECT_VER_MAJOR]
push eax
lea eax, [ebp - 0xc]
push eax
push str.version
call ebx
add esi, 0x50
cmp esi, 0x1e0
jl 0x401870
push 0x424d98
push 0x50
push 0x8253e0
push str.define_PROJECT_NAME_LONG
push str.name
push str.version
call ebx
push 0x30
push 0
push 0x8251cc
call fcn.00403560
xorps xmm0, xmm0
mov dword [0x4251c4], 0
push 0x41c4bc
push 0x424ea0
movups xmmword [0x4251b4], xmm0
call fcn.00405425
add esp, 0x14
mov dword [ebp - 0x110], eax
test eax, eax
je 0x4019e5
push eax
lea eax, [ebp - 0x10c]
push pe_nt_image_headers32
push eax
call fcn.00405363
add esp, 0xc
test eax, eax
je 0x4019d7
nop dword [eax]
push eax
call fcn.004017e0
add esp, 4
mov ebx, eax
xor edi, edi
mov esi, 0x825200
mov cl, byte [ebx]
cmp cl, byte [esi]
jne 0x401958
push esi
push ebx
call fcn.00402d70
mov edx, eax
add esp, 8
test edx, edx
jne 0x401966
add esi, 0x50
inc edi
cmp esi, 0x8253e0
jl 0x401942
jmp 0x4019b5
lea ecx, [edi + edi*4]
shl ecx, 4
add ecx, 0x825200
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401975
sub ecx, esi
lea esi, [edx + 1]
add esi, ecx
xor edx, edx
mov al, byte [esi]
cmp al, 0x30
jl 0x40198f
cmp al, 0x39
jle 0x40199f
cmp al, 0x61
jl 0x401997
cmp al, 0x7a
jle 0x40199f
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x4019ad
mov byte [edx + edi*8 + 0x8251cc], al
inc esi
inc edx
cmp edx, 7
jl 0x401985
mov byte [edx + edi*8 + 0x8251cc], 0
push dword [ebp - 0x110]
lea eax, [ebp - 0x10c]
push pe_nt_image_headers32
push eax
call fcn.00405363
add esp, 0xc
test eax, eax
jne 0x401930
push dword [ebp - 0x110]
call fcn.00405195
add esp, 4
push 0x41c4bc
push 0x424ea0
call fcn.00405425
mov edi, eax
add esp, 8
test edi, edi
je 0x401aa9
push edi
lea eax, [ebp - 0x10c]
push pe_nt_image_headers32
push eax
call fcn.00405363
add esp, 0xc
test eax, eax
je 0x401aa0
nop
push eax
call fcn.004017e0
add esp, 4
mov cl, byte [eax]
cmp cl, byte [0x8253e0]
jne 0x401a87
push 0x8253e0
push eax
call fcn.00402d70
mov edx, eax
add esp, 8
test edx, edx
je 0x401a87
mov ecx, 0x8253e0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a50
sub ecx, esi
inc ecx
add edx, ecx
xor ecx, ecx
nop
mov al, byte [edx]
cmp al, 0xd
je 0x401a7b
cmp al, 0xa
je 0x401a7b
cmp al, 0x22
je 0x401a75
mov byte [ecx + 0x4251b4], al
inc ecx
inc edx
cmp ecx, 0x13
jl 0x401a60
cmp ecx, 0x14
jae 0x401aba
mov byte [ecx + 0x4251b4], 0
push edi
lea eax, [ebp - 0x10c]
push pe_nt_image_headers32
push eax
call fcn.00405363
add esp, 0xc
test eax, eax
jne 0x401a20
push edi
call fcn.00405195
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402212
mov esp, ebp
pop ebp
ret
call fcn.00402137
int3