joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4455fd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x26], 0x554e494c
mov word [ebp - 0x22], 0x2058
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], 0x7c3a3e3c
mov dword [ebp - 0x1c], 0x2f5c3f2a
mov dword [ebx], 0x4b0b24
cmp eax, 0xff
ja 0x44563e
xor ebx, ebx
jmp 0x4457ab
sub eax, 0x40
mov esi, 0x40
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x26]
mov dword [esp + 8], 6
mov dword [esp + 4], eax
lea eax, [edi + esi]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x445793
mov al, byte [edi + esi - 3]
cmp al, 0x49
jne 0x445685
cmp byte [edi + esi - 2], 0x53
jne 0x445793
cmp byte [edi + esi - 1], 0x4f
jmp 0x44569d
cmp al, 0x53
jne 0x445793
cmp byte [edi + esi - 2], 0x59
jne 0x445793
cmp byte [edi + esi - 1], 0x53
jne 0x445793
add esi, 6
lea edx, [ebp - 0x2c]
mov dword [esp + 8], 0xa
lea eax, [edi + esi]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x3c], eax
call sub.msvcrt.dll_strtoul
lea edx, [ebp - 0x2c]
mov dword [esp + 8], 0xa
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], edx
shl ebx, 8
inc eax
mov dword [esp], eax
call sub.msvcrt.dll_strtoul
movzx eax, al
add bx, ax
je 0x445793
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0x2f
mov esi, dword [ebp - 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov cl, byte [ecx + eax]
inc eax
mov dl, byte [esi + eax]
cmp cl, 0x20
je 0x44570f
cmp cl, dl
je 0x4456fa
cmp dl, 0x2d
cmovne eax, edi
cmp eax, 3
jbe 0x445721
mov byte [esi + eax], 0x2f
add dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
test edx, edx
je 0x445734
mov dword [esp], edx
call sub.msvcrt.dll_strlen
dec eax
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x44574e
add ecx, eax
mov dl, byte [ecx]
cmp dl, 0x20
je 0x445749
cmp dl, 0x2a
jne 0x44574e
mov byte [ecx], 0
jmp 0x445733
mov edi, 1
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4457a4
mov dword [esp], esi
call sub.msvcrt.dll_strlen
cmp edi, eax
jae 0x445781
xor eax, eax
mov edx, dword [ebp - 0x2c]
mov cl, byte [ebp + eax - 0x20]
add edx, edi
cmp byte [edx], cl
jne 0x445778
mov byte [edx], 0x5f
inc eax
cmp eax, 8
jne 0x445768
inc edi
jmp 0x445753
cmp byte [esi + 1], 0
jne 0x44578c
mov esi, 0x4b0b24
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x4457ab
mov eax, dword [ebp - 0x40]
inc esi
cmp esi, eax
jb 0x445649
jmp 0x445637
mov al, byte [1]
ud2
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x448091
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0x16c
mov eax, dword [0x5241b4]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDC]
push ecx
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push ebx
push ebx
xor ebx, ebx
mov dword [esp + 8], 0x48
mov dword [esp + 4], eax
mov dword [esp], 0xe
call dword [sym.imp.KERNEL32.DLL_MulDiv]
xor edx, edx
xor ecx, ecx
sub esp, 0xc
neg eax
mov dword [esp + 0x34], str.Segoe_UI
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 2
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x258
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], eax
sub esp, 0x38
mov eax, dword [ebp - 0x12c]
mov dword [esp + 0x10], 1
lea esi, [ebp - 0x118]
mov edi, esi
mov ebx, dword [eax*4 + 0x4b107c]
mov eax, dword [ebp - 0x130]
mov dword [esp + 8], 0x30
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
sub esp, 0x14
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 0x40
push edx
mov ebx, eax
xor eax, eax
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x7c
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
sub esp, 0xc
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 0x7d
jbe 0x4481e4
mov dword [esp + 8], 0x242
mov dword [esp + 4], str.ui.c
mov dword [esp], str.wlen___ARRAYSIZE_wtmp____2
call dword [0x491228]
mov word [ebp + eax*2 - 0x118], 0x20
lea edi, [ebp - 0x128]
mov word [ebp + eax*2 - 0x116], 0x20
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push eax
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
push edx
push edx
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 0xc], 2
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
sub esp, 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00441d37
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x128]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
inc dword [ebp - 0x12c]
sub esp, 0x1c
cmp dword [ebp - 0x12c], 3
jne 0x448143
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44c8e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x11c]
push ebx
sub esp, 0x16c
mov dword [ebp - 0x13c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x144], ecx
mov ecx, 0x41
rep stosd dword es:[edi], eax
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], ecx
mov ecx, edx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x124], 0xffffffff
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
mov ebx, eax
test ebx, ebx
je 0x44c9e8
mov eax, dword [ebp - 0x13c]
cmp byte [eax + ebx], 0x5c
je 0x44c960
dec ebx
jmp 0x44c949
xor esi, esi
cmp ebx, 0x103
ja 0x44cb18
lea eax, [edx + 1]
mov ecx, 0x104
mov esi, dword [ebp - 0x13c]
lea edi, [ebp - 0x11c]
cmp eax, ecx
cmovbe ecx, eax
mov eax, 0x103
rep movsb byte es:[edi], byte [esi]
cmovb eax, edx
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 eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44ca7f
xor eax, eax
mov dword [ebp - 0x12c], eax
jmp 0x44ca26
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], 0x4b185d
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44ca2d
xor eax, eax
mov dword [ebp - 0x130], eax
xor esi, esi
jmp 0x44caf0
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], 0x4b1866
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x44c9de
lea eax, [ebp - 0x120]
xor ecx, ecx
mov esi, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
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
cmp eax, 2
je 0x44caf0
test eax, eax
jne 0x44ca26
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x124], eax
jne 0x44ca26
xor eax, eax
cmp dword [ebp - 0x120], 0
setne al
mov esi, eax
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x44cb04
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x44cb18
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44ce58
Capabilities:
Create thread

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0x44bba6
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x527d20], eax
sub esp, 0x18
test eax, eax
jne 0x44cebc
mov dword [esp], str.Unable_to_start_unmount_image_thread
call fcn.0043d9e0
xor eax, eax
jmp 0x44cf13
mov edx, dword [0x48fb9c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov eax, dword [0x527d20]
push ecx
push ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [0x527d20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push edx
push edx
test eax, eax
jne 0x44cf09
xor edx, edx
mov dword [ebp - 0x1c], edx
xor eax, eax
mov dword [0x527d20], eax
mov eax, dword [ebp - 0x1c]
leave
ret
Function at 0x44d1d0
Capabilities:
Create thread

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], edi
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0044cf15
test eax, eax
je 0x44d267
mov dword [esp + 0xc], eax
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], str.WARNING:_Found_stale__s___d__image_mounted_on__s___Attempting_to_unmount_it...
call fcn.0043d9e0
xor eax, eax
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], 0x528280
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
xor eax, eax
mov word [0x528060], 0
sub esp, 0x18
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0044ce58
xor ecx, ecx
lea eax, [ebp - 0x28]
xor ebx, ebx
mov dword [esp + 8], 0x44b78f
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x527d20], eax
sub esp, 0x18
test eax, eax
jne 0x44d2a9
mov dword [esp], str.Unable_to_start_mount_image_thread
call fcn.0043d9e0
jmp 0x44d304
mov edx, dword [0x48fb9c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
push eax
push eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [0x527d20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [0x527d20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push edx
push edx
test eax, eax
jne 0x44d2f6
xor edi, edi
mov dword [ebp - 0x2c], edi
xor esi, esi
cmp dword [ebp - 0x2c], 0
mov dword [0x527d20], esi
jne 0x44d30b
xor edx, edx
jmp 0x44d3d5
cmp word [0x528280], 0
jne 0x44d32f
mov dword [ebp + 0xc], 1
mov dword [ebp + 8], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_calloc
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0xc], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0x528280
mov dword [esp + 4], ebx
mov dword [esp], 0xfde9
call esi
sub esp, 0x20
mov edi, eax
cmp eax, 1
jle 0x44d304
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov dword [ebp - 0x3c], eax
mov ebx, eax
test eax, eax
je 0x44d304
xor eax, eax
xor edx, edx
mov dword [esp + 0x14], edi
mov dword [esp + 4], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x528280
mov dword [esp], 0xfde9
call esi
mov edx, dword [ebp - 0x3c]
sub esp, 0x20
cmp edi, eax
je 0x44d3d5
mov dword [esp], ebx
call sub.msvcrt.dll_free
jmp 0x44d304
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x44e099
Capabilities:
Create thread

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0x44be47
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x527d20], eax
sub esp, 0x18
test eax, eax
jne 0x44e0fd
mov dword [esp], str.Unable_to_start_apply_image_thread
call fcn.0043d9e0
xor eax, eax
jmp 0x44e154
mov edx, dword [0x48fb9c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov eax, dword [0x527d20]
push ecx
push ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [0x527d20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
push edx
push edx
test eax, eax
jne 0x44e14a
xor edx, edx
mov dword [ebp - 0x1c], edx
xor eax, eax
mov dword [0x527d20], eax
mov eax, dword [ebp - 0x1c]
leave
ret
Function at 0x44f2a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x28], eax
mov eax, 0x523c40
call fcn.0044f175
mov dword [ebp - 0x1c], eax
mov eax, 0x4b1f70
call fcn.0044f175
mov dword [esp + 4], 2
mov dword [esp], 0x104
mov edi, eax
call sub.msvcrt.dll_calloc
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov esi, eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.DLL_GetLastError]
sub esp, 0x10
mov dword [ebp - 0x24], eax
call eax
test ebx, ebx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
je 0x44f357
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0x104
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp], 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
sub esp, 0x20
mov ebx, eax
test eax, eax
jne 0x44f357
mov eax, dword [ebp - 0x24]
call eax
mov dword [ebp - 0x20], eax
test esi, esi
je 0x44f363
mov dword [esp], esi
call sub.msvcrt.dll_free
test edi, edi
je 0x44f36f
mov dword [esp], edi
call sub.msvcrt.dll_free
cmp dword [ebp - 0x1c], 0
je 0x44f380
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x20]
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 0x44f440
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], edx
xor edx, edx
mov dword [ebp - 0x140], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x130], edx
mov ecx, 0x1ff
mov dword [ebp - 0x12c], edx
mov edx, 0x5285a0
mov dword [ebp - 0x124], 0xffffffff
mov edi, edx
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x120], 0x1ff
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov ebx, eax
test ebx, ebx
je 0x44f547
mov esi, dword [ebp - 0x13c]
cmp byte [esi + ebx], 0x5c
je 0x44f4be
dec ebx
jmp 0x44f4a7
cmp ebx, 0x103
ja 0x44f644
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 eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44f5dc
xor eax, eax
mov dword [ebp - 0x12c], eax
jmp 0x44f61c
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], str.SOFTWARE
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x44f58a
xor eax, eax
mov dword [ebp - 0x130], eax
jmp 0x44f61c
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], str.Smu1zelRufus_7
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x44f53a
lea eax, [ebp - 0x120]
xor ecx, ecx
mov dword [esp + 0x10], 0x5285a0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
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 0x44f630
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x44f644
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 0x450574
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x41
mov ebp, esp
push edi
push ebx
lea edi, [ebp - 0x10c]
xor ebx, ebx
sub esp, 0x1b0
cmp dword [0x524a20], 0x61
mov dword [0x51078e], ebx
rep stosd dword es:[edi], eax
mov dword [0x510792], ebx
jbe 0x4505e7
mov dword [esp], 1
call fcn.0044cb22
test al, 4
je 0x4505e7
cmp byte [0x51076f], 0
lea ebx, [ebp - 0x10c]
jne 0x450628
mov eax, dword [0x522ec8]
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044e201
test eax, eax
jne 0x4505ee
mov dword [esp], str.Could_not_mount_Windows_ISO_for_build_number_detection
call fcn.0043d9e0
xor eax, eax
jmp 0x4506ef
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18c]
mov dword [esp + 0x14], 0x5104a2
mov dword [esp + 0xc], 0x4b3574
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__snprintf_s]
mov byte [ebp - 0x10d], 0
mov eax, ebx
call fcn.0044f2a3
test eax, eax
je 0x45063c
cmp byte [ebp - 0x10c], 0
jne 0x450664
mov dword [ebp - 0x108], 0x6d585666
mov dword [ebp - 0x10c], 0x75525c2e
mov dword [ebp - 0x106], 0x2e6c6d58
mov dword [ebp - 0x102], 0x706d74
mov eax, ebx
call fcn.0044f402
cmp byte [0x51076f], 0
lea eax, [ebp - 0x18c]
je 0x45067f
mov eax, dword [0x522ec8]
xor edx, edx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._1_.xml
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044d3df
test eax, eax
jne 0x4506b3
mov dword [esp], str.Could_not_acquire_WIM_index
call fcn.0043d9e0
jmp 0x4506bf
mov edx, 1
mov eax, ebx
call fcn.0044f010
mov eax, ebx
call fcn.0044f402
cmp byte [0x51076f], 0
jne 0x4506d4
call fcn.0044e156
cmp word [0x51078e], 0
je 0x4505e7
xor eax, eax
cmp word [0x510792], 0
setne al
add esp, 0x1b0
pop ebx
pop edi
pop ebp
ret
Function at 0x45266a
Capabilities:
Encode data using xor
Hash data using crc32b
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
test eax, eax
jne 0x452696
mov dword [esp + 4], 4
mov dword [esp], 0x100
call sub.msvcrt.dll_calloc
test eax, eax
je 0x452730
cmp dword [ebp + 0xc], 0
je 0x4526d8
mov dword [ebp - 0x1c], 8
mov ecx, 1
mov edx, 0x80000000
lea ebx, [edx + edx]
sar edx, 0x1f
lea edi, [eax + ecx*4]
and edx, 0x4c11db7
xor edx, ebx
xor ebx, ebx
cmp ebx, ecx
je 0x4526cf
mov esi, dword [eax + ebx*4]
xor esi, edx
mov dword [edi + ebx*4], esi
inc ebx
jmp 0x4526c0
add ecx, ecx
dec dword [ebp - 0x1c]
jne 0x4526ad
jmp 0x452730
mov dword [ebp - 0x1c], 8
xor edx, edx
mov esi, 1
mov dword [eax], edx
mov edx, pe_nt_image_headers32
mov ebx, esi
shr ebx, 1
and esi, 1
mov ecx, esi
je 0x4526fd
mov ecx, 0xedb88320
mov esi, ebx
xor esi, ecx
lea ecx, [edx + edx]
mov dword [ebp - 0x24], ecx
lea ecx, [eax + edx*4]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov ebx, dword [eax + ecx*4]
xor ebx, esi
mov edi, ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + ecx*4], edi
mov edi, dword [ebp - 0x24]
add ecx, edi
cmp ecx, 0xff
jbe 0x45270f
shr edx, 1
dec dword [ebp - 0x1c]
jne 0x4526ed
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x45275a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x2c
test eax, eax
jns 0x45277a
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 9
jmp 0x45285a
test edx, edx
jne 0x45278f
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0xe
jmp 0x45285a
mov eax, ecx
cmp dword [0x48fd04], ecx
jae 0x4527aa
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 7
jmp 0x45285a
mov ecx, dword [0x528920]
test ecx, ecx
je 0x4527ca
cmp dword [ecx], 0
je 0x4527ca
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 4
jmp 0x45285a
cmp dword [0x48fd08], esi
jne 0x4527fd
mov esi, dword [0x5288c0]
mov ecx, dword [0x5288c4]
lea ebx, [esi + eax]
cmp ecx, ebx
jae 0x4527e9
mov eax, ecx
sub eax, esi
add esi, dword [0x5288c8]
mov edi, edx
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
add dword [0x5288c0], eax
jmp 0x45281c
mov ecx, dword [0x528930]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], esi
test ecx, ecx
je 0x452816
call ecx
jmp 0x45281c
call dword [sym.imp.msvcrt.dll__read]
test eax, eax
jle 0x45285d
mov ebx, eax
mov edx, dword [0x528928]
mov ecx, eax
sar ebx, 0x1f
add ecx, dword [0x528938]
adc ebx, dword [0x52893c]
mov dword [0x528938], ecx
mov dword [0x52893c], ebx
test edx, edx
je 0x45285d
mov dword [ebp - 0x1c], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
call edx
mov eax, dword [ebp - 0x1c]
jmp 0x45285d
or eax, 0xffffffff
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret