Function at 0x447e00
Capabilities:
Extract resource via kernel32 functions
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
or eax, 0xffffffff
mov byte [ebp - 0x18d], dl
push esi
mov esi, ecx
mov dword [ebp - 0x18c], eax
mov ecx, dword [0x5430c0]
xor eax, eax
mov dword [ebp - 0x188], 0xffffffff
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x164], 0x4d9190
mov dword [ebp - 0x160], 0x4d9194
mov dword [ebp - 0x15c], 0x4d9198
mov dword [ebp - 0x198], eax
push edi
cmp ecx, 5
je 0x447ea0
cmp ecx, 3
jne 0x447e94
cmp byte [0x54365d], 5
jae 0x447ea0
mov edx, 0x4f4300
mov edi, 0x4cb6bc
jmp 0x447eaa
mov edx, 0x4f430c
mov edi, 0x4cb6c4
cmp ecx, 3
mov eax, 0x54365e
cmovne eax, edx
push eax
push 0xca2
push 0
push 1
push 1
call fcn.0041b3e0
mov edx, dword [0x543770]
xor ecx, ecx
mov eax, edx
mov dword [0x4f433c], ecx
add esp, 0x14
shr eax, 1
je 0x447eeb
lea ecx, [ecx]
inc ecx
shr eax, 1
jne 0x447ee0
mov dword [0x4f433c], ecx
lea eax, [edx - 1]
mov dword [0x4f4340], edx
push 0x10
push edx
mov dword [0x4f4338], ecx
mov dword [0x4f4330], edx
mov dword [0x4f4334], eax
call fcn.0049557c
add esp, 8
mov dword [0x53fa28], eax
test eax, eax
je 0x447f55
push 0
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00404230
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447ff8
push str.No_logical_drive_found__unpartitioned__
call fcn.004407e0
add esp, 4
mov dword [ebp - 0x18c], esi
push str.Could_open_volume_for_Syslinux_installation
call fcn.004407e0
add esp, 4
or esi, 0xffffffff
xor ebx, ebx
push dword [0x53fa28]
call fcn.00495562
add esp, 4
mov dword [0x53fa28], 0
push dword [0x52b924]
call fcn.004998ec
add esp, 4
mov dword [0x52b924], 0
push dword [0x52b928]
call fcn.004998ec
add esp, 4
mov dword [0x52b928], 0
push dword [ebp - 0x198]
call fcn.004998ec
mov eax, dword [ebp - 0x18c]
add esp, 4
cmp eax, 0xffffffff
je 0x448d62
test eax, eax
je 0x448d62
push 0
lea ecx, [ebp - 0x1d4]
push ecx
push 0
push 0
push 0
push 0
push 0x9001c
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x18c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
jmp 0x448d68
push 1
push 1
xor edx, edx
mov ecx, esi
call fcn.00403dc0
push esi
mov dword [ebp - 0x18c], eax
call fcn.004998ec
mov esi, dword [ebp - 0x18c]
add esp, 0xc
cmp esi, 0xffffffff
je 0x447f48
test esi, esi
je 0x447f48
push 0
lea eax, [ebp - 0x1a0]
push eax
push dword [0x4f4340]
push dword [0x53fa28]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x448055
push str.Could_not_read_VBR
jmp 0x447f4d
mov esi, dword [0x4f4340]
cmp dword [ebp - 0x1a0], esi
je 0x44806d
push str.Could_not_read_the_whole_VBR
jmp 0x447f4d
mov ecx, dword [0x53fa28]
mov al, byte [ecx + 0x15]
cmp al, 0xf0
je 0x448096
cmp al, 0xf8
jae 0x448096
mov eax, str.invalid_media_signature__not_an_FAT_NTFS_volume__
push eax
push str.Error:__s
call fcn.004407e0
add esp, 8
jmp 0x447f55
movzx edx, word [ecx + 0xb]
cmp edx, esi
jne 0x448d2e
cmp word [ecx + 0xe], 0
jne 0x448110
cmp byte [ecx + 0x10], 0
jne 0x448110
cmp byte [ecx + 0x11], 0
jne 0x448110
cmp byte [ecx + 0x12], 0
jne 0x448110
cmp word [ecx + 0x13], 0
jne 0x448110
cmp word [ecx + 0x16], 0
jne 0x448110
cmp dword [ecx + 0x20], 0
jne 0x448110
cmp dword [ecx + 3], 0x5346544e
jne 0x4480e1
cmp dword [ecx + 7], 0x20202020
je 0x448105
cmp dword [ecx + 3], 0x4957534d
jne 0x448109
cmp dword [ecx + 7], 0x302e344e
je 0x448105
cmp dword [ecx + 3], 0x4957534d
jne 0x448109
cmp dword [ecx + 7], 0x312e344e
jne 0x448109
xor eax, eax
jmp 0x44811b
mov eax, str.unknown_OEM_name_but_claims_NTFS
jmp 0x44811b
lea edx, [ebp - 0x1d8]
call fcn.0046ace0
test eax, eax
jne 0x448d4f
push 0x1f4
push eax
push 0x540a88
call fcn.00493600
add esp, 0xc
call fcn.0046af30
cmp dword [0x540f48], 0
je 0x44828f
cmp dword [0x540f4c], 0
je 0x44828f
call fcn.00409eb0
xor edi, edi
mov ebx, 0x4d9194
push dword [edi*4 + 0x540f48]
call fcn.00499907
add esp, 4
mov dword [edi*4 + 0x52b924], eax
test eax, eax
je 0x44837c
test edi, edi
mov eax, 0x4d9190
cmovne eax, ebx
push eax
push str.ldlinux
push 0x54366a
push 0x54365e
push str.syslinux
push 0x4cea00
push str._s_s__s_s_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00403820
add esp, 0x24
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x114]
push 0x4d36b0
push eax
call fcn.00499add
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x448271
push ebx
push dword [edi*4 + 0x540f48]
push 1
push dword [edi*4 + 0x52b924]
call fcn.004a2a0d
push ebx
mov esi, eax
call fcn.00499b6b
mov edx, dword [edi*4 + 0x540f48]
add esp, 0x14
cmp esi, edx
jne 0x448253
mov ecx, dword [edi*4 + 0x52b924]
call fcn.0043d6c0
test eax, eax
mov ecx, 0x4d04f8
mov eax, 0x4d04fc
cmove ecx, eax
lea eax, [ebp - 0x114]
push ecx
push eax
push 0x542ea0
push str.Using_existing__s_s__s
call fcn.004407e0
inc edi
add esp, 0x10
mov ebx, 0x4d9194
cmp edi, 2
jl 0x448161
jmp 0x4482fb
lea eax, [ebp - 0x114]
push eax
push 0x542ea0
push str.Could_not_read__s_s
call fcn.004407e0
add esp, 0xc
jmp 0x447f55
lea eax, [ebp - 0x114]
push eax
push 0x542ea0
push str.Could_not_open__s_s
call fcn.004407e0
add esp, 0xc
jmp 0x447f55
xor esi, esi
push dword [ebp + esi - 0x164]
lea eax, [ebp - 0x154]
push str.ldlinux
push str._s._s
push 0x40
push eax
call fcn.00403820
mov edx, dword [edi]
lea eax, [esi + 0x540f48]
mov ecx, dword [0x542fb0]
add esp, 0x14
mov dword [eax], 0
mov byte [ebp - 0x115], 0
push 1
push eax
lea eax, [ebp - 0x154]
push eax
push 0xa
call fcn.0043f5c0
add esp, 0x10
mov dword [esi + 0x52b924], eax
test eax, eax
je 0x44837c
add esi, 4
add edi, 4
cmp esi, 8
jl 0x448291
movsx esi, byte [ebp - 0x18d]
push 0x4d9190
push str.ldlinux
push esi
mov dword [ebp - 0x1a8], esi
call fcn.0049f025
add esp, 4
push eax
push str._c:_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00403820
add esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x114]
push 0
push 7
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x188], ebx
cmp ebx, 0xffffffff
jne 0x448387
call fcn.00440bb0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Unable_to_create__s:__s
call fcn.004407e0
add esp, 0xc
mov esi, dword [ebp - 0x188]
jmp 0x447f58
mov edx, dword [0x52b924]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x540f48]
mov ecx, ebx
call fcn.004417e0
add esp, 0xc
test eax, eax
jne 0x4483ce
call fcn.00440bb0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Could_not_write__s:__s
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 0xc
jmp 0x447f58
push ecx
lea eax, [ebp - 0x19c]
mov edx, 0x540a80
push eax
push 0x400
mov ecx, ebx
call fcn.004417e0
add esp, 0xc
test eax, eax
jne 0x448413
call fcn.00440bb0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Could_not_write_ADV_to__s:__s
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 0xc
jmp 0x447f58
lea eax, [ebp - 0x111]
push eax
push str.Successfully_wrote__s
call fcn.004407e0
fld dword [0x4ebbc8]
add esp, 8
cmp dword [0x5430c0], 3
je 0x448449
push ecx
mov ecx, 7
fstp dword [esp]
call fcn.00450f50
add esp, 4
jmp 0x44844b
fstp st(0)
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x44846e
push str.FlushFileBuffers_failed
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x447f58
mov ecx, dword [0x4f4340]
mov eax, dword [0x540f48]
add ecx, 0x3ff
add eax, ecx
mov ecx, dword [0x4f433c]
shr eax, cl
push 8
push eax
mov dword [ebp - 0x1a4], eax
call fcn.0049570f
mov ebx, eax
add esp, 8
mov dword [ebp - 0x198], ebx
test ebx, ebx
je 0x44837c
mov eax, dword [ebp + 8]
cmp eax, 4
ja case.0x4484b6.3
jmp dword [eax*4 + 0x448d88]
push esi
call fcn.0049f025
add esp, 4
push eax
push 0x4e61e0
lea eax, [ebp - 0x154]
push 0x40
push eax
call fcn.00403820
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x1c4]
add esp, 0x10
mov byte [ebp - 0x115], 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x1c0], eax
call fcn.0046b2d0
test eax, eax
je 0x44851d
push str.Could_not_fetch_NTFS_volume_info
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x447f58
xor edi, edi
mov dword [ebp - 0x194], ebx
xor edx, edx
xor esi, esi
xor ecx, ecx
xor eax, eax
lea ecx, [ecx]
test eax, eax
jl 0x44878c
jg 0x448542
test ecx, ecx
jb 0x44878c
push 0
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x160], esi
mov esi, dword [ebp - 0x188]
push eax
push 0x20
lea eax, [ebp - 0x184]
mov dword [ebp - 0x164], edx
push eax
push 8
lea eax, [ebp - 0x164]
push eax
push 0x90073
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x448599
cmp eax, 0x26
je 0x44878c
cmp eax, 0xea
jne 0x44878c
cmp dword [ebp - 0x1bc], 0
je 0x448687
mov ecx, dword [ebp - 0x1b8]
test ecx, ecx
je 0x448687
mov edx, dword [ebp - 0x168]
test edx, edx
jl 0x448687
mov eax, dword [ebp - 0x16c]
jg 0x4485d2
test eax, eax
jb 0x448687
push 0
push ecx
push edx
push eax
call fcn.00491ed0
add eax, dword [ebp - 0x1b4]
push 0
adc edx, dword [ebp - 0x1b0]
sub eax, dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
sbb edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x174]
mov ecx, eax
sub ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1d0], eax
sbb eax, dword [ebp - 0x178]
push eax
push ecx
mov dword [ebp - 0x1c8], edx
call fcn.00491ed0
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x448672
mov ecx, dword [ebp - 0x1c8]
add esi, 0xffffffff
adc edx, 0xffffffff
cmp edi, dword [ebp - 0x1a4]
jge 0x448672
mov eax, dword [ebp - 0x194]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
add eax, 1
mov dword [ebp - 0x194], eax
mov eax, esi
adc ecx, 0
inc edi
or eax, edx
jne 0x448643
mov edx, dword [ebp - 0x1cc]
mov ecx, edx
mov esi, dword [ebp - 0x1d0]
mov eax, esi
jmp 0x448530
push str.Could_not_translate_ldlinux.sys_LCN_to_disk_LBA
call fcn.004407e0
add esp, 4
jmp 0x447f58
mov edx, dword [ebp - 0x18c]
mov ecx, 0x447d30
call fcn.0046a250
mov ebx, eax
test ebx, ebx
jne 0x4486c7
push str.Syslinux_FAT_access_error
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x447f58
mov eax, dword [ebp - 0x198]
xor edi, edi
push edi
push str.LDLINUX_SYS
xor edx, edx
mov dword [ebp - 0x194], eax
mov ecx, ebx
call fcn.0046a720
add esp, 8
test eax, eax
jne 0x4486fa
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x4486fa
mov esi, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
jmp 0x44871b
cmp eax, 2
jl 0x448723
cmp eax, dword [ebx + 0x14]
jge 0x448723
mov ecx, dword [ebx + 0x10]
cdq
add eax, 0xfffffffe
adc edx, 0xffffffff
call fcn.00491da0
mov esi, eax
add esi, dword [ebx + 0x30]
adc edx, dword [ebx + 0x34]
mov eax, esi
or eax, edx
je 0x448761
jmp 0x448730
or esi, 0xffffffff
or edx, 0xffffffff
lea esp, [esp]
cmp edi, dword [ebp - 0x1a4]
jge 0x448761
mov eax, dword [ebp - 0x194]
mov ecx, ebx
push edx
push esi
inc edi
mov dword [eax], esi
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x194], eax
call fcn.0046a4c0
mov esi, eax
add esp, 8
mov ecx, esi
or ecx, edx
jne 0x448730
mov esi, dword [ebx + 0x40]
mov eax, esi
mov dword [ebx + 0x40], 0
test esi, esi
je 0x448783
mov esi, dword [esi + 8]
push eax
call fcn.00495562
add esp, 4
mov eax, esi
test esi, esi
jne 0x448771
push ebx
call fcn.004998ec
add esp, 4
mov esi, 0x543260
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x448794
sub esi, ecx
test esi, esi
jle 0x4487af
cmp byte [esi + 0x543260], 0x2f
je 0x4487f1
dec esi
test esi, esi
jg 0x4487a1
push ecx
mov ecx, dword [ebp - 0x198]
mov edx, edi
push 0x543260
sub esp, 8
call fcn.0046afa0
add esp, 0x10
test eax, eax
jns 0x448817
push str.Could_not_patch_Syslinux_files.
call fcn.004407e0
add esp, 4
push str.WARNING:_This_could_be_caused_by_your_firewall_having_modified_downloaded_content__such_as_ldlinux.sys...
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x447f58
push ecx
mov ecx, dword [ebp - 0x198]
mov edx, edi
push 0x543260
sub esp, 8
mov byte [esi + 0x543260], 0
call fcn.0046afa0
mov byte [esi + 0x543260], 0x2f
jmp 0x4487c5
mov ebx, dword [ebp - 0x188]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
push 0
push 0
push 0
push ebx
call edi
test eax, eax
je 0x448cf1
mov edx, dword [0x52b924]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x540f48]
mov ecx, ebx
call fcn.004417e0
add esp, 0xc
test eax, eax
je 0x448cf1
test ebx, ebx
je 0x448872
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x188], esi
jmp 0x448878
mov esi, dword [ebp - 0x188]
mov ebx, dword [ebp - 0x18c]
push 0
push 0
push 0
push 0
push ebx
call edi
test eax, eax
je 0x448cd9
push 0
lea eax, [ebp - 0x1a0]
push eax
push dword [0x4f4340]
push dword [0x53fa28]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448cd9
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [0x4f4340]
cmp eax, ecx
jae 0x4488d9
push ecx
push eax
push str.Partial_read_of_Syslinux_boot_record:_read__d_bytes_but_requested__d
call fcn.004407e0
add esp, 0xc
jmp 0x447f58
cmp dword [ebp + 8], 2
mov esi, dword [0x52b928]
mov edi, dword [0x53fa28]
je 0x448912
mov eax, dword [esi]
mov ecx, 0x69
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ax, word [esi + 8]
mov word [edi + 8], ax
mov al, byte [esi + 0xa]
add esi, 0x5a
mov byte [edi + 0xa], al
add edi, 0x5a
rep movsd dword es:[edi], dword [esi]
jmp 0x44892d
mov ax, word [esi]
mov ecx, 0x6a
mov word [edi], ax
mov al, byte [esi + 2]
add esi, 0x54
mov byte [edi + 2], al
add edi, 0x54
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x448cbb
mov edx, dword [0x53fa28]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x4f4340]
mov ecx, ebx
call fcn.004417e0
add esp, 0xc
test eax, eax
je 0x448cbb
push str.Successfully_wrote_Syslinux_boot_record
call fcn.004407e0
add esp, 4
cmp dword [0x5430c0], 5
jne 0x448ab2
call fcn.00409eb0
push 0x4f430c
push str.syslinux
push 0x4cea00
push str._s_s__s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00403820
lea eax, [ebp - 0x114]
mov byte [ebp - 0x11], 0
push eax
call fcn.004a14b9
mov edi, dword [ebp - 0x1a8]
add esp, 0x1c
push 0x4d9198
push str.ldlinux
push edi
call fcn.0049f025
add esp, 4
push eax
push str._c:_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00403820
lea eax, [ebp - 0x111]
mov byte [ebp - 0x11], 0
push 0x4d36b0
push eax
call fcn.00499add
add esp, 0x20
test eax, eax
jne 0x448a26
lea eax, [ebp - 0x111]
push eax
push str.Caution:_No__s_was_provided._The_target_will_be_missing_a_required_Syslinux_file_
call fcn.004407e0
add esp, 8
jmp 0x448c8b
push eax
call fcn.00499b6b
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x111]
call fcn.00447c00
add esp, 4
test eax, eax
je 0x448a93
lea ecx, [ebp - 0x111]
call fcn.0043d7b0
test eax, eax
mov ecx, 0x4d04fc
mov eax, 0x4d04f8
cmove eax, ecx
push eax
lea eax, [ebp - 0x111]
push eax
push 0x4f430c
push str.syslinux
push 0x4cea00
push 0x542ea0
lea eax, [ebp - 0x114]
push eax
push str.Created__s__from__s_s_s__s_s___s
call fcn.004407e0
add esp, 0x20
jmp 0x448c8b
call fcn.00440bb0
push eax
lea eax, [ebp - 0x114]
push eax
push str.Failed_to_create__s:__s
call fcn.004407e0
add esp, 0xc
jmp 0x448c8b
cmp byte [0x5432e0], 0
je 0x448c8b
push str.Setting_up_ReactOS...
call fcn.004407e0
mov esi, dword [0x542fb0]
add esp, 4
push 0xa
push 0x194
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x448b13
call fcn.00440bb0
push eax
push str.mboot.c32
push str.Could_not_locate_resource__s:__s
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 0xc
mov dword [0x52b92c], 0
jmp 0x447f58
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x448b33
call fcn.00440bb0
push eax
push str.mboot.c32
push str.Could_not_load_resource__s:__s
jmp 0x448af6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x540f44], esi
mov dword [0x52b92c], eax
test eax, eax
je 0x44837c
mov edi, dword [ebp - 0x1a8]
push str.mboot.c32
push edi
call fcn.0049f025
add esp, 4
push eax
push str._c:_s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00403820
add esp, 0x14
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x114]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x188], eax
cmp esi, 0xffffffff
jne 0x448bce
lea eax, [ebp - 0x114]
push eax
push str.Unable_to_create__s_n
call fcn.004407e0
add esp, 8
jmp 0x447f58
mov edx, dword [0x52b92c]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x540f44]
mov ecx, esi
call fcn.004417e0
add esp, 0xc
test eax, eax
jne 0x448c09
lea eax, [ebp - 0x114]
push eax
push str.Could_not_write__s
call fcn.004407e0
add esp, 8
jmp 0x447f58
test esi, esi
je 0x448c1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x188], esi
push edi
call fcn.0049f025
add esp, 4
push eax
push str._c:_syslinux.cfg
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00403820
lea eax, [ebp - 0x114]
mov byte [ebp - 0x11], 0
push 0x4c9bcc
push eax
call fcn.00499add
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x448c6d
push str.Could_not_create_ReactOS_syslinux.cfg
call fcn.004407e0
add esp, 4
jmp 0x447f58
push 0x5432e0
push str.mboot.c32
push str.DEFAULT_ReactOS_nLABEL_ReactOS_n__KERNEL__s_n__APPEND__s
push edi
call fcn.00401010
push edi
call fcn.00499b6b
add esp, 0x14
cmp dword [0x5430c0], 3
je 0x448cab
fld dword [0x4ebbc8]
push ecx
mov ecx, 7
fstp dword [esp]
call fcn.00450f50
add esp, 4
mov esi, dword [ebp - 0x188]
mov ebx, 1
jmp 0x447f5a
call fcn.00440bb0
push eax
push str.Could_not_write_Syslinux_boot_record:__s
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 8
jmp 0x447f58
call fcn.00440bb0
push eax
push str.Could_not_read_Syslinux_boot_record:__s
call fcn.004407e0
add esp, 8
jmp 0x447f58
call fcn.00440bb0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Could_not_rewrite__s:__s_n
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 0xc
jmp 0x447f58
push str.Unsupported_Syslinux_filesystem
call fcn.004407e0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x447f58
cmp edx, 0x200
jb 0x448d4a
cmp edx, 0x1000
ja 0x448d4a
lea eax, [edx - 1]
test edx, eax
mov eax, str.unsupported_sectors_size
je 0x448d4f
mov eax, str.impossible_sector_size
push eax
push str.Error:__s
call fcn.004407e0
add esp, 8
jmp 0x447f55
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x448d74
test esi, esi
je 0x448d74
push esi
call edi
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret