joyce8/EMBER2024-capa huggingface dataset:
Function at 0x119bb080
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x11aa17e8]
test eax, eax
je 0x119bb09d
mov ecx, 0x11aa0980
call fcn.119b5060
mov ecx, 0x11aa15e8
jmp fcn.119c29f0
ret

Function at 0x119bb0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x11aa1550
jmp 0x119bb0f0
push 0xffffffffffffffff
push 0x11a43bcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x6c]
call fcn.119ced80
xor edi, edi
lea ecx, [esi + 0x7c]
mov dword [esp + 0x14], edi
call fcn.119ced80
mov ecx, 2
mov eax, 1
mov dword [esi + 0x20], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi], 0x11a48050
mov dword [esi + 0x14], 0x1001
mov dword [esi + 0x30], 0x20001
mov dword [esi + 0x44], 0x10001
mov dword [esi + 0x48], 0x20000
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x119bbd30
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x11aa15e8
jmp 0x119bbd60
push 0xffffffffffffffff
push 0x11a43c72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
call fcn.119d70e0
xor edi, edi
mov dword [esi + 0x28], 0x11
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 0xa
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 1
call fcn.119d70e0
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], 0x11
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], 0xa
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 3
call fcn.119d70e0
lea ecx, [esi + 0xb4]
mov byte [esp + 0x14], 4
call fcn.119ced80
lea ecx, [esi + 0xc4]
mov byte [esp + 0x14], 5
call fcn.119d70e0
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], 0x11
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], 0xa
lea ecx, [esi + 0xfc]
mov byte [esp + 0x14], 7
call fcn.119d70e0
lea ecx, [esi + 0x138]
mov byte [esp + 0x14], 8
call fcn.119d70e0
lea ecx, [esi + 0x80]
mov dword [esi + 0x158], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x15c], edi
xor eax, eax
mov dword [esi], 0x11a4807c
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [ecx], eax
push str.C4AEAC4C_B13A_4870_98E2_489D5A378224
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [esi + 0xb0], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x119bc0c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
mov ebx, dword [esp + 0x424]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x207
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebp, dword [esp + 0x430]
mov ecx, dword [esp + 0x42c]
mov edi, dword [esp + 0x428]
push ebp
push ecx
lea edx, [esp + 0x18]
push edi
push edx
mov ecx, esi
call fcn.119bc160
mov esi, eax
mov eax, dword [0x11aa17e8]
test eax, eax
je 0x119bc14e
test edi, edi
jne 0x119bc132
mov edi, 0x11a5d794
lea eax, [esp + 0x10]
push edi
push eax
push ebp
push ebx
push str._t_t_t_tUodProcWnd::GetWndTitleKey__hwnd:__08x___main:__d___title:__s___key:__s_
push str.TUodFrame
push 0xffffffffffffffff
call fcn.119989c0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret 0x10
Function at 0x119c7ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x119c7b0e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x119c7b0e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x119c7b13
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x119c7af9
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x119c7b23
test esi, esi
jne 0x119c7b41
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x119c7b3f
mov byte [eax + esi - 1], 0
jne 0x119c7b48
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x119cd2a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
test eax, eax
je 0x119cd2f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x119cd2f0
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x119cd2f5
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x119cd2db
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x119cd302
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x119d7bb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x119d7bf1
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x119d7bf3
mov esi, edi
test esi, esi
je 0x119d7c68
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x119d7c5d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x119d7c5d
cmp dword [esp + 0x1c], eax
jbe 0x119d7c2e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x119d7c5d
cmp esi, edi
je 0x119d7c4f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x119d7c68
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x119d7dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
je 0x119d7e1f
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x119d7e1f
cmp dword [esp + 0xc], 3
jne 0x119d7e1f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x119d7e1f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x119d7e1f
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc

Function at 0x119d7f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [ecx]
test esi, esi
push edi
je 0x119d7f74
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x119d7f74
cmp dword [esp + 0x10], 3
jne 0x119d7f74
mov edx, dword [esp + 0x18]
push edx
call fcn.119de0c1
mov edi, eax
add esp, 4
test edi, edi
je 0x119d7f74
lea eax, [esp + 0x18]
push eax
push edi
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x119d7f6b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret 8
push edi
call fcn.119de0b6
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x119d7f80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x11a448af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x11a480b0]
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 0x119d7feb
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x119d7fed
mov esi, edi
test esi, esi
je 0x119d80b7
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_RegQueryValueExA]
test eax, eax
jne 0x119d80ac
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x119d802f
cmp eax, 2
je 0x119d802f
cmp eax, 6
je 0x119d802f
cmp eax, 7
jne 0x119d80ac
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.119de0c1
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_RegQueryValueExA]
test eax, eax
push ebp
jne 0x119d8092
lea ecx, [esp + 0x14]
call fcn.119c42e0
cmp esi, dword [esp + 0x14]
je 0x119d8087
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.119de0b6
add esp, 4
jmp 0x119d80c9
call fcn.119de0b6
add esp, 4
lea ecx, [esp + 0x10]
push 0x11a9fb74
call fcn.119c42e0
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x119d80b7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x119d80c9
push eax
lea ecx, [esp + 0x14]
call fcn.119c42e0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.119c3650
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.119c4080
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 0x119d8e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11a44978
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x119d8e86
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_RegCreateKeyExA]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x119d8e89
mov esi, dword [ebp + 8]
test esi, esi
je 0x119d8f73
call fcn.119efc30
test eax, eax
je 0x119d8f0e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x119d8ed7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
lea eax, [ebx + ebx]
add eax, 3
and al, 0xfc
call fcn.119de950
mov edi, esp
test edi, edi
je 0x119d8ed7
mov eax, dword [ebp + 0x10]
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x119d8ed9
xor edi, edi
mov ebx, dword [ebp + 0x18]
push ebx
call fcn.119deca7
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x119d8f67
cmp esi, dword [ebp + 8]
je 0x119d8f07
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x119d8f75
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x18]
push edx
call fcn.119c3920
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [ebp + 0x10]
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x119d8f58
cmp esi, dword [ebp + 8]
je 0x119d8f42
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.119c4080
mov eax, 1
jmp 0x119d8f75
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.119c4080
cmp esi, dword [ebp + 8]
je 0x119d8f73
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 0x119d9fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push ebx
test edx, edx
push esi
mov ebx, ecx
je 0x119da016
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_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x119da018
mov esi, dword [ebx]
test esi, esi
je 0x119da0a3
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_RegQueryValueExA]
test eax, eax
jne case.0x119da048.2
mov eax, dword [esp + 0x18]
cmp eax, 4
ja case.0x119da048.2
jmp dword [eax*4 + 0x119da0ac]
mov edi, 1
jmp case.0x119da048.2
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 4
sete al
mov edi, eax
jmp case.0x119da048.2
mov eax, dword [esp + 0x10]
cmp eax, 1
je case.0x119da048.0
cmp eax, 2
je case.0x119da048.0
cmp eax, 6
je case.0x119da048.0
cmp eax, 7
je case.0x119da048.0
xor edi, edi
jmp case.0x119da048.2
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 3
sete cl
mov edi, ecx
cmp esi, dword [ebx]
je 0x119da09b
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 0x119dc970
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 0x11a5dde4
push ecx
call fcn.119ded90
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
push edx
push eax
push SysStringLen
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x119dca4a
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 0x119dca30
add eax, 2
mov dword [esp + 0x14], eax
shr eax, 1
lea ecx, [eax + eax]
push ecx
call fcn.119de0c1
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x119dca30
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 0x119dca60
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 0x11a5dde4
push ecx
call fcn.119ded90
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x18]
mov dword [esp + 0xc], esi
push edx
push eax
push SysStringLen
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x119dcaf9
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 0x119dcd20
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 SysStringLen
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x119dcdba
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 0x119dcda4
add eax, 2
mov dword [esp + 0x18], eax
shr eax, 1
lea edx, [eax + eax]
push edx
call fcn.119de0c1
mov esi, eax
add esp, 4
test esi, esi
je 0x119dcda4
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
Function at 0x119eeec0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11a44d18
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x119eeef2
call fcn.119ff280
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x119eef03
mov ecx, 0x80000000
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x119eef58
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x119eef3e
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x119ef084
cmp dword [esp + 0x18], ebx
jne 0x119eef58
cmp dword [esp + 0x14], ebx
je 0x119ef084
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x119eef69
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.119c3650
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x119eefaf
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x119eefaf
call fcn.119efc80
test eax, eax
je 0x119eefaf
push str.Global_
lea ecx, [esp + 0x14]
call fcn.119c42e0
push ebx
lea ecx, [esp + 0x14]
call fcn.119c4cf0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 8], eax
je 0x119ef05e
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x119eefeb
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x119ef05e
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x119ef039
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x119ef03c
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x119ef034
mov dword [esi + 0x10], ebx
jmp 0x119ef03c
mov dword [esi + 0x10], ecx
jmp 0x119ef03c
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.119c4080
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.119c4080
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x119ef560
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x11aa27a8]
sub esp, 0x114
test eax, eax
jne 0x119ef6ad
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
push 0x11aa2640
mov dword [0x11aa27a8], 1
mov dword [0x11aa2640], 0x94
call esi
mov edx, dword [0x11aa2650]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x11a84fb8], eax
je 0x119ef688
push ebx
push 0x11aa26d8
mov dword [0x11aa26d8], 0x9c
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
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 [0x11aa279c], eax
call edi
mov dword [0x11aa27a0], eax
mov eax, dword [0x11aa279c]
test eax, eax
push 0x11aa2778
je 0x119ef604
call eax
jmp 0x119ef60a
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x11aa26dc]
cmp eax, 6
jae 0x119ef622
cmp eax, 5
jne 0x119ef636
cmp dword [0x11aa26e0], 2
jb 0x119ef636
cmp word [0x11aa2778], 9
jne 0x119ef636
mov dword [0x11aa2634], 1
push str.Ntdll.dll
call ebx
test eax, eax
pop ebx
je 0x119ef654
push str.RtlGetVersion
push eax
call edi
mov edx, eax
mov dword [0x11aa27a4], edx
jmp 0x119ef65a
mov edx, dword [0x11aa27a4]
test edx, edx
je 0x119ef688
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 0x119ef688
mov ecx, dword [esp + 0x14]
mov dword [0x11aa264c], ecx
push 0x11aa2648
push 0x11aa2644
call fcn.119efa50
add esp, 8
call fcn.119ef6c0
pop edi
mov eax, 1
pop esi
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret