joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d283
Capabilities:
Get token membership

Disassembly:
push ebp
xor eax, eax
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystemEnableLUA
mov ebp, esp
push ebx
lea ebx, [ebp - 0x14]
mov ecx, ebx
sub esp, 0x54
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0xe], eax
mov eax, 0x80000002
mov dword [ebp - 0x1c], 0xffffffff
mov word [ebp - 0xa], 0x500
call fcn.0043ae7d
cmp dword [ebp - 0x14], 1
jne 0x43d35e
mov dword [esp], str.Note:_UAC_is_active
call fcn.0043d9e0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea edx, [ebp - 0x1c]
mov dword [esp + 4], 8
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
sub esp, 0xc
test eax, eax
jne 0x43d302
call fcn.0043df77
mov dword [esp], str.Could_not_get_current_process_token:__s
mov dword [esp + 4], eax
jmp 0x43d343
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0x14
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
sub esp, 0x14
test eax, eax
jne 0x43d34d
call fcn.0043df77
mov dword [esp], str.Could_not_get_token_information:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x43d3e5
xor eax, eax
cmp dword [ebp - 0x18], 0
setne al
mov dword [ebp - 0x24], eax
jmp 0x43d3e5
mov dword [esp], str.Note:_UAC_is_either_disabled_or_not_available
call fcn.0043d9e0
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe]
mov dword [esp + 0xc], 0x220
mov dword [esp + 8], 0x20
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
sub esp, 0x2c
test eax, eax
je 0x43d3e5
lea eax, [ebp - 0x24]
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
sub esp, 0xc
test eax, eax
jne 0x43d3d8
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edx
mov eax, dword [ebp - 0x1c]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x43d3fa
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x43d9e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp + 0xc]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffd
mov dword [esp + 8], eax
mov dword [esp], 0x525de0
call fcn.004864f0
test eax, eax
jns 0x43da13
mov eax, 0xffd
mov esi, dword [sym.imp.msvcrt.dll_isspace]
lea ebx, [eax + 0x525de0]
cmp ebx, 0x525de0
ja 0x43dae0
mov word [ebx], 0xa0d
mov eax, 0x525de0
mov byte [ebx + 2], 0
call fcn.0043d8c1
mov dword [esp], eax
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push esi
mov eax, dword [0x52415c]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x43dafa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xc], 0x7ffffffe
mov dword [esp + 8], 0x7ffffffe
mov dword [esp + 4], 0xb1
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc2
mov eax, dword [0x52415c]
mov dword [esp], eax
call esi
xor edx, edx
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xba
mov eax, dword [0x52415c]
mov dword [esp], eax
call esi
xor ecx, ecx
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xb6
mov eax, dword [0x52415c]
mov dword [esp], eax
call esi
sub esp, 0x10
jmp 0x43dafa
movzx eax, byte [ebx - 1]
mov dword [esp], eax
call esi
test eax, eax
je 0x43da2b
dec ebx
mov byte [ebx], 0
jmp 0x43da1f
mov dword [esp], ebx
call sub.msvcrt.dll_free
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x43db09
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
call fcn.0043d8c1
mov dword [esp], eax
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
push esi
mov eax, dword [0x52415c]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x43dbb9
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xc], 0x7ffffffe
mov dword [esp + 8], 0x7ffffffe
mov dword [esp + 4], 0xb1
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc2
mov eax, dword [0x52415c]
mov dword [esp], eax
call esi
xor edx, edx
sub esp, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0xba
mov eax, dword [0x52415c]
mov dword [esp], eax
call esi
xor ecx, ecx
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xb6
mov eax, dword [0x52415c]
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [ebp + 8], ebx
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp sub.msvcrt.dll_free
Function at 0x43dbc7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov edx, 0x4a6487
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call fcn.0043d98b
test eax, eax
jne 0x43dbfe
mov eax, dword [ebp + 8]
mov dword [esp], str.Error:_Cant_open_file__s
xor edi, edi
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x43dcaf
xor edx, edx
mov dword [esp + 8], 2
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_fseek
mov dword [esp], ebx
call sub.msvcrt.dll_ftell
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov edi, eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_fseek
lea eax, [edi + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esi], eax
test eax, eax
jne 0x43dc5e
mov eax, dword [ebp + 8]
mov dword [esp + 4], edi
xor edi, edi
mov dword [esp], str.Error:_Cant_allocate__d_bytes_buffer_for_file__s
mov dword [esp + 8], eax
call fcn.0043d9e0
jmp 0x43dc95
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fread
cmp eax, edi
je 0x43dc8f
mov eax, dword [ebp + 8]
mov dword [esp], str.Error:_Cant_read__s
xor edi, edi
mov dword [esp + 4], eax
call fcn.0043d9e0
mov eax, dword [esi]
mov byte [eax + edi], 0
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
test edi, edi
jne 0x43dcaf
mov eax, dword [esi]
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov dword [esi], eax
add esp, 0x1c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x43dcb9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov edx, 0x4a64f1
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.0043d98b
test eax, eax
jne 0x43dce9
mov dword [esp + 4], esi
xor ebx, ebx
mov dword [esp], str.Error:_Cant_create__s
call fcn.0043d9e0
jmp 0x43dd28
mov dword [esp + 0xc], eax
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov ebx, eax
cmp dword [ebp + 0x10], eax
je 0x43dd20
mov dword [esp + 4], esi
mov dword [esp], str.Error:_Cant_write__s
call fcn.0043d9e0
mov dword [esp], edi
call sub.msvcrt.dll_fclose
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43eadf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
call fcn.0043d8c1
xor ecx, ecx
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x34], eax
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0x3e5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x43d7b3
mov dword [esp + 4], ebx
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
sub esp, 0x18
test eax, eax
je 0x43eb93
mov ebx, eax
mov eax, dword [ebp + 0x24]
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edi
push edx
push edx
cmp eax, 0x102
jne 0x43eb87
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_CancelSynchronousIo]
push ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call edi
push edi
push edi
mov dword [ebp - 0x1c], 0x102
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
jmp 0x43eb9c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x43eba8
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push eax
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43ebc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
test edi, edi
jne 0x43ebd6
lea edi, [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
mov esi, eax
test eax, eax
jne 0x43ec19
call fcn.0043df77
mov dword [esp], str.Warning:_Could_not_read_file_pointer__s
mov dword [esp + 4], eax
call fcn.0043d9e0
test ebx, ebx
mov eax, 1
cmovne eax, ebx
mov ebx, 1
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
sub esp, 0x14
test eax, eax
je 0x43eca0
xor ecx, ecx
mov dword [0x4dfd7c], ecx
mov eax, dword [edi]
cmp eax, dword [ebp + 0x10]
je 0x43ed5b
cmp dword [0x5240e4], 0
je 0x43ec87
test eax, eax
jne 0x43ec87
mov dword [esp], str.Warning:_Possible_short_write
call fcn.0043d9e0
jmp 0x43ed5b
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], str.Wrote__d_bytes_but_requested__d
mov dword [esp + 8], edx
call fcn.0043d9e0
jmp 0x43ecc5
call fcn.0043df77
mov dword [esp], str.Write_error__s
mov dword [esp + 4], eax
call fcn.0043d9e0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
or eax, 0xc0030000
mov dword [0x4dfd7c], eax
test esi, esi
je 0x43ed3c
mov eax, dword [ebp - 0x2c]
cmp ebx, eax
jae 0x43ecf2
mov dword [esp + 4], 5
mov dword [esp], str.Retrying_in__d_seconds...
call fcn.0043d9e0
mov dword [esp], 0x1388
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edx
inc ebx
cmp dword [ebp - 0x2c], ebx
jb 0x43ed3c
cmp ebx, 1
jbe 0x43ec2b
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
test eax, eax
jne 0x43ec2b
mov dword [esp], str.Could_not_set_file_pointer___Aborting
call fcn.0043d9e0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test ax, ax
je 0x43ed4b
xor eax, eax
jmp 0x43ed60
mov dword [esp], 0xc003001d
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push eax
jmp 0x43ed47
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43febc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov byte [edx], 0
mov dword [esp + 4], 2
mov dword [esp], pe_nt_image_headers32
call sub.msvcrt.dll_calloc
mov dword [esp], ebx
mov dword [esp + 8], pe_nt_image_headers32
mov esi, eax
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
sub esp, 0xc
mov dword [ebp - 0x20], eax
call eax
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x43ff53
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
sub esp, 0x20
mov ebx, eax
test eax, eax
jne 0x43ff53
mov eax, dword [ebp - 0x20]
call eax
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x43ff5f
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x1c]
mov byte [edi + 0x7f], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x440128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ecx, 0x41
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x11c]
push ebx
sub esp, 0x16c
mov dword [ebp - 0x13c], eax
xor eax, eax
rep stosd dword es:[edi], eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x120], 4
mov dword [edx], ecx
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ebx, eax
test ebx, ebx
je 0x440223
mov esi, dword [ebp - 0x13c]
cmp byte [esi + ebx], 0x5c
je 0x44019c
dec ebx
jmp 0x440185
cmp ebx, 0x103
ja 0x440320
lea edx, [eax + 1]
mov ecx, 0x104
mov esi, dword [ebp - 0x13c]
lea edi, [ebp - 0x11c]
cmp edx, ecx
cmovbe ecx, edx
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x103
cmovae eax, ecx
mov byte [ebp + eax - 0x11c], 0
lea eax, [ebp - 0x12c]
mov byte [ebp + ebx - 0x11c], 0
inc ebx
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x4402b6
xor eax, eax
mov dword [ebp - 0x12c], eax
jmp 0x4402f8
lea eax, [ebp - 0x130]
mov dword [esp + 0xc], 0x2001d
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4a6b6d
mov dword [esp], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x440264
xor eax, eax
mov dword [ebp - 0x130], eax
jmp 0x4402f8
lea eax, [ebp - 0x128]
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], 7
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4a6b76
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x440216
lea eax, [ebp - 0x120]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x13c]
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x44030c
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x440320
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x440f51
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ecx, 0xc
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x48]
push ebx
sub esp, 0x7c
mov ebx, dword [ebp + 8]
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x440fa8
cmp dword [ebp + 0xc], 0
je 0x440fa8
mov dword [esp], ebx
xor esi, esi
call fcn.00440eea
mov edi, esi
shl edi, 4
cmp dword [edi + 0x526e60], 0
je 0x440faf
inc esi
cmp esi, 0x80
jne 0x440f7d
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], str.Maximum_number_of_tooltips_reached___d__n
call fcn.0043d9e0
xor eax, eax
jmp 0x441115
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [0x5241b8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [0x5241b4]
mov dword [esp + 0x1c], 0x80000000
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0x80000003
mov dword [esp + 8], ecx
mov dword [esp + 4], str.tooltips_class32
cmp dword [0x524134], 0
setne al
shl eax, 0x16
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea edx, [edi + 0x526e60]
mov dword [edi + 0x526e60], eax
sub esp, 0x30
test eax, eax
je 0x440fa8
mov dword [edx + 4], ebx
mov dword [ebp - 0x4c], edx
mov dword [esp + 8], 0x43fc6c
mov dword [esp + 4], 0xfffffffc
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov dword [edx + 8], eax
mov eax, dword [ebp + 0xc]
call fcn.0043fd20
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x403
mov eax, dword [edi + 0x526e60]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x526e60]
mov dword [ebp - 0x48], 0x30
sub esp, 0x10
cmp dword [0x524134], 1
mov dword [ebp - 0x40], eax
sbb eax, eax
xor edi, edi
and eax, 0xfffffffc
add eax, 0x15
mov dword [ebp - 0x44], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 4], 0x87
mov dword [esp], ebx
call edi
sub esp, 0x10
bt eax, 0xd
jb 0x4410e0
or dword [ebp - 0x44], 0x80000002
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x48]
xor ebx, ebx
shl esi, 4
mov dword [ebp - 0x24], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x432
mov eax, dword [esi + 0x526e60]
mov dword [esp], eax
call edi
mov eax, 1
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x441381
Capabilities:
Create thread

Disassembly:
push ebp
mov eax, str.SoftwareMicrosoftPowerShell1Install
mov ebp, esp
sub esp, 0x38
lea edx, [ebp - 0xc]
call fcn.00440128
cmp dword [ebp - 0xc], 0
jg 0x44140e
lea edx, [ebp - 0xc]
mov eax, str.SoftwareMicrosoftPowerShell3Install
call fcn.00440128
cmp dword [ebp - 0xc], 0
jg 0x44140e
mov eax, dword [0x525ba0]
mov edx, 0xffc
mov dword [esp + 0xc], str.Notice:_The_ISO_download_feature_has_been_deactivated_because_a_compatible_PowerShell_version_was_not_detected_on_this_system.
mov dword [esp + 8], 0xffffffff
sub edx, eax
add eax, 0x524ba0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__snprintf_s]
mov dword [esp], 0x524ba0
mov byte [0x525b9b], 0
call sub.msvcrt.dll_strlen
lea edx, [eax + 2]
mov byte [eax + 0x524ba0], 0xd
mov dword [0x525ba0], edx
mov byte [eax + 0x524ba1], 0xa
mov byte [eax + 0x524ba2], 0
jmp 0x441436
xor eax, eax
xor edx, edx
mov dword [esp + 8], 0x43fdea
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
sub esp, 0x18
leave
ret

Function at 0x441d37
Capabilities:
Get graphical window text

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push edx
test eax, eax
jne 0x441d65
xor ebx, ebx
jmp 0x441e22
xor eax, eax
mov dword [esp + 4], 0x31
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
test eax, eax
je 0x441d5e
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push ecx
test ebx, ebx
jne 0x441df2
mov dword [esp], edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push edx
test eax, eax
jle 0x441d5e
lea ecx, [eax + 1]
mov dword [ebp - 0x30], eax
mov dword [esp + 4], 2
mov dword [esp], ecx
mov dword [ebp - 0x2c], ecx
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
je 0x441d5e
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
sub esp, 0xc
test eax, eax
jle 0x441e22
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x30]
mov dword [esp + 8], edx
jmp 0x441e12
mov eax, ebx
call fcn.0043fd20
mov ebx, eax
test eax, eax
je 0x441e22
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
lea edx, [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
sub esp, 0x10
mov dword [esp], ebx
call sub.msvcrt.dll_free
lea eax, [esi - 1]
cmp eax, 0xfffffffd
ja 0x441e41
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.USER32.dll_ReleaseDC]
push eax
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x443f99
Capabilities:
Identify system language via api

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x11c]
push ebx
push ecx
sub esp, 0x148
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [esp], eax
call fcn.0043d402
mov dword [esp + 0x10], 0x523b20
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str._s_s_shell32.dll.mui
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__snprintf_s]
mov eax, edi
mov byte [ebp - 0x19], 0
call fcn.0043fd20
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
je 0x44402b
mov dword [ebp - 0x12c], eax
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edx
test ebx, ebx
je 0x4440d8
mov ecx, 0x527700
mov edx, 0x101d
mov eax, ebx
call fcn.0043ffc5
test eax, eax
jg 0x444082
movups xmm0, xmmword [str.Microsoft_Window]
mov word [0x527710], 0x73
movups xmmword [0x527700], xmm0
call fcn.0043df77
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], str.Warning:_Could_not_locate_localized_format_prompt_title_string_in__s:__s
call fcn.0043d9e0
mov ecx, 0x527680
mov edx, 0x101e
mov eax, ebx
call fcn.0043ffc5
test eax, eax
jg 0x4440ce
mov dword [0x527680], 0x6d726f46
mov dword [0x527684], 0x64207461
mov dword [0x527688], 0x6b7369
call fcn.0043df77
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], str.Warning:_Could_not_locate_localized_format_prompt_button_string_in__s:__s
call fcn.0043d9e0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push eax
mov dword [esp], 0xc4d
mov ebx, 1
call fcn.00422df0
test eax, eax
je 0x444104
mov dword [esp], 0xc4d
call fcn.00422df0
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea ebx, [eax + 1]
mov dword [esp], 0xc4d
call fcn.00422df0
mov dword [esp], 0x527780
mov edx, eax
mov eax, pe_nt_image_headers32
cmp ebx, eax
mov dword [esp + 4], edx
cmova ebx, eax
mov dword [esp + 8], ebx
call sub.msvcrt.dll_memmove
mov byte [ebx + 0x52777f], 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret