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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e8
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov byte [ebp - 0x18d], dl
mov ecx, dword [0x5a2ae0]
or eax, 0xffffffff
mov dword [ebp - 0x188], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x18c], eax
movq qword [ebp - 0x1d4], xmm0
mov dword [ebp - 0x164], 0x535c60
mov dword [ebp - 0x160], 0x535c64
mov dword [ebp - 0x15c], 0x535c68
mov dword [ebp - 0x194], 0
push edi
movups xmmword [ebp - 0x1e4], xmm0
cmp ecx, 5
je 0x454020
cmp ecx, 3
jne 0x454014
cmp byte [0x5a307d], 5
jae 0x454020
mov edx, 0x553304
mov edi, 0x527d88
jmp 0x45402a
mov edx, 0x553310
mov edi, 0x527d90
cmp ecx, 3
mov eax, 0x5a307e
cmovne eax, edx
push eax
push 0xca2
push 0
push 1
push 1
call fcn.0041ed70
mov edx, dword [0x5a3190]
xor ecx, ecx
mov eax, edx
mov dword [0x553340], ecx
add esp, 0x14
shr eax, 1
je 0x45406b
nop dword [eax]
inc ecx
shr eax, 1
jne 0x454060
mov dword [0x553340], ecx
lea eax, [edx - 1]
mov dword [0x553344], edx
push 0x10
push edx
mov dword [0x55333c], ecx
mov dword [0x553334], edx
mov dword [0x553338], eax
call fcn.004b59e9
add esp, 8
mov dword [0x59f3e8], eax
test eax, eax
je 0x4540d5
push 0
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00406080
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x454178
push str.No_logical_drive_found__unpartitioned__
call fcn.0044b0b0
add esp, 4
mov dword [ebp - 0x18c], esi
push str.Could_open_volume_for_Syslinux_installation
call fcn.0044b0b0
add esp, 4
or esi, 0xffffffff
xor ebx, ebx
push dword [0x59f3e8]
call fcn.004b59cf
add esp, 4
mov dword [0x59f3e8], 0
push dword [0x58b2fc]
call fcn.004d1211
add esp, 4
mov dword [0x58b2fc], 0
push dword [0x58b300]
call fcn.004d1211
add esp, 4
mov dword [0x58b300], 0
push dword [ebp - 0x194]
call fcn.004d1211
mov eax, dword [ebp - 0x18c]
add esp, 4
cmp eax, 0xffffffff
je 0x454eeb
test eax, eax
je 0x454eeb
push 0
lea ecx, [ebp - 0x1b0]
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 0x454ef1
push 1
push 1
xor edx, edx
mov ecx, esi
call fcn.00405b80
push esi
mov dword [ebp - 0x18c], eax
call fcn.004d1211
mov esi, dword [ebp - 0x18c]
add esp, 0xc
cmp esi, 0xffffffff
je 0x4540c8
test esi, esi
je 0x4540c8
push 0
lea eax, [ebp - 0x1a0]
push eax
push dword [0x553344]
push dword [0x59f3e8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4541d5
push str.Could_not_read_VBR
jmp 0x4540cd
mov esi, dword [0x553344]
cmp dword [ebp - 0x1a0], esi
je 0x4541ed
push str.Could_not_read_the_whole_VBR
jmp 0x4540cd
mov ecx, dword [0x59f3e8]
mov al, byte [ecx + 0x15]
cmp al, 0xf0
je 0x454216
cmp al, 0xf8
jae 0x454216
mov eax, str.invalid_media_signature__not_an_FAT_NTFS_volume__
push eax
push str.Error:__s
call fcn.0044b0b0
add esp, 8
jmp 0x4540d5
movzx edx, word [ecx + 0xb]
cmp edx, esi
jne 0x454eb7
cmp word [ecx + 0xe], 0
jne 0x454290
cmp byte [ecx + 0x10], 0
jne 0x454290
cmp byte [ecx + 0x11], 0
jne 0x454290
cmp byte [ecx + 0x12], 0
jne 0x454290
cmp word [ecx + 0x13], 0
jne 0x454290
cmp word [ecx + 0x16], 0
jne 0x454290
cmp dword [ecx + 0x20], 0
jne 0x454290
cmp dword [ecx + 3], 0x5346544e
jne 0x454261
cmp dword [ecx + 7], 0x20202020
je 0x454285
cmp dword [ecx + 3], 0x4957534d
jne 0x454289
cmp dword [ecx + 7], 0x302e344e
je 0x454285
cmp dword [ecx + 3], 0x4957534d
jne 0x454289
cmp dword [ecx + 7], 0x312e344e
jne 0x454289
xor eax, eax
jmp 0x45429b
mov eax, str.unknown_OEM_name_but_claims_NTFS
jmp 0x45429b
lea edx, [ebp - 0x1e8]
call fcn.0047b140
test eax, eax
jne 0x454ed8
push 0x1f4
push eax
push 0x5a04a8
call fcn.004ab0f0
add esp, 0xc
call fcn.0047b4e0
cmp dword [0x5a0968], 0
je 0x45440f
cmp dword [0x5a096c], 0
je 0x45440f
call fcn.00453dd0
xor edi, edi
mov ebx, 0x535c64
push dword [edi*4 + 0x5a0968]
call fcn.004d122c
add esp, 4
mov dword [edi*4 + 0x58b2fc], eax
test eax, eax
je 0x4544fc
test edi, edi
mov eax, 0x535c60
cmovne eax, ebx
push eax
push str.ldlinux
push 0x5a308a
push 0x5a307e
push str.syslinux
push 0x52b2c8
push str._s_s__s_s_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004050d0
add esp, 0x24
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x114]
push 0x530070
push eax
call fcn.004d14af
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4543f1
push ebx
push dword [edi*4 + 0x5a0968]
push 1
push dword [edi*4 + 0x58b2fc]
call fcn.004e7dcd
push ebx
mov esi, eax
call fcn.004d1662
mov edx, dword [edi*4 + 0x5a0968]
add esp, 0x14
cmp esi, edx
jne 0x4543d3
mov ecx, dword [edi*4 + 0x58b2fc]
call fcn.004464c0
test eax, eax
mov ecx, 0x52cf68
mov eax, 0x52cf6c
cmove ecx, eax
lea eax, [ebp - 0x114]
push ecx
push eax
push 0x5a28c0
push str.Using_existing__s_s__s
call fcn.0044b0b0
inc edi
add esp, 0x10
mov ebx, 0x535c64
cmp edi, 2
jl 0x4542e1
jmp 0x45447b
lea eax, [ebp - 0x114]
push eax
push 0x5a28c0
push str.Could_not_read__s_s
call fcn.0044b0b0
add esp, 0xc
jmp 0x4540d5
lea eax, [ebp - 0x114]
push eax
push 0x5a28c0
push str.Could_not_open__s_s
call fcn.0044b0b0
add esp, 0xc
jmp 0x4540d5
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.004050d0
mov edx, dword [edi]
lea eax, [esi + 0x5a0968]
mov ecx, dword [0x5a29d0]
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.00449730
add esp, 0x10
mov dword [esi + 0x58b2fc], eax
test eax, eax
je 0x4544fc
add esi, 4
add edi, 4
cmp esi, 8
jl 0x454411
movsx esi, byte [ebp - 0x18d]
push 0x535c60
push str.ldlinux
push esi
mov dword [ebp - 0x1a8], esi
call fcn.004e01e0
add esp, 4
push eax
push str._c:_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004050d0
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 0x454507
call fcn.0044b6b0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Unable_to_create__s:__s
call fcn.0044b0b0
add esp, 0xc
mov esi, dword [ebp - 0x188]
jmp 0x4540d8
mov edx, dword [0x58b2fc]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x5a0968]
mov ecx, ebx
call fcn.0044c2e0
add esp, 0xc
test eax, eax
jne 0x45454e
call fcn.0044b6b0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Could_not_write__s:__s
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 0xc
jmp 0x4540d8
push ecx
lea eax, [ebp - 0x19c]
mov edx, 0x5a04a0
push eax
push 0x400
mov ecx, ebx
call fcn.0044c2e0
add esp, 0xc
test eax, eax
jne 0x454593
call fcn.0044b6b0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Could_not_write_ADV_to__s:__s
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 0xc
jmp 0x4540d8
lea eax, [ebp - 0x111]
push eax
push str.Successfully_wrote__s
call fcn.0044b0b0
add esp, 8
cmp dword [0x5a2ae0], 3
je 0x4545c2
movss xmm1, dword [0x549af4]
mov ecx, 7
call fcn.0045de50
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x4545e5
push str.FlushFileBuffers_failed
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x4540d8
mov ecx, dword [0x553344]
mov eax, dword [0x5a0968]
add ecx, 0x3ff
add eax, ecx
mov ecx, dword [0x553340]
shr eax, cl
push 8
push eax
mov dword [ebp - 0x1a4], eax
call fcn.004b6706
mov ebx, eax
add esp, 8
mov dword [ebp - 0x194], ebx
test ebx, ebx
je 0x4544fc
mov eax, dword [ebp + 8]
cmp eax, 4
ja case.0x45462d.3
jmp dword [eax*4 + 0x454f10]
push esi
call fcn.004e01e0
add esp, 4
push eax
push 0x543410
lea eax, [ebp - 0x154]
push 0x40
push eax
call fcn.004050d0
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x1e4]
add esp, 0x10
mov byte [ebp - 0x115], 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x1e0], eax
call fcn.0047bc40
test eax, eax
je 0x454694
push str.Could_not_fetch_NTFS_volume_info
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x4540d8
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x1cc], xmm0
mov edx, dword [ebp - 0x1c8]
mov esi, dword [ebp - 0x1cc]
movlpd qword [ebp - 0x1b4], xmm0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b4]
test eax, eax
jl 0x45491c
jg 0x4546d3
test ecx, ecx
jb 0x45491c
push 0
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x164], esi
mov esi, dword [ebp - 0x188]
push eax
push 0x20
lea eax, [ebp - 0x184]
mov dword [ebp - 0x160], 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 0x45472a
cmp eax, 0x26
je 0x45491c
cmp eax, 0xea
jne 0x45491c
cmp dword [ebp - 0x1dc], 0
je 0x454818
mov ecx, dword [ebp - 0x1d8]
test ecx, ecx
je 0x454818
mov edx, dword [ebp - 0x168]
test edx, edx
jl 0x454818
mov eax, dword [ebp - 0x16c]
jg 0x454763
test eax, eax
jb 0x454818
push 0
push ecx
push edx
push eax
call fcn.004a9490
add eax, dword [ebp - 0x1d4]
push 0
adc edx, dword [ebp - 0x1d0]
sub eax, dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
sbb edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x174]
mov ecx, eax
sub ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1c0], eax
sbb eax, dword [ebp - 0x178]
push eax
push ecx
mov dword [ebp - 0x1b8], edx
call fcn.004a9490
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x454803
mov ecx, dword [ebp - 0x1b8]
add esi, 0xffffffff
adc edx, 0xffffffff
cmp edi, dword [ebp - 0x1a4]
jge 0x454803
mov eax, dword [ebp - 0x198]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
add ebx, 8
add eax, 1
mov dword [ebp - 0x198], eax
mov eax, esi
adc ecx, 0
inc edi
or eax, edx
jne 0x4547d4
mov esi, dword [ebp - 0x1bc]
mov ecx, esi
mov edx, dword [ebp - 0x1c0]
mov eax, edx
jmp 0x4546c1
push str.Could_not_translate_ldlinux.sys_LCN_to_disk_LBA
call fcn.0044b0b0
add esp, 4
jmp 0x4540d8
mov edx, dword [ebp - 0x18c]
mov ecx, 0x453eb0
call fcn.0047a340
mov ebx, eax
test ebx, ebx
jne 0x454858
push str.Syslinux_FAT_access_error
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x4540d8
mov eax, dword [ebp - 0x194]
xor edi, edi
push edi
push str.LDLINUX_SYS
xor edx, edx
mov dword [ebp - 0x198], eax
mov ecx, ebx
call fcn.0047a900
add esp, 8
test eax, eax
jne 0x45488b
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x45488b
mov esi, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
jmp 0x4548ac
cmp eax, 2
jl 0x4548b4
cmp eax, dword [ebx + 0x14]
jge 0x4548b4
mov ecx, dword [ebx + 0x10]
cdq
add eax, 0xfffffffe
adc edx, 0xffffffff
call fcn.004a9360
mov esi, eax
add esi, dword [ebx + 0x30]
adc edx, dword [ebx + 0x34]
mov eax, esi
or eax, edx
je 0x4548f1
jmp 0x4548c0
or esi, 0xffffffff
or edx, 0xffffffff
nop word [eax + eax]
cmp edi, dword [ebp - 0x1a4]
jge 0x4548f1
mov eax, dword [ebp - 0x198]
mov ecx, ebx
push edx
push esi
inc edi
mov dword [eax], esi
mov dword [eax + 4], edx
add eax, 8
mov dword [ebp - 0x198], eax
call fcn.0047a670
mov esi, eax
add esp, 8
mov ecx, esi
or ecx, edx
jne 0x4548c0
mov esi, dword [ebx + 0x40]
mov eax, esi
mov dword [ebx + 0x40], 0
test esi, esi
je 0x454913
mov esi, dword [esi + 8]
push eax
call fcn.004b59cf
add esp, 4
mov eax, esi
test esi, esi
jne 0x454901
push ebx
call fcn.004d1211
add esp, 4
mov esi, 0x5a2c80
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x454924
sub esi, ecx
test esi, esi
jle 0x45493f
cmp byte [esi + 0x5a2c80], 0x2f
je 0x454981
dec esi
test esi, esi
jg 0x454931
push ecx
mov ecx, dword [ebp - 0x194]
mov edx, edi
push 0x5a2c80
sub esp, 8
call fcn.0047b770
add esp, 0x10
test eax, eax
jns 0x4549a7
push str.Could_not_patch_Syslinux_files.
call fcn.0044b0b0
add esp, 4
push str.WARNING:_This_could_be_caused_by_your_firewall_having_modified_downloaded_content__such_as_ldlinux.sys...
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x4540d8
push ecx
mov ecx, dword [ebp - 0x194]
mov edx, edi
push 0x5a2c80
sub esp, 8
mov byte [esi + 0x5a2c80], 0
call fcn.0047b770
mov byte [esi + 0x5a2c80], 0x2f
jmp 0x454955
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 0x454e7a
mov edx, dword [0x58b2fc]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x5a0968]
mov ecx, ebx
call fcn.0044c2e0
add esp, 0xc
test eax, eax
je 0x454e7a
test ebx, ebx
je 0x454a02
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x188], esi
jmp 0x454a08
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 0x454e62
push 0
lea eax, [ebp - 0x1a0]
push eax
push dword [0x553344]
push dword [0x59f3e8]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x454e62
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [0x553344]
cmp eax, ecx
jae 0x454a69
push ecx
push eax
push str.Partial_read_of_Syslinux_boot_record:_read__d_bytes_but_requested__d
call fcn.0044b0b0
add esp, 0xc
jmp 0x4540d8
cmp dword [ebp + 8], 2
mov esi, dword [0x58b300]
mov edi, dword [0x59f3e8]
je 0x454aa0
movq xmm0, qword [esi]
mov ecx, 0x69
movq qword [edi], xmm0
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 0x454abb
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 0x454e44
mov edx, dword [0x59f3e8]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x553344]
mov ecx, ebx
call fcn.0044c2e0
add esp, 0xc
test eax, eax
je 0x454e44
push str.Successfully_wrote_Syslinux_boot_record
call fcn.0044b0b0
add esp, 4
cmp dword [0x5a2ae0], 5
jne 0x454c40
call fcn.00453dd0
push 0x553310
push str.syslinux
push 0x52b2c8
push str._s_s__s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004050d0
lea eax, [ebp - 0x114]
mov byte [ebp - 0x11], 0
push eax
call fcn.004e4dc2
mov edi, dword [ebp - 0x1a8]
add esp, 0x1c
push 0x535c68
push str.ldlinux
push edi
call fcn.004e01e0
add esp, 4
push eax
push str._c:_s._s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004050d0
lea eax, [ebp - 0x111]
mov byte [ebp - 0x11], 0
push 0x530070
push eax
call fcn.004d14af
add esp, 0x20
test eax, eax
jne 0x454bb4
lea eax, [ebp - 0x111]
push eax
push str.Caution:_No__s_was_provided._The_target_will_be_missing_a_required_Syslinux_file_
call fcn.0044b0b0
add esp, 8
jmp 0x454e19
push eax
call fcn.004d1662
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x111]
call fcn.00453ca0
add esp, 4
test eax, eax
je 0x454c21
lea ecx, [ebp - 0x111]
call fcn.00446550
test eax, eax
mov ecx, 0x52cf6c
mov eax, 0x52cf68
cmove eax, ecx
push eax
lea eax, [ebp - 0x111]
push eax
push 0x553310
push str.syslinux
push 0x52b2c8
push 0x5a28c0
lea eax, [ebp - 0x114]
push eax
push str.Created__s__from__s_s_s__s_s___s
call fcn.0044b0b0
add esp, 0x20
jmp 0x454e19
call fcn.0044b6b0
push eax
lea eax, [ebp - 0x114]
push eax
push str.Failed_to_create__s:__s
call fcn.0044b0b0
add esp, 0xc
jmp 0x454e19
cmp byte [0x5a2d00], 0
je 0x454e19
push str.Setting_up_ReactOS...
call fcn.0044b0b0
mov esi, dword [0x5a29d0]
add esp, 4
push 0xa
push 0x194
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x454ca1
call fcn.0044b6b0
push eax
push str.mboot.c32
push str.Could_not_locate_resource__s:__s
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 0xc
mov dword [0x55b218], 0
jmp 0x4540d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x454cc1
call fcn.0044b6b0
push eax
push str.mboot.c32
push str.Could_not_load_resource__s:__s
jmp 0x454c84
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 [0x5a0964], esi
mov dword [0x55b218], eax
test eax, eax
je 0x4544fc
mov edi, dword [ebp - 0x1a8]
push str.mboot.c32
push edi
call fcn.004e01e0
add esp, 4
push eax
push str._c:_s
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004050d0
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 0x454d5c
lea eax, [ebp - 0x114]
push eax
push str.Unable_to_create__s_n
call fcn.0044b0b0
add esp, 8
jmp 0x4540d8
mov edx, dword [0x55b218]
lea eax, [ebp - 0x19c]
push ecx
push eax
push dword [0x5a0964]
mov ecx, esi
call fcn.0044c2e0
add esp, 0xc
test eax, eax
jne 0x454d97
lea eax, [ebp - 0x114]
push eax
push str.Could_not_write__s
call fcn.0044b0b0
add esp, 8
jmp 0x4540d8
test esi, esi
je 0x454dab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov dword [ebp - 0x188], esi
push edi
call fcn.004e01e0
add esp, 4
push eax
push str._c:_syslinux.cfg
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004050d0
lea eax, [ebp - 0x114]
mov byte [ebp - 0x11], 0
push 0x525f6c
push eax
call fcn.004d14af
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x454dfb
push str.Could_not_create_ReactOS_syslinux.cfg
call fcn.0044b0b0
add esp, 4
jmp 0x4540d8
push 0x5a2d00
push str.mboot.c32
push str.DEFAULT_ReactOS_nLABEL_ReactOS_n__KERNEL__s_n__APPEND__s
push edi
call fcn.00401040
push edi
call fcn.004d1662
add esp, 0x14
cmp dword [0x5a2ae0], 3
je 0x454e34
movss xmm1, dword [0x549af4]
mov ecx, 7
call fcn.0045de50
mov esi, dword [ebp - 0x188]
mov ebx, 1
jmp 0x4540da
call fcn.0044b6b0
push eax
push str.Could_not_write_Syslinux_boot_record:__s
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 8
jmp 0x4540d8
call fcn.0044b6b0
push eax
push str.Could_not_read_Syslinux_boot_record:__s
call fcn.0044b0b0
add esp, 8
jmp 0x4540d8
call fcn.0044b6b0
push eax
lea eax, [ebp - 0x111]
push eax
push str.Could_not_rewrite__s:__s_n
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 0xc
jmp 0x4540d8
push str.Unsupported_Syslinux_filesystem
call fcn.0044b0b0
mov esi, dword [ebp - 0x188]
add esp, 4
jmp 0x4540d8
cmp edx, 0x200
jb 0x454ed3
cmp edx, 0x1000
ja 0x454ed3
lea eax, [edx - 1]
test edx, eax
mov eax, str.unsupported_sectors_size
je 0x454ed8
mov eax, str.impossible_sector_size
push eax
push str.Error:__s
call fcn.0044b0b0
add esp, 8
jmp 0x4540d5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x454efd
test esi, esi
je 0x454efd
push esi
call edi
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret