Function at 0x444659
Capabilities:
Copy file
Read file on windows

Disassembly:
push ebp
mov ecx, 6
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x190]
push ebx
sub esp, 0x20c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x19c], 0x4b063f
mov dword [ebp - 0x198], 0x4b0643
mov dword [ebp - 0x1c0], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x5240b0]
cmp eax, 5
je 0x4446b7
xor esi, esi
cmp eax, 3
jne 0x4446bc
xor eax, eax
cmp byte [0x510797], 4
seta al
mov esi, eax
mov eax, 0x510798
jmp 0x4446c8
mov esi, 1
mov eax, esi
neg eax
and eax, 0xc
add eax, 0x48fb84
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xca2
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], 1
call fcn.00422f82
xor eax, eax
xor edx, edx
mov dword [0x48fc28], eax
mov eax, dword [0x4df230]
mov ebx, eax
shr ebx, 1
je 0x444706
mov dl, 1
jmp 0x4446fe
test dl, dl
je 0x444718
bsr edx, eax
test eax, eax
cmove edx, ebx
mov dword [0x48fc28], edx
mov edx, dword [0x48fc28]
mov dword [0x48fc24], eax
mov dword [0x48fc1c], eax
mov dword [0x48fc20], edx
lea edx, [eax - 1]
mov dword [0x48fc18], edx
test eax, eax
je 0x44474a
add eax, 0x10
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
jne 0x444766
mov dword [ebp - 0x1bc], 0xffffffff
xor ebx, ebx
xor edi, edi
mov dword [0x527838], ebx
mov dword [ebp - 0x1c0], ebx
jmp 0x4447c0
lea edx, [eax + 0x10]
xor ecx, ecx
and edx, 0xfffffff0
mov dword [edx - 4], eax
mov dword [0x527838], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040993e
mov dword [ebp - 0x1bc], eax
dec eax
cmp eax, 0xfffffffd
jbe 0x4447c8
mov dword [esp], str.Could_open_volume_for_Syslinux_installation
call fcn.0043d9e0
xor edx, edx
xor edi, edi
mov dword [ebp - 0x1c0], edx
or ebx, 0xffffffff
jmp 0x44553f
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1b8]
mov dword [esp + 0xc], eax
mov eax, dword [0x48fc24]
mov dword [esp + 8], eax
mov eax, dword [0x527838]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
mov edi, eax
test eax, eax
jne 0x444818
mov dword [esp], str.Could_not_read_VBR
call fcn.0043d9e0
xor eax, eax
mov dword [ebp - 0x1c0], eax
jmp 0x4447c0
mov eax, dword [0x48fc24]
cmp dword [ebp - 0x1b8], eax
je 0x44482e
mov dword [esp], str.Could_not_read_the_whole_VBR
jmp 0x4447b1
lea eax, [ebp - 0x1b4]
mov dword [esp + 4], eax
mov eax, dword [0x527838]
mov dword [esp], eax
call fcn.0047b10b
mov dword [ebp - 0x1c8], eax
test eax, eax
je 0x444864
mov dword [esp + 4], eax
mov dword [esp], str.Error:__s
call fcn.0043d9e0
jmp 0x4447b6
mov dword [esp], 0x5289c0
call fcn.0047b5d2
cmp dword [0x527828], 0
je 0x4449f0
cmp dword [0x52782c], 0
je 0x4449f0
call fcn.0044462b
xor ebx, ebx
mov eax, dword [ebx*4 + 0x527828]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebx*4 + 0x527830], eax
test eax, eax
je 0x4447b6
test ebx, ebx
mov edx, 0x4b063f
mov eax, 0x4b0643
mov dword [esp + 0x20], str.ldlinux
cmove eax, edx
lea esi, [ebp - 0x11c]
mov dword [esp + 0x1c], 0x5107a4
mov dword [esp + 0x18], 0x510798
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], str.syslinux
mov dword [esp + 0x10], 0x4b06c6
mov dword [esp + 0xc], str._s_s__s_s_s._s
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__snprintf_s]
mov byte [ebp - 0x19], 0
mov dword [esp + 4], 0x4b06df
mov dword [esp], esi
call sub.msvcrt.dll_fopen
mov edi, eax
test eax, eax
jne 0x444943
mov dword [esp + 8], esi
mov dword [esp + 4], 0x523a00
mov dword [esp], str.Could_not_open__s_s
jmp 0x444b3a
mov dword [esp + 0xc], eax
mov eax, dword [ebx*4 + 0x527828]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx*4 + 0x527830]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [ebp - 0x1c4], eax
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, dword [ebx*4 + 0x527828]
mov edx, dword [ebp - 0x1c4]
cmp eax, edx
je 0x4449a0
mov dword [esp + 8], esi
mov dword [esp + 4], 0x523a00
mov dword [esp], str.Could_not_read__s_s
jmp 0x444b3a
mov dword [esp + 4], eax
mov eax, dword [ebx*4 + 0x527830]
mov dword [esp], eax
call fcn.0041ba74
mov edx, 0x4b0647
mov dword [esp + 8], esi
test eax, eax
mov eax, 0x4b064b
mov dword [esp + 4], 0x523a00
cmovne eax, edx
mov dword [esp], str.Using_existing__s_s__s
mov dword [esp + 0xc], eax
call fcn.0043d9e0
test ebx, ebx
jne 0x444a8c
mov ebx, 1
jmp 0x444891
shl esi, 3
mov eax, dword [ebp + ebx - 0x19c]
lea edi, [ebp - 0x15c]
mov dword [esp + 0x10], str.ldlinux
mov dword [esp + 0xc], str._s._s
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__snprintf_s]
xor eax, eax
mov byte [ebp - 0x11d], 0
mov dword [ebx + 0x527828], eax
lea eax, [ebx + 0x527828]
mov dword [esp + 0x10], eax
mov eax, dword [esi + ebx + 0x4b0b28]
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov eax, dword [0x5241b8]
mov dword [esp], eax
call fcn.0043c5a4
mov dword [ebx + 0x527830], eax
test eax, eax
je 0x4447b6
add ebx, 4
cmp ebx, 8
jne 0x4449f3
movsx eax, byte [ebp - 0x1c0]
lea ebx, [ebp - 0x11c]
mov dword [ebp - 0x1cc], eax
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_toupper]
mov dword [esp], ebx
mov dword [esp + 0x18], 0x4b063f
mov dword [esp + 0x14], str.ldlinux
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._c:_s._s
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
call dword [sym.imp.msvcrt.dll__snprintf_s]
xor eax, eax
mov byte [ebp - 0x19], 0
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 0x14], 7
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
jne 0x444b44
call fcn.0043df77
mov dword [esp], str.Unable_to_create__s:__s
mov dword [esp + 8], eax
lea eax, [ebp - 0x119]
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x4447b6
xor edi, edi
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], edi
mov eax, dword [0x527828]
mov dword [esp + 8], eax
mov eax, dword [0x527830]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0043ebc0
test eax, eax
jne 0x444b8c
call fcn.0043df77
mov dword [esp], str.Could_not_write__s:__s
mov dword [esp + 8], eax
lea eax, [ebp - 0x119]
mov dword [esp + 4], eax
jmp 0x444bd0
xor esi, esi
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x119]
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0x5289c0
mov dword [esp], ebx
call fcn.0043ebc0
test eax, eax
jne 0x444be2
call fcn.0043df77
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], str.Could_not_write_ADV_to__s:__s
call fcn.0043d9e0
xor ecx, ecx
mov dword [ebp - 0x1c0], ecx
jmp 0x44553d
mov dword [esp + 4], esi
mov dword [esp], str.Successfully_wrote__s
call fcn.0043d9e0
cmp dword [0x5240b0], 3
je 0x444c0f
mov dword [esp + 4], 0xbf800000
mov dword [esp], 7
call fcn.0044a184
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
push edx
test eax, eax
jne 0x444c2b
mov dword [esp], str.FlushFileBuffers_failed
call fcn.0043d9e0
jmp 0x444bd5
mov eax, dword [0x48fc24]
mov ecx, dword [0x48fc28]
add eax, dword [0x527828]
add eax, 0x3ff
shr eax, cl
mov dword [ebp - 0x1d0], eax
mov dword [esp + 4], 8
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x444bd5
cmp dword [ebp + 0x10], 2
je 0x444c8d
jg 0x444c7e
cmp dword [ebp + 0x10], 1
ja 0x444f2c
jmp 0x444e87
cmp dword [ebp + 0x10], 4
je 0x444e87
jmp 0x444f2c
mov eax, dword [ebp - 0x1cc]
lea esi, [ebp - 0x15c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_toupper]
mov dword [esp + 0xc], 0x4b07b9
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x40
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__snprintf_s]
mov eax, dword [ebp - 0x1bc]
mov byte [ebp - 0x11d], 0
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x190]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0047bbe5
test eax, eax
je 0x444cfc
mov dword [esp], str.Could_not_fetch_NTFS_volume_info
jmp 0x444da5
xor eax, eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e4], eax
xor eax, eax
mov dword [ebp - 0x1c4], eax
jmp 0x444d54
test cl, cl
je 0x444d3c
mov eax, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x170]
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
lea eax, [ebp - 0x178]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x1b0]
mov dword [esp + 4], eax
call fcn.0047b9cd
test eax, eax
jne 0x444f38
lea eax, [ebp - 0x1a8]
mov dword [esp + 8], eax
lea eax, [ebp - 0x168]
mov dword [esp + 4], eax
lea eax, [ebp - 0x190]
mov dword [esp], eax
call fcn.0047ba9d
test eax, eax
je 0x444daf
mov dword [esp], str.Could_not_translate_ldlinux.sys_LCN_to_disk_LBA
call fcn.0043d9e0
jmp 0x44553d
mov ecx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x1a8]
mov edi, dword [ebp - 0x1a4]
sub esi, dword [ebp - 0x180]
mov eax, dword [ebp - 0x170]
sbb edi, dword [ebp - 0x17c]
mov dword [ebp - 0x1a8], esi
sub eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x1a4], edi
sbb edx, dword [ebp - 0x174]
mov dword [ebp - 0x1e0], esi
imul ecx, edx
mov dword [ebp - 0x1dc], edi
mul dword [ebp - 0x184]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], edx
add dword [ebp - 0x1d4], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1d8]
mov edi, dword [ebp - 0x1d0]
or eax, edx
setne dl
cmp dword [ebp - 0x1c4], edi
setl al
add dword [ebp - 0x1d8], 0xffffffff
adc dword [ebp - 0x1d4], 0xffffffff
and al, dl
je 0x444d20
add dword [ebp - 0x1e4], 8
mov esi, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1e4]
mov edi, dword [ebp - 0x1dc]
inc dword [ebp - 0x1c4]
mov dword [ecx - 8], esi
add dword [ebp - 0x1e0], 1
mov dword [ecx - 4], edi
mov ecx, eax
adc dword [ebp - 0x1dc], 0
jmp 0x444e1a
mov eax, dword [ebp - 0x1bc]
mov dword [esp], 0x44447c
mov dword [esp + 4], eax
call fcn.0047ab40
mov esi, eax
test eax, eax
jne 0x444eaf
mov dword [esp], str.Syslinux_FAT_access_error
jmp 0x444da5
xor eax, eax
mov dword [esp + 8], str.LDLINUX_SYS
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0047ad2c
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0047a8bc
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x1c4], eax
mov eax, ecx
or eax, edx
je 0x444f22
mov edi, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1c4], edi
jge 0x444f22
mov edi, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x1c0]
inc dword [ebp - 0x1c4]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], esi
call fcn.0047a919
mov ecx, eax
jmp 0x444ee1
mov dword [esp], esi
call fcn.0047ad0c
jmp 0x444f38
mov dword [esp], str.Unsupported_Syslinux_filesystem
jmp 0x444da5
mov dword [esp], 0x5103a0
call sub.msvcrt.dll_strlen
mov esi, eax
test esi, esi
je 0x444f5d
cmp byte [esi + 0x5103a0], 0x2f
je 0x444f56
dec esi
jmp 0x444f46
mov byte [esi + 0x5103a0], 0
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x10], 0x5103a0
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call fcn.0047b64c
test esi, esi
je 0x444f98
mov byte [esi + 0x5103a0], 0x2f
test eax, eax
jns 0x444fb4
mov dword [esp], str.Could_not_patch_Syslinux_files.
call fcn.0043d9e0
mov dword [esp], str.WARNING:_This_could_be_caused_by_your_firewall_having_modified_downloaded_content__such_as_ldlinux.sys...
jmp 0x444da5
xor edx, edx
mov dword [esp], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
sub esp, 0x14
test eax, eax
jne 0x444ff5
call fcn.0043df77
mov dword [esp], str.Could_not_rewrite__s:__s_n
mov dword [esp + 8], eax
lea eax, [ebp - 0x119]
mov dword [esp + 4], eax
jmp 0x4450d0
xor eax, eax
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [0x527828]
mov dword [esp + 8], eax
mov eax, dword [0x527830]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0043ebc0
test eax, eax
je 0x444fd6
lea eax, [ebx - 1]
cmp eax, 0xfffffffd
ja 0x445038
mov dword [esp], ebx
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
jmp 0x44503a
xor ebx, ebx
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call esi
sub esp, 0x14
test eax, eax
jne 0x445079
call fcn.0043df77
mov dword [esp], str.Could_not_read_Syslinux_boot_record:__s
mov dword [esp + 4], eax
jmp 0x44512b
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1b8]
mov dword [esp + 0xc], eax
mov eax, dword [0x48fc24]
mov dword [esp + 8], eax
mov eax, dword [0x527838]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
test eax, eax
je 0x445064
mov eax, dword [ebp - 0x1b8]
mov edx, dword [0x48fc24]
cmp eax, edx
jae 0x4450da
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.Partial_read_of_Syslinux_boot_record:_read__d_bytes_but_requested__d
call fcn.0043d9e0
jmp 0x44553d
xor eax, eax
cmp dword [ebp + 0x10], 2
sete al
add eax, 3
mov dword [esp + 4], eax
mov eax, dword [0x527838]
mov dword [esp], eax
call fcn.0047b0a8
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call esi
sub esp, 0x14
test eax, eax
jne 0x445135
call fcn.0043df77
mov dword [esp], str.Could_not_write_Syslinux_boot_record:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x44553d
xor edi, edi
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], edi
mov eax, dword [0x48fc24]
mov dword [esp + 8], eax
mov eax, dword [0x527838]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call fcn.0043ebc0
test eax, eax
je 0x44511b
mov dword [esp], str.Successfully_wrote_Syslinux_boot_record
call fcn.0043d9e0
cmp dword [0x5240b0], 5
jne 0x445333
call fcn.0044462b
lea esi, [ebp - 0x11c]
mov edi, dword [sym.imp.msvcrt.dll__snprintf_s]
mov dword [esp + 0x18], 0x48fb90
mov dword [esp + 0x14], str.syslinux
mov dword [esp + 0x10], 0x4b06c6
mov dword [esp + 0xc], str._s_s__s
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
mov dword [esp], esi
call edi
mov byte [ebp - 0x19], 0
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__chdir]
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_toupper]
mov dword [esp + 0x18], 0x4b09c6
mov dword [esp + 0x14], str.ldlinux
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._c:_s._s
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
mov dword [esp], esi
call edi
lea edi, [ebp - 0x119]
mov byte [ebp - 0x19], 0
mov dword [esp + 4], 0x4b06df
mov dword [esp], edi
call sub.msvcrt.dll_fopen
test eax, eax
jne 0x445246
mov dword [esp + 4], edi
mov dword [esp], str.Caution:_No__s_was_provided._The_target_will_be_missing_a_required_Syslinux_file_
call fcn.0043d9e0
jmp 0x44533c
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, edi
call fcn.00444568
mov edi, eax
mov eax, esi
call fcn.00444568
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov esi, eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov dword [ebp - 0x1c4], eax
sub esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x1c8], eax
test edi, edi
je 0x445296
mov dword [esp], edi
call sub.msvcrt.dll_free
test esi, esi
je 0x4452a2
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x1c8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push esi
cmp dword [ebp - 0x1c4], 0
lea esi, [ebp - 0x11c]
je 0x445318
lea edi, [ebp - 0x119]
mov dword [esp], edi
call fcn.0041bad9
mov edx, 0x4b0647
mov dword [esp + 0x18], edi
test eax, eax
mov eax, 0x4b064b
mov dword [esp + 0x14], 0x48fb90
cmovne eax, edx
mov dword [esp + 0x10], str.syslinux
mov dword [esp + 0xc], 0x4b06c6
mov dword [esp + 0x1c], eax
mov dword [esp + 8], 0x523a00
mov dword [esp + 4], esi
mov dword [esp], str.Created__s__from__s_s_s__s_s___s
call fcn.0043d9e0
jmp 0x44533c
call fcn.0043df77
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], str.Failed_to_create__s:__s
call fcn.0043d9e0
jmp 0x44533c
cmp byte [0x510420], 0
jne 0x445347
mov dword [ebp - 0x1c8], ebx
jmp 0x445511
mov dword [esp], str.Setting_up_ReactOS...
call fcn.0043d9e0
xor ecx, ecx
mov dword [esp + 0x10], 0x527820
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], str.mboot.c32
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x194
mov eax, dword [0x5241b8]
mov dword [esp], eax
call fcn.0043c5a4
mov dword [0x527824], eax
test eax, eax
je 0x44553d
mov eax, dword [ebp - 0x1cc]
lea esi, [ebp - 0x11c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_toupper]
mov dword [esp + 0x14], str.mboot.c32
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._c:_s
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__snprintf_s]
xor eax, eax
xor edx, edx
mov byte [ebp - 0x19], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], edx
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
jne 0x445428
mov dword [esp + 4], esi
mov dword [esp], str.Unable_to_create__s_n
jmp 0x44512b
xor eax, eax
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], eax
mov eax, dword [0x527820]
mov dword [esp + 8], eax
mov eax, dword [0x527824]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0043ebc0
mov edi, eax
lea eax, [ebx - 1]
test edi, edi
jne 0x44546e
mov dword [esp + 4], esi
mov dword [esp], str.Could_not_write__s
call fcn.0043d9e0
jmp 0x44553f
cmp eax, 0xfffffffd
ja 0x445487
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
mov dword [ebp - 0x1c8], 0xffffffff
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_toupper]
mov dword [esp + 0xc], str._c:_syslinux.cfg
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__snprintf_s]
mov byte [ebp - 0x19], 0
mov dword [esp + 4], 0x4b0ac4
mov dword [esp], esi
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
jne 0x4454e9
mov dword [esp], str.Could_not_create_ReactOS_syslinux.cfg
call fcn.0043d9e0
mov ebx, dword [ebp - 0x1c8]
jmp 0x44553d
mov dword [esp + 0xc], 0x510420
mov dword [esp + 8], str.mboot.c32
mov dword [esp + 4], str.DEFAULT_ReactOS_nLABEL_ReactOS_n__KERNEL__s_n__APPEND__s
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
cmp dword [0x5240b0], 3
jne 0x445527
mov ebx, dword [ebp - 0x1c8]
mov edi, 1
jmp 0x44553f
mov dword [esp + 4], 0xbf800000
mov dword [esp], 7
call fcn.0044a184
jmp 0x44551a
xor edi, edi
mov eax, dword [0x527838]
test eax, eax
je 0x445553
mov eax, dword [eax - 4]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [0x527830]
xor esi, esi
mov dword [0x527838], esi
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov dword [0x527830], eax
mov eax, dword [0x527834]
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov dword [0x527834], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x1bc]
dec eax
cmp eax, 0xfffffffd
ja 0x4455e1
xor edx, edx
mov dword [esp + 4], 0x9001c
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov eax, dword [ebp - 0x1bc]
sub esp, 0x20
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
lea eax, [ebx - 1]
cmp eax, 0xfffffffd
ja 0x4455f3
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret