joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9f70
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc
cmp word [0x5b99b0], 0
push esi
je 0x4a9f8f
push 0x5b99b0
call fcn.004ba280
add esp, 4
test eax, eax
jne 0x4a9fc6
call fcn.0047b950
mov esi, eax
mov ecx, esi
call fcn.00499ed0
test eax, eax
je 0x4a9fa8
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, dword [esi + 0x27c]
test eax, eax
je 0x4a9fd0
mov ecx, dword [esp + 0x14]
push 0
push 5
push 0x5b99b0
push ecx
call eax
test eax, eax
je 0x4a9fa1
mov eax, 0x5b99b0
pop esi
add esp, 0xc
mov eax, dword [esi + 0x26c]
mov dword [esp + 4], 0
test eax, eax
je 0x4a9fa1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
push 5
push ecx
call eax
test eax, eax
je 0x4aa05b
push 0x104
push 0x5b99b0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Profiles_
push 0x104
push 0x5b99b0
call fcn.0051c0c0
mov eax, 0x5b99b0
add esp, 0xc
mov dword [esp + 0xc], 0x64
lea edx, [eax + 2]
jmp 0x4aa030
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aa030
sub eax, edx
sar eax, 1
lea edx, [esp + 0xc]
push edx
lea eax, [eax*2 + 0x5b99b0]
push eax
call fcn.004b4730
add esp, 8
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, dword [esi + 0x264]
test eax, eax
je 0x4a9fa1
mov ecx, dword [esp + 4]
push edi
push 0x5b99b0
push ecx
call eax
lea edx, [esp + 0xc]
mov edi, eax
mov eax, dword [esi + 0x268]
push edx
mov dword [esp + 0x10], 0
call eax
test eax, eax
jne 0x4aa0aa
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4aa0aa
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4aa0aa
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
cmp edi, 1
pop edi
jne 0x4a9fa1
mov eax, 0x5b99b0
pop esi
add esp, 0xc
ret

Function at 0x4abb10
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x5b9e64]
sub esp, 0x28
test eax, eax
jne 0x4abbb5
call fcn.0045e770
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov eax, dword [eax]
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4abb6a
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x4abb71
lea edx, [esp + 4]
push edx
call eax
mov eax, dword [esp + 0x1c]
mov cx, word [esp + 4]
lea edx, [esp]
push edx
mov dword [0x5b9e64], eax
mov word [0x5b9e60], cx
mov dword [esp + 4], 0
call fcn.004aba30
add esp, 4
test eax, eax
je 0x4abbb0
cmp dword [esp], 0
je 0x4abbb0
mov eax, 0x720
mov dword [0x5b9e64], eax
jmp 0x4abbb5
mov eax, dword [0x5b9e64]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4abbc7
mov dx, word [0x5b9e60]
mov word [ecx], dx
add esp, 0x28
ret
Function at 0x4ac340
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55e5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4ac4a9
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4ac4a9
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x4ac3b8
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4ac4a9
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0x627470
push 0
push 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00421370
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
add edx, edx
push 0
add edx, edx
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.00421370
push 0
push 4
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.00421370
push 0
push 0x10
lea edx, [esi + 4]
push edx
lea ecx, [esp + 0x20]
call fcn.00421370
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004ac060
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ac453
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00421370
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x10]
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
lea ecx, [esp + 0x14]
sete bl
ret
mov dword [esp + 0x2c], 0xffffffff
call fcn.00420ae0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x4ac7d0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x4c0
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x4bc], eax
cmp byte [esp + 0x4cc], 0
push esi
mov esi, dword [esp + 0x4c8]
push edi
mov edi, dword [esp + 0x4d8]
je 0x4ac834
push 0x104
lea eax, [esp + 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x4ac82d
pop edi
pop esi
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.0051916c
add esp, 0x4c0
ret
lea esi, [esp + 0x2bc]
push 0x2b4
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.00519500
mov edx, dword [esp + 0x4dc]
add esp, 0xc
mov dword [esp + 0xc], edx
test edi, edi
je 0x4ac87d
push 0
push 0x110
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push esi
call fcn.004b70d0
add esp, 0x18
test eax, eax
je 0x4ac87d
mov ecx, dword [esp + 8]
mov dword [edi], ecx
push 0
push 0x111
push 0x2b4
lea edx, [esp + 0x14]
push edx
push 0
push esi
call fcn.004b70d0
mov ecx, dword [esp + 0x4dc]
add esp, 0x18
neg eax
pop edi
sbb eax, eax
and eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.0051916c
add esp, 0x4c0
ret
Function at 0x4acde0
Capabilities:
Access peb ldr_data
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x55e648
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 1
call fcn.004ac950
add esp, 8
test al, al
je 0x4ace7e
cmp dword [esp + 0xc], 2
push 0x104
lea ecx, [esp + 0x14]
sete bl
call fcn.0049f020
mov dword [esp + 0x28], 0
test bl, bl
je 0x4ace9a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x10]
test eax, eax
jne 0x4ace92
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.cWCS.0
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
push ecx
mov ecx, esi
call fcn.0049e930
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.cWCS.0
call fcn.0049ee80
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x4aced0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55e678
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0x14]
call fcn.0049eff0
mov dword [esp + 0xc], vtable.cWCStr.0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
call fcn.004acde0
add esp, 0xc
test al, al
jne 0x4acf59
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x4acf74
mov ecx, dword [esp + 0x10]
push 0x104
push ecx
push eax
call fcn.00519ff1
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
jne 0x4acf81
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x38]
push edx
push esi
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.004ac7d0
add esp, 0x10
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x4ad150
Capabilities:
Shutdown system

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4ad163
push esi
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
ret
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x4ad17b
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb eax, eax
neg eax
test eax, eax
je 0x4ad18e
mov eax, dword [esp + 8]
push 1
push eax
call fcn.004ad060
add esp, 8
push 0
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop esi
ret

Function at 0x4ad1b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea ecx, [esp]
push ecx
or eax, 0x20019
push eax
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ad21f
mov edx, dword [esp + 0x18]
push esi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4ad21f
cmp dword [esp + 4], 4
jne 0x4ad21f
cmp dword [esp + 8], 4
jne 0x4ad21f
mov al, 1
add esp, 0xc
ret
xor al, al
add esp, 0xc
ret

Function at 0x4ad2c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
je 0x4ad304
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x4ad318
jb 0x4ad2ed
cmp dword [esp + 8], 0
mov al, 1
je 0x4ad31a
mov al, bl
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret

Function at 0x4ad330
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
je 0x4ad374
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x4ad38a
jb 0x4ad35d
mov eax, 1
cmp dword [esp + 8], eax
je 0x4ad38c
mov al, bl
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
Function at 0x4ad510
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Crypt32.dll
mov esi, ecx
call edi
push str.Wintrust.dll
mov dword [esi], eax
call edi
mov ecx, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], eax
test ecx, ecx
je 0x4ad53e
test eax, eax
jne 0x4ad56f
mov byte [esi + 8], 0
test ecx, ecx
je 0x4ad549
push ecx
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x4ad553
push eax
call ebp
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinVerifyTrust
push eax
call edi
mov ecx, dword [esi + 4]
push str.WTHelperProvDataFromStateData
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 4]
push str.WTHelperGetProvSignerFromChain
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.WTHelperGetProvCertFromChain
push eax
call edi
mov ecx, dword [esi + 4]
push str.CryptCATAdminCalcHashFromFileHandle
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi]
push str.CertNameToStrW
push edx
mov dword [esi + 0x20], eax
call edi
cmp dword [esi + 0xc], 0
mov dword [esi + 0x1c], eax
je 0x4ad5eb
cmp dword [esi + 0x10], 0
je 0x4ad5eb
cmp dword [esi + 0x14], 0
je 0x4ad5eb
cmp dword [esi + 0x18], 0
je 0x4ad5eb
test eax, eax
je 0x4ad5eb
mov eax, 1
jmp 0x4ad5ed
xor eax, eax
mov byte [esi + 8], al
test al, al
jne 0x4ad626
mov byte [esi + 8], al
mov eax, dword [esi]
test eax, eax
je 0x4ad600
push eax
call ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x4ad60a
push eax
call ebp
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebp
ret
Function at 0x4ad750
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SoftwareJetico
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ad778
xor al, al
add esp, 0x1c
ret
push ebx
push esi
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.hkTime
push ecx
mov dword [esp + 0x24], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
mov esi, eax
call fcn.005199c5
add esp, 4
xor bl, bl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
test esi, esi
jne 0x4ad815
cmp dword [esp + 0xc], 8
jne 0x4ad815
cmp dword [esp + 0x10], 4
jne 0x4ad815
sub eax, dword [esp + 0x14]
push esi
sbb edx, dword [esp + 0x1c]
push 0x15180
push edx
push eax
call fcn.0051c9f0
test edx, edx
jl 0x4ad800
jg 0x4ad7eb
cmp eax, 0xf
jbe 0x4ad800
mov ecx, dword [esp + 8]
push ecx
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 8]
push ecx
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 8]
push 8
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.hkTime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 0x1c
ret
Function at 0x4aea50
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x4aea9b
cmp dword [esp + 4], 6
jb 0x4aea9b
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor al, al
call fcn.0051916c
add esp, 0x118
ret

Function at 0x4aed90
Capabilities:
Create thread

Disassembly:
sub esp, 0x20
push esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
push 0
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
push ecx
push 0x4aed50
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x40]
push 0
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4aee1f
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebx
jne 0x4aee1f
mov eax, 1
cmp dword [esp + 0x18], eax
je 0x4aee21
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
add esp, 0x20
ret

Function at 0x4af1b0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push 0
push 2
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4af1e1
xor al, al
pop esi
add esp, 8
ret
test esi, esi
jne 0x4af1ea
mov esi, 0x56ba1c
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4af1f0
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 4]
push ecx
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
add esp, 8
ret
Function at 0x4afc00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55e858
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0x10]
call fcn.0049f020
mov dword [esp + 0xc], vtable.cWCStr.0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
push 1
push 0
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004afb00
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
push edi
mov esi, eax
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0051c0a0
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x10

Function at 0x4b0580
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x218
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x220]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, dword [esp + 0x224]
push edi
push eax
push esi
call ebx
mov edi, eax
test edi, edi
je 0x4b0703
mov ecx, dword [0x5b9eec]
mov byte [esp + 0xf], 0
test ecx, ecx
je 0x4b06c0
call fcn.00499ed0
test eax, eax
jne 0x4b06c0
push 1
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [0x5b9eec]
push eax
push str.TRANSLATOR_NAME
push 0x100
lea edx, [esp + 0x34]
push edx
call fcn.004afb00
cmp eax, 0xffffffff
je 0x4b06c0
cmp byte [esp + 0xf], 0
je 0x4b06c0
mov ecx, dword [esp + 0x230]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
mov ecx, dword [0x5b9eec]
push 1
push 0
push 0
push str.TRANSLATOR_EMAIL
push 0x100
lea edx, [esp + 0x34]
push edx
call fcn.004afb00
cmp eax, 0xffffffff
jne 0x4b0654
xor eax, eax
mov word [esp + 0x20], ax
mov edx, dword [esp + 0x234]
lea ecx, [esp + 0x20]
push ecx
push edx
push esi
call ebx
push eax
call edi
mov ecx, dword [0x5b9eec]
push 1
push 0
push 0
push str.TRANSLATOR_WEB
push 0x100
lea eax, [esp + 0x34]
push eax
call fcn.004afb00
cmp eax, 0xffffffff
jne 0x4b0693
xor ecx, ecx
mov word [esp + 0x20], cx
mov eax, dword [esp + 0x238]
lea edx, [esp + 0x20]
push edx
push eax
push esi
call ebx
push eax
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0051916c
add esp, 0x218
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10]
push ecx
push edi
call ebx
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push esi
add edi, 3
call ebx
sub edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 6
push edi
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0051916c
add esp, 0x218
ret
Function at 0x4b0fd0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x55e9be
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, 1
test byte [0x5b9f10], al
jne 0x4b1037
or dword [0x5b9f10], eax
push 0x56a3e0
mov dword [0x5b9f08], 0
mov dword [0x5b9f04], 0
mov byte [0x5b9f0c], 0
call fcn.005194de
add esp, 4
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [0x5b9f08]
test eax, eax
jne 0x4b10cb
push 0xff
mov ecx, 0x5b9f04
call fcn.0042daa0
test eax, eax
jne 0x4b106a
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov ecx, dword [str.SOFTWAREJetico]
lea eax, [esp + 8]
push eax
push 8
push 0
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b1057
mov edx, dword [0x5b9f04]
mov ecx, dword [0x5b9f08]
push eax
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [0x5b9f08]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4b1c30
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x4b1c7b
cmp dword [esp + 4], 6
jb 0x4b1c7b
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor al, al
call fcn.0051916c
add esp, 0x118
ret

Function at 0x4b1ca0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x11c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x4b1cef
jne 0x4b1cd8
cmp dword [esp + 8], 1
jae 0x4b1cef
xor al, al
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0051916c
add esp, 0x120
ret
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
shr eax, 9
xor ecx, esp
and al, 1
call fcn.0051916c
add esp, 0x120
ret

Function at 0x4b1d10
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, 1
cmp dword [esp + 0x10], eax
jne 0x4b1d59
cmp dword [esp + 4], 4
jb 0x4b1d59
cmp dword [esp + 8], 0xa
jb 0x4b1d59
cmp dword [esp + 0xc], 0x40a07ce
jae 0x4b1d5b
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0051916c
add esp, 0x118
ret