Function at 0x10001e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
test ecx, ecx
je 0x1000206f
mov ebx, dword [ecx]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x1000206f
mov eax, dword [ebx]
push 0
push 0x80
push 2
push 0
push 1
mov dword [ecx], eax
lea eax, [ebx + 4]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x10002068
push 0
push str.32770
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
push 0
test eax, eax
je 0x1000204f
push str.SysListView32
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x18], eax
push 0
test eax, eax
je 0x10002042
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10002033
mov ebx, dword [ebp + 0xc]
add ebx, 0x10
cmp ebx, 0x2000
jge 0x10001ef8
mov ebx, 0x2000
lea eax, [ebx + ebx]
push 0x10079cc7
push eax
call fcn.10003840
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10001f26
mov eax, 0x2000
mov ebx, 0x1000
call fcn.10001090
mov eax, esp
mov dword [ebp - 0x10], esp
jmp 0x10001f29
mov dword [ebp - 0x10], eax
xor edi, edi
jmp 0x10001f30
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
push eax
push edi
push 0x1073
push dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
jae 0x10002002
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov word [ecx + eax*2], dx
lea edx, [eax + 2]
mov dword [ebp - 0x14], edx
cmp edx, ebx
jae 0x10001f9b
mov dword [ecx + eax*2], 0xa000d
xor eax, eax
mov word [ecx + edx*2], ax
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxAdditionsWINNTInstallerInstallHelperVBoxGuestInstallHelper.cpp
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.100045f0
add esp, 0xc
test eax, eax
js 0x10001ff3
push dword [ebp - 0xc]
call sym.IntelFirmwareInterfaceInstallHelper.dll_nocrt_strlen
add esp, 4
lea ecx, [ebp - 8]
push 0
push ecx
push eax
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x14], ebx
jb 0x10001fe6
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x10079ea4
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0xc]
call fcn.10003ae0
add esp, 4
jmp 0x10002016
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push str._RTUtf16ToUtf8_failed__r_n
jmp 0x1000200f
push 0
lea eax, [ebp - 8]
push eax
push 0x1c
push str._LVM_GETITEMTEXT_overflow__r_n
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x10001f30
push dword [ebp - 0x20]
call fcn.10003880
mov ebx, dword [ebp - 0x24]
add esp, 4
jmp 0x10002061
push 0
lea eax, [ebp - 8]
push eax
push 0xf
push str.Log_is_empty._r_n
jmp 0x1000205a
lea eax, [ebp - 8]
push eax
push 0x30
push str.FindWindowEx_failed_to_locate_the_log_control__r_n
jmp 0x1000205a
lea eax, [ebp - 8]
push eax
push 0x2f
push str.FindWindowEx_failed_to_locate_dialog_windows__r_n
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret