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

Disassembly:
push 0xffffffffffffffff
push 0x11ca9ddf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11cae6f4]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x11c51bdb
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11c51bdd
mov esi, edi
test esi, esi
je 0x11c51ca7
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11c51c9c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x11c51c1f
cmp eax, 2
je 0x11c51c1f
cmp eax, 6
je 0x11c51c1f
cmp eax, 7
jne 0x11c51c9c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.11c54150
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
jne 0x11c51c82
lea ecx, [esp + 0x14]
call fcn.11c440e0
cmp esi, dword [esp + 0x14]
je 0x11c51c77
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.11c5415e
add esp, 4
jmp 0x11c51cb9
call fcn.11c5415e
add esp, 4
lea ecx, [esp + 0x10]
push 0x11cd08f0
call fcn.11c440e0
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x11c51ca7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x11c51cb9
push eax
lea ecx, [esp + 0x14]
call fcn.11c440e0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.11c43460
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.11c43e60
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x11c52250
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
call fcn.11c497f0
test esi, esi
je 0x11c52332
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11c52332
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x11c522a9
cmp eax, 2
je 0x11c522a9
cmp eax, 6
je 0x11c522a9
cmp eax, 7
jne 0x11c52332
mov edx, dword [esp + 0x14]
push edi
add edx, 2
push edx
call fcn.11c54150
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push ebx
push 0
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop edi
jne 0x11c52329
cmp word [ebx], ax
mov esi, ebx
je 0x11c52314
mov ecx, dword [esp + 0x18]
push esi
mov edx, dword [ecx + 4]
push edx
call fcn.11c49ca0
push esi
call fcn.11c548e0
lea esi, [esi + eax*2 + 2]
add esp, 4
cmp word [esi], 0
jne 0x11c522f3
push ebx
call fcn.11c5415e
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push ebx
call fcn.11c5415e
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x11c529a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [ecx]
test esi, esi
je 0x11c529d9
push edi
mov edi, dword [esp + 0x10]
push edi
call fcn.11c548e0
mov ecx, dword [esp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop edi
jne 0x11c529d9
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x11c52a10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11ca9ea8
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x11c52a66
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11c52a69
mov esi, dword [ebp + 8]
test esi, esi
je 0x11c52b5c
call fcn.11c681e0
test eax, eax
je 0x11c52ab9
mov edi, dword [ebp + 0x18]
push edi
call fcn.11c548e0
mov ecx, dword [ebp + 0x10]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x11c52b50
cmp esi, dword [ebp + 8]
je 0x11c52aaf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x11c52b5e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x11c52af8
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.11c560c0
mov edi, esp
test edi, edi
je 0x11c52af8
mov edx, dword [ebp + 0x10]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x11c52afa
xor edi, edi
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0xc]
push eax
call fcn.11c3e380
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x11c52b41
cmp esi, dword [ebp + 8]
je 0x11c52b2b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.11c3eae0
mov eax, 1
jmp 0x11c52b5e
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.11c3eae0
cmp esi, dword [ebp + 8]
je 0x11c52b5c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11c52c70
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x11c52cb3
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0xc]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
not eax
and eax, ecx
mov dword [esp + 8], eax
jmp 0x11c52cbb
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
push ebp
push esi
test eax, eax
push edi
je 0x11c52dcb
mov esi, dword [esp + 0x20]
xor edi, edi
mov ebp, 2
mov eax, dword [esi + 4]
test eax, eax
jle 0x11c52cff
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, esi
call fcn.11c12e00
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
mov eax, dword [edx - 8]
lea ebp, [ebp + eax*2 + 2]
call fcn.11c43e60
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x11c52cd8
push ebp
call fcn.11c54150
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x1c], edx
je 0x11c52dcb
mov ecx, ebp
push ebx
mov ebx, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
xor ebx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 4]
mov edi, edx
test eax, eax
jle 0x11c52d71
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, esi
call fcn.11c12e00
mov edx, dword [eax]
push edx
push edi
call fcn.11c5519a
add esp, 8
lea ecx, [esp + 0x24]
call fcn.11c43e60
push edi
call fcn.11c548e0
add esp, 4
lea edi, [edi + eax*2 + 2]
mov eax, dword [esi + 4]
inc ebx
cmp ebx, eax
jl 0x11c52d36
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push ebp
push edx
push 7
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop ebx
jne 0x11c52daf
cmp esi, dword [esp + 0x10]
je 0x11c52d99
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.11c5415e
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
ret
mov edx, dword [esp + 0x1c]
push edx
call fcn.11c5415e
mov eax, dword [esp + 0x14]
add esp, 4
cmp esi, eax
je 0x11c52dcb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x11c53420
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x14]
push esi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
call fcn.11c497f0
cmp ebp, ebx
je 0x11c534fc
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push ebx
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push ebx
push ebx
push ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x11c534fc
cmp dword [esp + 0x10], ebx
jbe 0x11c534fc
mov eax, dword [esp + 0xc]
cmp eax, 0x104
jae 0x11c53486
mov eax, 0x104
mov dword [esp + 0xc], eax
lea edx, [eax + eax + 2]
push edx
call fcn.11c54150
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x11c534fc
cmp dword [esp + 0x10], ebx
jbe 0x11c534e5
push edi
mov eax, dword [esp + 0x10]
mov edi, esi
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
inc eax
push eax
push esi
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x11c534db
mov ecx, dword [esp + 0x1c]
push esi
mov edx, dword [ecx + 4]
push edx
call fcn.11c49ca0
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jb 0x11c534a0
pop edi
push esi
call fcn.11c5415e
add esp, 4
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4

Function at 0x11c53ba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push ebx
test edx, edx
push esi
mov ebx, ecx
je 0x11c53bd6
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0xc]
or eax, 0x20019
push esi
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x11c53bd8
mov esi, dword [ebx]
test esi, esi
je 0x11c53c63
mov edx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x14]
xor edi, edi
push eax
lea ecx, [esp + 0x14]
push edi
push ecx
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x11c53c08.2
mov eax, dword [esp + 0x18]
cmp eax, 4
ja case.0x11c53c08.2
jmp dword [eax*4 + 0x11c53c6c]
mov edi, 1
jmp case.0x11c53c08.2
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 4
sete al
mov edi, eax
jmp case.0x11c53c08.2
mov eax, dword [esp + 0x10]
cmp eax, 1
je case.0x11c53c08.0
cmp eax, 2
je case.0x11c53c08.0
cmp eax, 6
je case.0x11c53c08.0
cmp eax, 7
je case.0x11c53c08.0
xor edi, edi
jmp case.0x11c53c08.2
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 3
sete cl
mov edi, ecx
cmp esi, dword [ebx]
je 0x11c53c5b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x11c53e50
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x11c53ee5
push ebx
push edi
mov edi, dword [esi + 0x20]
mov ebx, 4
test edi, edi
je 0x11c53e9f
call fcn.11c68270
test eax, eax
je 0x11c53e9f
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x11c53e8c
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x11c53e8c
mov ebx, dword [ecx + 0x64]
lea eax, [edi - 0x2000]
cmp ebx, eax
jbe 0x11c53e98
add edi, ebx
mov ebx, 0x10004
jmp 0x11c53ea1
xor edi, edi
lea ecx, [esi + 4]
push ecx
push ebx
push esi
push 0x11c540a0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 8], eax
test eax, eax
pop ebx
je 0x11c53ee5
mov ecx, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test ecx, ecx
je 0x11c53ed4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x11c53f10
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x11c53f24
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x11c53f70
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x11c67b10
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x11cd5ea0]
sub esp, 0x114
test eax, eax
jne 0x11c67c5d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
push 0x11cd5c38
mov dword [0x11cd5ea0], 1
mov dword [0x11cd5c38], 0x114
call esi
mov edx, dword [0x11cd5c48]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x11ccc210], eax
je 0x11c67c38
push ebx
push 0x11cd5d50
mov dword [0x11cd5d50], 0x11c
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x11cc7fb4
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x11cd5e94], eax
call edi
mov dword [0x11cd5e98], eax
mov eax, dword [0x11cd5e94]
test eax, eax
push 0x11cd5e70
je 0x11c67bb4
call eax
jmp 0x11c67bba
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x11cd5d54]
cmp eax, 6
jae 0x11c67bd2
cmp eax, 5
jne 0x11c67be6
cmp dword [0x11cd5d58], 2
jb 0x11c67be6
cmp word [0x11cd5e70], 9
jne 0x11c67be6
mov dword [0x11cd5c2c], 1
push str.Ntdll.dll
call ebx
test eax, eax
pop ebx
je 0x11c67c04
push str.RtlGetVersion
push eax
call edi
mov edx, eax
mov dword [0x11cd5e9c], edx
jmp 0x11c67c0a
mov edx, dword [0x11cd5e9c]
test edx, edx
je 0x11c67c38
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
call edx
test eax, eax
jne 0x11c67c38
mov ecx, dword [esp + 0x14]
mov dword [0x11cd5c44], ecx
push 0x11cd5c40
push 0x11cd5c3c
call fcn.11c68000
add esp, 8
call fcn.11c67c70
pop edi
mov eax, 1
pop esi
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret
Function at 0x11c68e90
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11caf6e0
push 0x11c5e410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x11cd5ea4]
xor ebx, ebx
cmp eax, ebx
jne 0x11c68ff0
mov word [ebp - 0x220], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x11c68feb
mov word [ebp - 0x42c], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.user32.dll
lea ecx, [ebp - 0x220]
push ecx
push 0x11cc8224
lea edx, [ebp - 0x42c]
push edx
call fcn.11c55534
add esp, 0x10
mov dword [ebp - 0x434], ebx
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x224], eax
push eax
call fcn.11c54150
add esp, 4
mov esi, eax
mov dword [ebp - 0x440], esi
cmp esi, ebx
je 0x11c68feb
push esi
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x11c68fe2
mov dword [ebp - 0x438], ebx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x438]
push eax
push 0x11ccd2c8
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x11c68fe2
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x43c], eax
mov ecx, dword [eax]
mov dword [0x11cd5ea4], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x11c68fe2
push esi
call fcn.11c5415e
add esp, 4
mov eax, dword [0x11cd5ea4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x11c69580
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x11cd6118]
test eax, eax
jne 0x11c6963e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x11cd5eb8
mov dword [0x11cd6118], 1
mov dword [0x11cd5eb8], 0x114
call esi
mov edx, dword [0x11cd5ec8]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x11ccd430], eax
je 0x11c69632
push 0x11cd5fd0
mov dword [0x11cd5fd0], 0x11c
call esi
push 0x11cc7fb4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x11cd6114], eax
push 0x11cd60f0
je 0x11c69600
call eax
jmp 0x11c69606
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x11cd5fd4]
cmp eax, 6
jae 0x11c6961e
cmp eax, 5
jne 0x11c69632
cmp dword [0x11cd5fd8], 2
jb 0x11c69632
cmp word [0x11cd60f0], 9
jne 0x11c69632
mov dword [0x11cd5eac], 1
call fcn.11c69650
mov eax, 1
pop esi
ret
mov eax, 1
ret
Function at 0x11c69c90
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11caf6f0
push 0x11c5e410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x11cd611c]
xor ebx, ebx
cmp eax, ebx
jne 0x11c69df0
mov word [ebp - 0x220], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x11c69deb
mov word [ebp - 0x42c], bx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.user32.dll
lea ecx, [ebp - 0x220]
push ecx
push 0x11cc8224
lea edx, [ebp - 0x42c]
push edx
call fcn.11c55534
add esp, 0x10
mov dword [ebp - 0x434], ebx
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x224], eax
push eax
call fcn.11c54150
add esp, 4
mov esi, eax
mov dword [ebp - 0x440], esi
cmp esi, ebx
je 0x11c69deb
push esi
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x434]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x11c69de2
mov dword [ebp - 0x438], ebx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x438]
push eax
push 0x11ccd2c8
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x11c69de2
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x43c], eax
mov ecx, dword [eax]
mov dword [0x11cd611c], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x11c69de2
push esi
call fcn.11c5415e
add esp, 4
mov eax, dword [0x11cd611c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x11c6c040
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov edx, ecx
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
add edx, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x21c]
lea ecx, [esp + 0x18]
push eax
push edx
push 0x11cc8224
push ecx
call fcn.11c55534
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
push edx
push eax
push closesocket
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x11c6c11a
mov edi, dword [esp + 0x220]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push ebx
push edi
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call ebp
mov eax, dword [esp + 0x14]
cmp eax, 2
jb 0x11c6c100
add eax, 2
mov dword [esp + 0x14], eax
shr eax, 1
lea ecx, [eax + eax]
push ecx
call fcn.11c54150
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x11c6c100
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push ebx
push edi
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x20c
ret 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x20c
ret 8

Function at 0x11c6c130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x21c]
add edx, 4
push eax
push edx
lea ecx, [esp + 0x20]
push 0x11cc8224
push ecx
call fcn.11c55534
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x18]
mov dword [esp + 0xc], esi
push edx
push eax
push closesocket
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x11c6c1c9
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x210
ret 8
Function at 0x11c6c3f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
xor esi, esi
push ecx
push closesocket
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x11c6c48a
mov ecx, dword [esp + 4]
push ebx
lea edx, [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
push eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
call ebx
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x11c6c474
add eax, 2
mov dword [esp + 0x18], eax
shr eax, 1
lea edx, [eax + eax]
push edx
call fcn.11c54150
mov esi, eax
add esp, 4
test esi, esi
je 0x11c6c474
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop ebx
pop esi
add esp, 8
ret 8
mov eax, esi
pop esi
add esp, 8
ret 8