joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b2d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, ecx
push edi
mov edx, 0x530070
call fcn.0044af80
mov edi, eax
test edi, edi
jne 0x44b303
push ebx
push str.Error:_Cant_open_file__s
call fcn.0044b0b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 0
push edi
call fcn.004e92a1
add esp, 0xc
push edi
call fcn.004e8c85
add esp, 4
mov esi, eax
push 0
push 0
push edi
call fcn.004e92a1
add esp, 0xc
push esi
call fcn.004d122c
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x44b356
push ebx
push esi
push str.Error:_Cant_allocate__d_bytes_buffer_for_file__s
call fcn.0044b0b0
add esp, 0xc
xor esi, esi
push edi
call fcn.004d1662
add esp, 4
jmp 0x44b38c
push edi
push esi
push 1
push eax
call fcn.004e7dcd
add esp, 0x10
cmp eax, esi
je 0x44b37f
push ebx
push str.Error:_Cant_read__s
call fcn.0044b0b0
push edi
xor esi, esi
call fcn.004d1662
add esp, 0xc
jmp 0x44b38c
push edi
call fcn.004d1662
add esp, 4
test esi, esi
jne 0x44b39f
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.004d1211
add esp, 4
mov dword [ebx], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x44c22f
cmp byte [edi], 0
jne 0x44c1e4
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
jmp 0x44c231
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
cmp ebx, 1
jle 0x44c22f
push 2
push ebx
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x44c22f
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x44c231
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push 0x44c170
push 0
push 0
mov dword [ebp - 0x18], 0x80000000
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], 3
mov dword [ebp - 0xc], 0x80
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0x3e5
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x44c2ac
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xbb8
push edi
call ebx
cmp eax, 0x102
jne 0x44c2a3
push edi
call dword [sym.imp.KERNEL32.dll_CancelSynchronousIo]
push 0xffffffffffffffff
push edi
call ebx
mov dword [ebp - 4], 0x102
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44c2b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test esi, esi
je 0x44c2c2
push esi
call fcn.004d1211
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
push esi
push edi
push 1
lea ebx, [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmovne ebx, eax
mov dword [ebp - 8], ecx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x44c325
call fcn.0044b6b0
push eax
push str.Warning:_Could_not_read_file_pointer__s
call fcn.0044b0b0
add esp, 8
mov edi, dword [ebp + 8]
mov esi, 1
nop dword [eax]
cmp esi, 1
jbe 0x44c350
push 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44c40d
push 0
push ebx
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44c39a
mov eax, dword [ebx]
mov dword [0x55a334], 0
cmp edi, eax
je 0x44c429
cmp dword [0x55a76c], 0
je 0x44c389
test eax, eax
je 0x44c41c
push edi
push eax
push str.Wrote__d_bytes_but_requested__d
call fcn.0044b0b0
add esp, 0xc
jmp 0x44c3bd
call fcn.0044b6b0
push eax
push str.Write_error__s
call fcn.0044b0b0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xc0030000
mov dword [0x55a334], eax
cmp dword [ebp + 0xc], 0
je 0x44c3ec
cmp esi, 4
jae 0x44c3e2
push 5
push str.Retrying_in__d_seconds...
call fcn.0044b0b0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 4
jbe 0x44c330
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
test eax, eax
jne 0x44c404
push 0xc003001d
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Could_not_set_file_pointer___Aborting
call fcn.0044b0b0
add esp, 4
jmp 0x44c3ec
push str.Warning:_Possible_short_write
call fcn.0044b0b0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cc40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], ecx
push edi
mov edi, edx
lea eax, [esi + 0x57]
test edi, edi
je 0x44ccc5
push ebx
push 2
push 0x80
mov byte [edi], 0
call fcn.004b6706
add esp, 8
mov ebx, eax
push 0x80
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test esi, esi
je 0x44ccb0
push 0
push 0
push 0x80
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jne 0x44ccb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test ebx, ebx
je 0x44ccbd
push ebx
call fcn.004d1211
add esp, 4
mov eax, dword [ebp - 4]
mov byte [edi + 0x7f], 0
pop ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44d3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
push edi
push 0x104
push 0
push eax
mov edi, edx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x124], ebx
call fcn.004ab0f0
mov eax, dword [ebp + 0x10]
push eax
push 0
push ebx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x118], 0xffffffff
mov dword [ebp - 0x11c], eax
call fcn.004ab0f0
add esp, 0x18
test edi, edi
je 0x44d60d
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44d444
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esi, ecx
je 0x44d460
cmp byte [edi + esi], 0x5c
je 0x44d496
sub esi, 1
jne 0x44d455
lea eax, [ebp - 0x110]
push eax
push 0x2001d
push 0
push str.SOFTWARE
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44d556
mov dword [ebp - 0x110], 0
jmp 0x44d5e9
cmp esi, 0x104
jae 0x44d60d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d4a7
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x44d4cc
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d4c0
sub ecx, edx
inc ecx
jmp 0x44d4d1
mov ecx, 0x104
push ecx
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004aab70
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d4e7
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x44d50c
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d500
sub ecx, edx
inc ecx
jmp 0x44d511
mov ecx, 0x104
lea eax, [ebp - 0x10c]
mov byte [ebp + ecx - 0x109], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
mov byte [ebp + esi - 0x108], 0
push eax
push dword [ebp - 0x114]
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44d58f
mov dword [ebp - 0x10c], 0
jmp 0x44d5dc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 7
push 0
push 0
push 0
push str.Akeo_ConsultingRufus
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44d58f
mov dword [ebp - 0x10c], 0
jmp 0x44d5dc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x124]
lea eax, [ebp - 0x118]
push eax
push 0
lea eax, [edi + esi]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x44d5d2
test eax, eax
jne 0x44d5dc
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp + 8]
jne 0x44d5dc
cmp dword [ebp - 0x11c], 0
jbe 0x44d5dc
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x44d5e9
push eax
call ebx
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x44d5f6
push ecx
call ebx
mov eax, dword [ebp - 0x120]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
Function at 0x44d620
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor esi, esi
mov edi, edx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
test edi, edi
jne 0x44d655
push 0x8a
push str.D:_a_rufus_rufus_src_registry.h
push str.key_name___NULL
call fcn.004dfbbc
add esp, 0xc
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x5c
push edi
call fcn.004aa320
add esp, 8
test eax, eax
je 0x44d67b
push 0x91
push str.D:_a_rufus_rufus_src_registry.h
push str.strchr_key_name_____NULL
call fcn.004dfbbc
add esp, 0xc
push 0x5c
push edi
call fcn.004aa320
add esp, 8
test eax, eax
jne 0x44d64d
lea eax, [ebp - 4]
push eax
push 0x2001d
push 0
push 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44d6ab
mov dword [ebp - 4], esi
jmp 0x44d6fc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 7
push 0
push 0
push 0
push str.SOFTWAREAkeo_ConsultingRufus
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44d6d4
mov dword [ebp - 8], esi
jmp 0x44d6ee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb esi, esi
inc esi
mov eax, dword [ebp - 4]
test eax, eax
je 0x44d6fc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d70a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4520c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 4
lea eax, [ebp - 4]
mov edx, str.SoftwareMicrosoftPowerShell1Install
push eax
push 4
mov ecx, 0x80000002
call fcn.0044d3c0
add esp, 0xc
cmp dword [ebp - 4], 0
jg 0x452171
push 4
lea eax, [ebp - 4]
mov edx, str.SoftwareMicrosoftPowerShell3Install
push eax
push 4
mov ecx, 0x80000002
call fcn.0044d3c0
add esp, 0xc
cmp dword [ebp - 4], 0
jg 0x452171
mov ecx, dword [0x55b210]
mov eax, 0xffc
sub eax, ecx
push str.Notice:_The_ISO_download_feature_has_been_deactivated_because_a_compatible_PowerShell_version_was_not_detected_on_this_system.
push eax
lea eax, [ecx + 0x5a0980]
push eax
call fcn.004050d0
mov ecx, 0x5a0980
mov byte [0x5a197b], 0
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452140
sub ecx, edx
mov word [ecx + 0x5a0980], 0xa0d
add ecx, 2
mov dword [0x55b210], ecx
cmp ecx, 0x1000
jae 0x4521fa
mov byte [ecx + 0x5a0980], al
mov esp, ebp
pop ebp
ret
cmp dword [0x55b1f8], 0
jne 0x4521e1
call fcn.0044da30
test eax, eax
jg 0x4521e1
mov ecx, dword [0x55b210]
mov eax, 0xffc
sub eax, ecx
push str.Notice:_The_ISO_download_feature_has_been_deactivated_because_Check_for_updates_is_disabled_in_your_settings.
push eax
lea eax, [ecx + 0x5a0980]
push eax
call fcn.004050d0
mov ecx, 0x5a0980
mov byte [0x5a197b], 0
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4521b4
sub ecx, edx
mov word [ecx + 0x5a0980], 0xa0d
add ecx, 2
mov dword [0x55b210], ecx
cmp ecx, 0x1000
jae 0x4521fa
mov byte [ecx + 0x5a0980], al
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0x451c30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
call fcn.004a8c90
int3
Function at 0x452f10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x10], 0
push edi
push eax
mov ebx, edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
xor esi, esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x452fdc
push esi
push esi
push 0x31
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x452fdc
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
jne 0x452f9e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
jle 0x452fdc
lea eax, [ebx + 1]
push 2
push eax
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x452fdc
lea eax, [ebx + 1]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x452fdc
lea eax, [ebp - 0x10]
push eax
push ebx
jmp 0x452fd4
cmp byte [ebx], 0
jne 0x453005
push 2
push 1
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x452fdc
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452fc0
sub ecx, edx
lea eax, [ebp - 0x10]
sar ecx, 1
push eax
push ecx
push esi
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
call fcn.004d1211
add esp, 4
cmp edi, 0xffffffff
je 0x452ff8
test edi, edi
je 0x452ff8
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 8], eax
cmp eax, 1
jg 0x453025
xor esi, esi
jmp 0x452fdc
push 2
push eax
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x452fdc
push dword [ebp - 8]
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, dword [ebp - 8]
je 0x452fb5
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
jmp 0x452fdc
Function at 0x453ca0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
jne 0x453cb8
xor edi, edi
jmp 0x453d20
cmp byte [esi], 0
jne 0x453ccd
push 2
push 1
call fcn.004b6706
add esp, 8
mov edi, eax
jmp 0x453d1b
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call eax
mov dword [ebp - 4], eax
cmp eax, 1
jle 0x453d19
push 2
push eax
call fcn.004b6706
mov edi, eax
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0x453d20
push dword [ebp - 4]
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call eax
cmp eax, dword [ebp - 4]
je 0x453d1b
push edi
call fcn.004d1211
add esp, 4
xor edi, edi
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test ebx, ebx
je 0x453d85
cmp byte [ebx], 0
jne 0x453d39
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
jmp 0x453d87
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call eax
mov dword [ebp - 4], eax
cmp eax, 1
jle 0x453d85
push 2
push eax
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x453d85
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call eax
cmp eax, dword [ebp - 4]
je 0x453d87
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test edi, edi
je 0x453da9
push edi
call fcn.004d1211
add esp, 4
test esi, esi
je 0x453db6
push esi
call fcn.004d1211
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4554d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
push edi
push 0x104
push 0
push eax
mov edi, edx
mov dword [ebp - 0x120], ebx
call fcn.004ab0f0
add esp, 0xc
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], 0xffffffff
mov dword [ebp - 0x118], 4
mov dword [ebx], 0
test edi, edi
je 0x455719
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x455550
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esi, ecx
je 0x45556c
cmp byte [edi + esi], 0x5c
je 0x4555a1
sub esi, 1
jne 0x455561
lea eax, [ebp - 0x110]
push eax
push 0x2001d
push 0
push str.SOFTWARE
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x455665
mov dword [ebp - 0x110], 0
jmp 0x4556f5
cmp esi, 0x104
jae 0x455719
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4555b2
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x4555dc
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4555d0
sub ecx, edx
inc ecx
jmp 0x4555e1
mov ecx, 0x104
push ecx
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004aab70
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4555f7
sub ecx, edx
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x45561c
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455610
sub ecx, edx
inc ecx
jmp 0x455621
mov ecx, 0x104
lea eax, [ebp - 0x10c]
mov byte [ebp + ecx - 0x109], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
mov byte [ebp + esi - 0x108], 0
push eax
push 0x80000001
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45569e
mov dword [ebp - 0x10c], 0
jmp 0x4556e8
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 7
push 0
push 0
push 0
push str.Akeo_ConsultingRufus
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45569e
mov dword [ebp - 0x10c], 0
jmp 0x4556e8
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x120]
lea eax, [ebp - 0x114]
push eax
push 0
lea eax, [edi + esi]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x4556de
test eax, eax
jne 0x4556e8
cmp dword [ebp - 0x114], 4
jne 0x4556e8
cmp dword [ebp - 0x118], eax
jbe 0x4556e8
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4556f5
push eax
call ebx
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x455702
push ecx
call ebx
mov eax, dword [ebp - 0x11c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
Function at 0x45bae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x59f788]
sub esi, dword [0x59f98c]
sub esi, dword [0x59f564]
push edi
push 0x3fa
push dword [0x5a2ae4]
mov edi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fb
push dword [0x5a2ae4]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffffffffffffffec
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or eax, 0x1000
and ecx, 0xffffefff
test edi, edi
cmove eax, ecx
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
test edi, edi
je 0x45bb8f
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
call eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [0x5a2ae4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
sub eax, dword [0x59f98c]
sub eax, dword [ebp - 0xc]
add esi, eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x14]
push ecx
push ebx
call eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [0x5a2ae4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
sub eax, ecx
push 0
push eax
mov eax, dword [0x59f56c]
add eax, dword [0x59f98c]
add eax, dword [0x59f564]
push esi
push ecx
push eax
push 0x403
push dword [0x5a2ae4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
xor ebx, ebx
test edi, edi
setne bl
push ebx
push dword [ebp - 0x1c]
call esi
push ebx
mov ebx, dword [ebp - 0x18]
push ebx
call esi
neg edi
sbb edi, edi
and edi, 5
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
Function at 0x45bc20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5a2ae0], 3
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
jne 0x45bc63
mov esi, dword [ebp + 8]
mov eax, esi
or eax, dword [ebp + 0xc]
je 0x45bc63
mov ecx, 1
call fcn.0045bae0
lea edi, [ebp - 0x48]
mov eax, 0x53660c
jmp 0x45bd38
mov esi, dword [0x59f788]
sub esi, dword [0x59f98c]
sub esi, dword [0x59f564]
push 0x3fa
push dword [0x5a2ae4]
call ebx
push 0x3fb
push dword [0x5a2ae4]
mov edi, eax
call ebx
push 0xffffffffffffffec
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffefff
push eax
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x58]
push eax
push dword [0x5a2ae4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
push 0
push eax
mov eax, dword [0x59f56c]
add eax, dword [0x59f98c]
add eax, dword [0x59f564]
push esi
push ecx
push eax
push 0x403
push dword [0x5a2ae4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call esi
push 0
push ebx
call esi
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc34
lea edi, [ebp - 0x48]
call fcn.0041e970
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
add esp, 4
mov eax, str.0___s_
push esi
push eax
push 0x40
push edi
call fcn.004050d0
add esp, 0x10
mov byte [ebp - 9], 0
mov dword [0x55a7d8], 1
push 0x3fa
push dword [0x5a2ae4]
call ebx
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.00459720
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret