Function at 0x4082c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c0
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [ebp + 0x10]
mov edx, str.Main_Data_Partition
mov byte [ebp - 0x94d], al
mov eax, 0x4ce3a4
push ebx
mov dword [ebp - 0x960], eax
mov eax, dword [0x4fad94]
test eax, eax
mov dword [ebp - 0x958], ecx
mov ecx, 0x4cf2e0
push esi
push edi
mov edi, dword [0x542e74]
cmove ecx, edx
mov dword [ebp - 0x95c], edi
mov dword [ebp - 0x1c], 0x4cf2d4
mov dword [ebp - 0x18], 0x4cf2d8
mov dword [ebp - 0x14], 0x4cf2dc
mov dword [ebp - 0x98c], ecx
je 0x40833c
mov eax, 0x40000000
mov dword [ebp - 0x964], eax
xor eax, eax
jmp 0x40834c
mov eax, dword [0x543760]
mov dword [ebp - 0x964], eax
mov eax, dword [0x543764]
mov ecx, dword [0x543770]
mov dword [ebp - 0x954], eax
mov eax, ecx
mul dword [0x54376c]
push 0x930
mov dword [ebp - 0x978], eax
xor eax, eax
push eax
mov dword [ebp - 0x9b8], eax
mov dword [ebp - 0x9b4], eax
mov dword [ebp - 0x9b0], eax
mov dword [ebp - 0x9ac], eax
mov dword [ebp - 0x9a8], eax
lea eax, [ebp - 0x94c]
shl ecx, 7
push eax
mov dword [ebp - 0x974], edx
mov dword [ebp - 0x998], ecx
mov dword [ebp - 0x99c], 0
mov dword [ebp - 0x9bc], 2
call fcn.00493600
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x96c], ebx
mov dword [ebp - 0x968], ebx
push ebx
push ebx
push ebx
push 0x147
push dword [0x542fb8]
mov dword [ebp - 0x97c], ebx
call esi
push eax
push 0x150
push dword [0x542fb8]
call esi
push dword [ebp + edi*4 - 0x1c]
cdq
push 0xca6
push ebx
mov esi, eax
mov dword [ebp - 0x970], edx
push 1
push 1
mov dword [ebp - 0x988], esi
call fcn.0041b3e0
mov eax, esi
add esp, 0x14
or eax, dword [ebp - 0x970]
jne 0x408435
mov dword [ebp - 0x988], 0x200
mov dword [ebp - 0x970], ebx
cmp edi, 2
je 0x4098e5
test byte [ebp - 0x94d], 4
je 0x4084fe
mov esi, dword [0x542fb0]
push 0xa
push 0x1f6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x408490
call fcn.00440bb0
push eax
push str.uefi_ntfs.img
push str.Could_not_locate_resource__s:__s
call fcn.004407e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x994], eax
test eax, eax
jne 0x4084cd
call fcn.00440bb0
push eax
push str.uefi_ntfs.img
push str.Could_not_load_resource__s:__s
call fcn.004407e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x994]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
test eax, eax
cmove esi, ecx
mov dword [ebp - 0x99c], esi
test esi, esi
je 0x408e12
mov edi, dword [ebp - 0x95c]
xor eax, eax
push 0x100
push eax
push 0x543788
mov dword [0x543900], eax
mov dword [0x543904], eax
mov dword [0x543908], eax
mov dword [0x54390c], eax
mov dword [0x543910], eax
mov dword [0x543914], eax
call fcn.00493600
add esp, 0xc
cmp edi, 1
je 0x408594
push 0x3fd
push dword [0x5430c4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
jne 0x408594
mov eax, dword [ebp - 0x988]
mov edi, eax
mov ecx, dword [ebp - 0x970]
mov esi, ecx
add edi, dword [ebp - 0x978]
push ecx
adc esi, dword [ebp - 0x974]
sub edi, 1
push eax
sbb esi, ebx
push esi
push edi
call fcn.004b9ad0
sub edi, eax
sbb esi, edx
shld esi, edi, 1
add edi, edi
mov dword [ebp - 0x910], esi
mov dword [ebp - 0x914], edi
mov edi, dword [ebp - 0x95c]
jmp 0x4085a4
mov dword [ebp - 0x914], 0x100000
mov dword [ebp - 0x910], ebx
cmp dword [0x543778], 0xc
fld qword [0x4ebb88]
fld qword [0x4ebae8]
fld qword [0x4ebb40]
je 0x4085cf
cmp dword [0x52b88c], 0x3a98
jbe 0x408857
test byte [ebp - 0x94d], 2
je 0x408857
cmp edi, 1
je 0x408614
push 0x913
fstp st(1)
fstp st(1)
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcdrive.c
push str.partition_style__PARTITION_STYLE_GPT
fstp st(0)
call fcn.0049ed6b
fld qword [0x4ebae8]
add esp, 0xc
fld qword [0x4ebb40]
fld qword [0x4ebb88]
fxch st(2)
fxch st(1)
fld qword [0x4ebba0]
mov eax, 0x4cf2e0
mov dword [ebp - 0x960], eax
xor esi, esi
mov eax, dword [0x4cf6a8]
mov dword [ebp - 0x8fc], eax
mov eax, dword [0x4cf6ac]
mov dword [ebp - 0x8f8], eax
mov eax, dword [0x4cf6b0]
mov dword [ebp - 0x8f4], eax
mov eax, dword [0x4cf6b4]
fst qword [ebp - 0x1c]
mov dword [ebp - 0x90c], 0x10400000
mov dword [ebp - 0x908], ebx
mov dword [ebp - 0x8f0], eax
fxch st(3)
fcomi st(3)
ja 0x4086b3
inc esi
fxch st(3)
fmul st(2)
cmp esi, 5
jl 0x408666
fstp st(2)
fstp st(2)
fxch st(1)
fxch st(1)
fst qword [ebp - 0x1c]
test esi, esi
jne 0x4086b9
push dword [0x4f3d28]
fstp st(1)
push 0x4ce59a
call fcn.004b9bc0
push eax
push 0x4ce59a
push str._s_d_s__s
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x1c
jmp 0x40871f
fstp st(2)
fstp st(1)
jmp 0x40867c
fld st(0)
sub esp, 8
fmulp st(2)
fxch st(1)
fstp qword [ebp - 0x984]
fstp qword [esp]
call fcn.004bb6d0
fmul qword [0x4ebb40]
add esp, 8
mov eax, str._s_0.0f_s__s
fsubr qword [ebp - 0x984]
fld qword [0x4ebb08]
fcompi st(1)
fstp st(0)
ja 0x4086f5
mov eax, str._s_0.1f_s__s
push dword [esi*4 + 0x4f3d28]
fld qword [ebp - 0x1c]
push 0x4ce59a
sub esp, 8
fstp qword [esp]
push 0x4ce59a
push eax
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x20
push 0x53df70
push dword [ebp - 0x910]
mov byte [0x53df8f], bl
push dword [ebp - 0x914]
push 0x4cf2e0
push str._Creating__S__offset:__lld__size:__s_
call fcn.004407e0
add esp, 0x14
lea eax, [ebp - 0x8ec]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x24
lea eax, [ebp - 0x8d4]
push 0x4cf2e0
push eax
call fcn.0049f464
mov eax, dword [ebp - 0x998]
add esp, 0xc
mov esi, dword [ebp - 0x914]
mov ebx, dword [ebp - 0x910]
mov dword [ebp - 0x9a4], eax
push 1
push eax
call fcn.0049570f
mov edi, eax
add esp, 8
test edi, edi
je 0x4087df
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x958]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4087b6
push edi
call fcn.004998ec
add esp, 4
jmp 0x4087df
push ecx
lea eax, [ebp - 0x9a4]
mov edx, edi
push eax
push dword [ebp - 0x9a4]
mov ecx, ebx
call fcn.004417e0
add esp, 0xc
mov esi, eax
push edi
call fcn.004998ec
add esp, 4
test esi, esi
jne 0x4087f7
call fcn.00440bb0
push eax
push 0x4cf2e0
push str.Could_not_zero__S:__s
call fcn.004407e0
add esp, 0xc
mov edx, dword [ebp - 0x914]
mov ebx, 1
mov ecx, dword [ebp - 0x90c]
mov esi, dword [ebp - 0x910]
mov eax, dword [ebp - 0x908]
mov dword [0x543808], ecx
add ecx, edx
mov dword [0x54380c], eax
adc eax, esi
mov dword [0x543788], edx
mov dword [ebp - 0x880], eax
mov al, byte [ebp - 0x94d]
and al, 0xfd
mov dword [0x54378c], esi
mov dword [0x543908], edx
mov dword [0x54390c], esi
mov dword [ebp - 0x884], ecx
mov byte [ebp - 0x94d], al
jmp 0x408863
mov al, byte [ebp - 0x94d]
fstp st(1)
fstp st(1)
fstp st(0)
test al, 1
je 0x408b1f
cmp dword [ebp - 0x95c], 1
je 0x40888b
push 0x92a
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcdrive.c
push str.partition_style__PARTITION_STYLE_GPT
call fcn.0049ed6b
add esp, 0xc
fld qword [0x4ebb98]
lea edi, [ebx + ebx*8]
shl edi, 4
mov eax, str.Microsoft_Reserved_Partition
mov dword [ebp - 0x960], eax
xor esi, esi
mov eax, dword [0x4cfb78]
fst qword [ebp - 0x1c]
fld qword [0x4ebae8]
fld qword [0x4ebb88]
mov dword [ebp + edi - 0x8fc], eax
mov eax, dword [0x4cfb7c]
mov dword [ebp + edi - 0x8f8], eax
mov eax, dword [0x4cfb80]
mov dword [ebp + edi - 0x8f4], eax
mov eax, dword [0x4cfb84]
mov dword [ebp + edi - 0x90c], 0x8000000
mov dword [ebp + edi - 0x908], 0
mov dword [ebp + edi - 0x8f0], eax
jmp 0x4088fd
fxch st(2)
fcomi st(2)
ja 0x408942
inc esi
fxch st(2)
fmul st(1)
cmp esi, 5
jl 0x4088fb
fstp st(1)
fstp st(1)
fst qword [ebp - 0x1c]
test esi, esi
jne 0x408948
push dword [0x4f3d28]
push 0x4ce59a
call fcn.004b9bc0
push eax
push 0x4ce59a
push str._s_d_s__s
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x1c
jmp 0x4089b0
fstp st(1)
fstp st(0)
jmp 0x40890f
fld st(0)
sub esp, 8
fmul qword [0x4ebb40]
fstp qword [ebp - 0x984]
fstp qword [esp]
call fcn.004bb6d0
fmul qword [0x4ebb40]
add esp, 8
mov eax, str._s_0.0f_s__s
fsubr qword [ebp - 0x984]
fld qword [0x4ebb08]
fcompi st(1)
fstp st(0)
ja 0x408986
mov eax, str._s_0.1f_s__s
push dword [esi*4 + 0x4f3d28]
fld qword [ebp - 0x1c]
push 0x4ce59a
sub esp, 8
fstp qword [esp]
push 0x4ce59a
push eax
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x20
push 0x53df70
push dword [ebp + edi - 0x910]
mov byte [0x53df8f], 0
push dword [ebp + edi - 0x914]
push str.Microsoft_Reserved_Partition
push str._Creating__S__offset:__lld__size:__s_
call fcn.004407e0
add esp, 0x14
lea eax, [ebp - 0x8ec]
add eax, edi
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x24
lea eax, [ebp - 0x8d4]
add eax, edi
push str.Microsoft_Reserved_Partition
push eax
call fcn.0049f464
mov eax, dword [ebp + edi - 0x914]
add esp, 0xc
mov dword [ebp - 0x980], eax
mov eax, dword [ebp + edi - 0x910]
mov dword [ebp - 0x9a0], eax
mov eax, dword [ebp - 0x998]
push 1
push eax
mov dword [ebp - 0x994], eax
call fcn.0049570f
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
je 0x408a97
push 0
push 0
push dword [ebp - 0x9a0]
push dword [ebp - 0x980]
push dword [ebp - 0x958]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x408a68
push esi
call fcn.004998ec
add esp, 4
jmp 0x408a97
push ecx
mov ecx, dword [ebp - 0x958]
lea eax, [ebp - 0x994]
push eax
push dword [ebp - 0x994]
mov edx, esi
call fcn.004417e0
add esp, 0xc
mov esi, eax
push dword [ebp - 0x14]
call fcn.004998ec
add esp, 4
test esi, esi
jne 0x408aaf
call fcn.00440bb0
push eax
push str.Microsoft_Reserved_Partition
push str.Could_not_zero__S:__s
call fcn.004407e0
add esp, 0xc
mov eax, dword [ebp + edi - 0x914]
mov ecx, dword [ebp + edi - 0x910]
mov dword [ebx*8 + 0x543788], eax
mov eax, dword [ebp + edi - 0x90c]
mov dword [ebx*8 + 0x54378c], ecx
mov ecx, dword [ebp + edi - 0x908]
mov dword [ebx*8 + 0x543808], eax
mov dword [ebx*8 + 0x54380c], ecx
inc ebx
lea edx, [ebx + ebx*8]
shl edx, 4
mov ecx, dword [ebp + edx - 0x99c]
add ecx, dword [ebp + edx - 0x9a4]
mov eax, dword [ebp + edx - 0x998]
adc eax, dword [ebp + edx - 0x9a0]
and byte [ebp - 0x94d], 0xfe
mov dword [ebp + edx - 0x914], ecx
mov dword [ebp + edx - 0x910], eax
cmp dword [0x4fad94], 0
push 0
je 0x408ba7
push 0x100000
push dword [0x543624]
push dword [0x543620]
call fcn.004b9940
add eax, 0x60
push 0
push 0x40
adc edx, 0
push edx
push eax
call fcn.004b9940
shld edx, eax, 0x1a
shl eax, 0x1a
test edx, edx
jl 0x408b71
jg 0x408b65
cmp eax, 0x10400000
jb 0x408b71
mov esi, eax
mov eax, edx
mov dword [ebp - 0x97c], eax
jmp 0x408b78
xor eax, eax
mov esi, 0x10400000
lea ecx, [ebx + ebx*8]
mov edx, esi
shl ecx, 4
push 0
push dword [0x543770]
sub edx, dword [ebp + ecx - 0x914]
sbb eax, dword [ebp + ecx - 0x910]
push eax
push edx
call fcn.004b9940
mov edi, eax
mov dword [ebp - 0x954], edx
jmp 0x408bf9
mov ecx, dword [ebp - 0x964]
lea eax, [ebx + ebx*8]
push dword [0x543770]
mov edx, dword [ebp - 0x954]
shl eax, 4
sub ecx, dword [ebp + eax - 0x914]
sbb edx, dword [ebp + eax - 0x910]
push edx
push ecx
call fcn.004b9940
mov edi, eax
mov ecx, edx
xor eax, eax
mov edx, 0x21
cmp dword [ebp - 0x95c], 1
mov esi, 0x10400000
cmove eax, edx
sub edi, eax
sbb ecx, 0
mov dword [ebp - 0x954], ecx
mov cl, byte [ebp - 0x94d]
mov dword [ebp - 0x964], edi
test cl, cl
je 0x408d81
test cl, 2
je 0x408c53
mov ecx, dword [ebp - 0x978]
mov eax, str.EFI_System
mov edx, dword [ebp - 0x974]
add esi, ecx
mov dword [ebp - 0x960], eax
mov eax, dword [ebp - 0x97c]
adc eax, edx
sub esi, 1
push edx
push ecx
sbb eax, 0
push eax
push esi
call fcn.004b9940
mov dword [ebp - 0x96c], eax
mov dword [ebp - 0x968], edx
jmp 0x408d48
test cl, 4
je 0x408ca5
mov ecx, dword [ebp - 0x99c]
mov edx, 0x100000
mov esi, dword [ebp - 0x974]
cmp ecx, edx
mov eax, 0x4cef74
cmovb ecx, edx
mov dword [ebp - 0x960], eax
mov edx, dword [ebp - 0x978]
xor eax, eax
add ecx, edx
push esi
adc eax, esi
sub ecx, 1
push edx
sbb eax, 0
push eax
push ecx
call fcn.004b9940
mov dword [ebp - 0x96c], eax
mov dword [ebp - 0x968], edx
jmp 0x408d48
test cl, 0x10
je 0x408d0b
mov ecx, dword [0x4fa950]
mov eax, ecx
mov edx, dword [0x4fa954]
or eax, edx
jne 0x408cdf
push 0x952
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcdrive.c
push str.persistence_size___0
call fcn.0049ed6b
mov edx, dword [0x4fa954]
add esp, 0xc
mov ecx, dword [0x4fa950]
push dword [ebp - 0x974]
mov eax, str.Linux_Persistence
push dword [ebp - 0x978]
mov dword [ebp - 0x960], eax
push edx
push ecx
call fcn.00491dc0
mov dword [ebp - 0x96c], eax
mov dword [ebp - 0x968], edx
jmp 0x408d48
test cl, 8
je 0x408d31
mov eax, str.BIOS_Compatibility
mov dword [ebp - 0x96c], 1
mov dword [ebp - 0x960], eax
mov dword [ebp - 0x968], 0
jmp 0x408d48
push 0x959
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcdrive.c
push str.FALSE
call fcn.0049ed6b
add esp, 0xc
mov esi, dword [0x54376c]
push 0
push esi
push dword [ebp - 0x954]
push edi
call fcn.004b9940
sub eax, dword [ebp - 0x96c]
push 0
sbb edx, dword [ebp - 0x968]
push esi
push edx
push eax
call fcn.00491ed0
mov edi, eax
mov dword [ebp - 0x954], edx
mov dword [ebp - 0x964], edi
mov esi, dword [0x543770]
push 0
push esi
push dword [ebp - 0x970]
push dword [ebp - 0x988]
call fcn.004b9ad0
or eax, edx
jne 0x408def
push dword [ebp - 0x954]
push edi
push eax
push esi
call fcn.00491ed0
push dword [ebp - 0x970]
mov esi, edx
mov edi, eax
push dword [ebp - 0x988]
push esi
push edi
call fcn.004b9ad0
push 0
push dword [0x543770]
sub edi, eax
sbb esi, edx
push esi
push edi
call fcn.004b9940
mov esi, dword [0x543770]
mov edi, eax
mov eax, edx
mov dword [ebp - 0x964], edi
mov dword [ebp - 0x954], eax
jmp 0x408df5
mov eax, dword [ebp - 0x954]
test eax, eax
jg 0x408e25
jl 0x408dff
test edi, edi
jne 0x408e25
push dword [ebp - 0x98c]
push str.Error:_Invalid__S_size
call fcn.004407e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push eax
push edi
push 0
push esi
call fcn.00491ed0
mov dword [ebp - 0x1c], eax
mov eax, edx
and edx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x18], edx
xor esi, esi
fild qword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
fild qword [ebp - 0x1c]
fchs
faddp st(1)
fst qword [ebp - 0x1c]
fld qword [0x4ebae8]
fld qword [0x4ebb88]
jmp 0x408e6b
fxch st(2)
fcomi st(2)
ja 0x408eb0
inc esi
fxch st(2)
fmul st(1)
cmp esi, 5
jl 0x408e69
fstp st(1)
fstp st(1)
fst qword [ebp - 0x1c]
test esi, esi
jne 0x408eb6
push dword [0x4f3d28]
push 0x4ce59a
call fcn.004b9bc0
push eax
push 0x4ce59a
push str._s_d_s__s
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x1c
jmp 0x408f1e
fstp st(1)
fstp st(0)
jmp 0x408e7d
fld st(0)
sub esp, 8
fmul qword [0x4ebb40]
fstp qword [ebp - 0x984]
fstp qword [esp]
call fcn.004bb6d0
fmul qword [0x4ebb40]
add esp, 8
mov eax, str._s_0.0f_s__s
fsubr qword [ebp - 0x984]
fld qword [0x4ebb08]
fcompi st(1)
fstp st(0)
ja 0x408ef4
mov eax, str._s_0.1f_s__s
push dword [esi*4 + 0x4f3d28]
fld qword [ebp - 0x1c]
push 0x4ce59a
sub esp, 8
fstp qword [esp]
push 0x4ce59a
push eax
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x20
lea edi, [ebx + ebx*8]
mov byte [0x53df8f], 0
shl edi, 4
push 0x53df70
push dword [ebp + edi - 0x910]
push dword [ebp + edi - 0x914]
push dword [ebp - 0x98c]
push str._Creating__S__offset:__lld__size:__s_
call fcn.004407e0
mov eax, dword [ebp + edi - 0x914]
add esp, 0x14
mov dword [ebp - 0x980], eax
mov eax, dword [ebp + edi - 0x910]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x998]
push 1
push eax
mov dword [ebp - 0x97c], eax
call fcn.0049570f
mov esi, eax
add esp, 8
mov dword [ebp - 0x9a0], esi
test esi, esi
je 0x408fe5
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x980]
push dword [ebp - 0x958]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x408fb3
push esi
call fcn.004998ec
add esp, 4
jmp 0x408fe5
push ecx
mov ecx, dword [ebp - 0x958]
lea eax, [ebp - 0x97c]
push eax
push dword [ebp - 0x97c]
mov edx, esi
call fcn.004417e0
add esp, 0xc
mov esi, eax
push dword [ebp - 0x9a0]
call fcn.004998ec
add esp, 4
test esi, esi
jne 0x408ffe
call fcn.00440bb0
push eax
push dword [ebp - 0x98c]
push str.Could_not_zero__S:__s
call fcn.004407e0
add esp, 0xc
push dword [ebp - 0x954]
push dword [ebp - 0x964]
push 0
push dword [0x543770]
call fcn.00491ed0
mov esi, dword [ebp - 0x95c]
mov dword [ebp + edi - 0x90c], eax
mov dword [ebp + edi - 0x908], edx
test esi, esi
jne 0x4090a2
cmp dword [0x5430c0], esi
setne al
mov byte [ebp + edi - 0x8fb], al
mov eax, dword [ebp + 8]
cmp eax, 8
ja case.default.0x409047
jmp dword [eax*4 + 0x4098fc]
mov byte [ebp + edi - 0x8fc], 0xe
jmp 0x409164
mov byte [ebp + edi - 0x8fc], 7
jmp 0x409164
mov byte [ebp + edi - 0x8fc], 0x83
jmp 0x409164
mov byte [ebp + edi - 0x8fc], 0xc
jmp 0x409164
push str.Unsupported_file_system
call fcn.004407e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
cmp dword [0x4fad94], 0
je 0x4090d6
mov eax, dword [0x4cf6a8]
mov dword [ebp + edi - 0x8fc], eax
mov eax, dword [0x4cf6ac]
mov dword [ebp + edi - 0x8f8], eax
mov eax, dword [0x4cf6b0]
mov dword [ebp + edi - 0x8f4], eax
mov eax, dword [0x4cf6b4]
jmp 0x409135
mov eax, dword [ebp + 8]
add eax, 0xfffffffa
cmp eax, 2
ja 0x40910c
mov eax, dword [0x4cf718]
mov dword [ebp + edi - 0x8fc], eax
mov eax, dword [0x4cf71c]
mov dword [ebp + edi - 0x8f8], eax
mov eax, dword [0x4cf720]
mov dword [ebp + edi - 0x8f4], eax
mov eax, dword [0x4cf724]
jmp 0x409135
mov eax, dword [0x4cfb88]
mov dword [ebp + edi - 0x8fc], eax
mov eax, dword [0x4cfb8c]
mov dword [ebp + edi - 0x8f8], eax
mov eax, dword [0x4cfb90]
mov dword [ebp + edi - 0x8f4], eax
mov eax, dword [0x4cfb94]
mov dword [ebp + edi - 0x8f0], eax
lea eax, [ebp - 0x8ec]
add eax, edi
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x24
push dword [ebp - 0x98c]
lea eax, [ebp - 0x8d4]
add eax, edi
push eax
call fcn.0049f464
add esp, 0xc
mov eax, dword [ebp + edi - 0x914]
mov ecx, dword [ebp + edi - 0x910]
mov dl, byte [ebp - 0x94d]
mov dword [ebx*8 + 0x543788], eax
mov eax, dword [ebp + edi - 0x90c]
mov dword [ebx*8 + 0x54378c], ecx
mov ecx, dword [ebp + edi - 0x908]
mov dword [ebx*8 + 0x543808], eax
mov eax, dword [ebx*8 + 0x543788]
mov dword [ebx*8 + 0x54380c], ecx
mov ecx, dword [ebx*8 + 0x54378c]
inc ebx
mov dword [0x543900], eax
mov dword [0x543904], ecx
test dl, dl
je 0x409696
lea esi, [ebx + ebx*8]
shl esi, 4
mov ecx, dword [ebp + esi - 0x99c]
add ecx, dword [ebp + esi - 0x9a4]
mov eax, dword [ebp + esi - 0x998]
adc eax, dword [ebp + esi - 0x9a0]
mov dword [ebp + esi - 0x910], eax
mov al, dl
and al, 4
mov dword [ebp + esi - 0x914], ecx
mov byte [ebp - 0x94f], al
je 0x40920a
mov eax, dword [ebp - 0x99c]
xor edx, edx
jmp 0x409227
push dword [ebp - 0x974]
push dword [ebp - 0x978]
push dword [ebp - 0x968]
push dword [ebp - 0x96c]
call fcn.00491ed0
mov dword [ebp - 0x1c], eax
mov dword [ebp + esi - 0x90c], eax
mov eax, edx
mov dword [ebp + esi - 0x908], edx
and eax, 0x80000000
and edx, 0x7fffffff
xor edi, edi
mov dword [ebp - 0x18], edx
fild qword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
fild qword [ebp - 0x1c]
fchs
faddp st(1)
fst qword [ebp - 0x1c]
fld qword [0x4ebae8]
fld qword [0x4ebb88]
jmp 0x409271
fxch st(2)
fcomi st(2)
ja 0x4092b6
inc edi
fxch st(2)
fmul st(1)
cmp edi, 5
jl 0x40926f
fstp st(1)
fstp st(1)
fst qword [ebp - 0x1c]
test edi, edi
jne 0x4092bc
push dword [0x4f3d28]
push 0x4ce59a
call fcn.004b9bc0
push eax
push 0x4ce59a
push str._s_d_s__s
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x1c
jmp 0x409324
fstp st(1)
fstp st(0)
jmp 0x409283
fld st(0)
sub esp, 8
fmul qword [0x4ebb40]
fstp qword [ebp - 0x984]
fstp qword [esp]
call fcn.004bb6d0
fmul qword [0x4ebb40]
add esp, 8
mov eax, str._s_0.0f_s__s
fsubr qword [ebp - 0x984]
fld qword [0x4ebb08]
fcompi st(1)
fstp st(0)
ja 0x4092fa
mov eax, str._s_0.1f_s__s
push dword [edi*4 + 0x4f3d28]
fld qword [ebp - 0x1c]
push 0x4ce59a
sub esp, 8
fstp qword [esp]
push 0x4ce59a
push eax
push 0x20
push 0x53df70
call fcn.00403820
add esp, 0x20
mov edi, dword [ebp - 0x960]
push 0x53df70
push dword [ebp + esi - 0x910]
mov byte [0x53df8f], 0
push dword [ebp + esi - 0x914]
push edi
push str._Creating__S_Partition__offset:__lld__size:__s_
call fcn.004407e0
mov ecx, dword [ebp + esi - 0x910]
add esp, 0x14
mov eax, dword [ebp + esi - 0x914]
mov dword [ebx*8 + 0x54378c], ecx
mov ecx, dword [ebp + esi - 0x908]
mov dword [ebx*8 + 0x543788], eax
mov eax, dword [ebp + esi - 0x90c]
mov dword [ebx*8 + 0x54380c], ecx
mov cl, byte [ebp - 0x94d]
mov dword [ebx*8 + 0x543808], eax
mov dl, cl
mov al, cl
and al, 2
mov byte [ebp - 0x94e], al
and dl, 0x10
je 0x4093bc
mov eax, dword [ebx*8 + 0x543788]
mov ecx, dword [ebx*8 + 0x54378c]
mov dword [0x543910], eax
mov dword [0x543914], ecx
jmp 0x4093d9
test al, al
je 0x4093e5
mov eax, dword [ebx*8 + 0x543788]
mov ecx, dword [ebx*8 + 0x54378c]
mov dword [0x543908], eax
mov dword [0x54390c], ecx
mov cl, byte [ebp - 0x94d]
mov al, byte [ebp - 0x94e]
cmp dword [ebp - 0x95c], 1
jne 0x4094d0
test al, al
je 0x409421
mov eax, dword [0x4cf6a8]
mov dword [ebp + esi - 0x8fc], eax
mov eax, dword [0x4cf6ac]
mov dword [ebp + esi - 0x8f8], eax
mov eax, dword [0x4cf6b0]
mov dword [ebp + esi - 0x8f4], eax
mov eax, dword [0x4cf6b4]
jmp 0x409479
test dl, dl
je 0x409450
mov eax, dword [0x4cf718]
mov dword [ebp + esi - 0x8fc], eax
mov eax, dword [0x4cf71c]
mov dword [ebp + esi - 0x8f8], eax
mov eax, dword [0x4cf720]
mov dword [ebp + esi - 0x8f4], eax
mov eax, dword [0x4cf724]
jmp 0x409479
mov eax, dword [0x4cfb88]
mov dword [ebp + esi - 0x8fc], eax
mov eax, dword [0x4cfb8c]
mov dword [ebp + esi - 0x8f8], eax
mov eax, dword [0x4cfb90]
mov dword [ebp + esi - 0x8f4], eax
mov eax, dword [0x4cfb94]
cmp byte [ebp - 0x94f], 0
mov dword [ebp + esi - 0x8f0], eax
je 0x40949f
mov dword [ebp + esi - 0x8dc], 0
mov dword [ebp + esi - 0x8d8], 0x90000000
lea eax, [ebp - 0x8ec]
add eax, esi
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
cmp byte [ebp - 0x94e], 0
mov eax, 0x4cf2e0
push 0x24
cmove eax, edi
push eax
lea eax, [ebp - 0x8d4]
add eax, esi
push eax
call fcn.0049f464
jmp 0x40951c
test cl, 6
je 0x4094df
mov byte [ebp + esi - 0x8fc], 0xef
jmp 0x40951f
test dl, dl
je 0x4094ed
mov byte [ebp + esi - 0x8fc], 0x83
jmp 0x40951f
test cl, 8
je 0x409508
mov eax, dword [0x54376c]
mov byte [ebp + esi - 0x8fc], 0xea
mov dword [ebp + esi - 0x8f8], eax
jmp 0x40951f
push 0x9c8
push str.C:UsersgamerDownloads_rufus72_rufus_7_srcdrive.c
push str.FALSE
call fcn.0049ed6b
add esp, 0xc
cmp byte [ebp - 0x94f], 0
je 0x40968f
push edi
push str.Writing__S_data...
call fcn.004407e0
add esp, 8
push 0
push 0
push dword [ebp + esi - 0x910]
push dword [ebp + esi - 0x914]
push dword [ebp - 0x958]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x40957c
push str.Could_not_set_position
call fcn.004407e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov esi, dword [0x542fb0]
push 0xa
push 0x1f6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4095ce
call fcn.00440bb0
push eax
push str.uefi_ntfs.img
push str.Could_not_locate_resource__s:__s
call fcn.004407e0
add esp, 0xc
push str.Could_not_access_source_image
call fcn.004407e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x409615
call fcn.00440bb0
push eax
push str.uefi_ntfs.img
push str.Could_not_load_resource__s:__s
call fcn.004407e0
add esp, 0xc
push str.Could_not_access_source_image
call fcn.004407e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x40964c
push str.Could_not_access_source_image
call fcn.004407e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push ecx
lea ecx, [ebp - 0x990]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x958]
push esi
call fcn.004417e0
add esp, 0xc
test eax, eax
jne 0x40968f
call fcn.00440bb0
push eax
push str.Write_error:__s
call fcn.004407e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x95c]
inc ebx
xor ecx, ecx
test ebx, ebx
je 0x4096b6
lea eax, [ebp - 0x91c]
inc ecx
mov dword [eax], esi
mov dword [eax + 0x18], ecx
lea eax, [eax + 0x90]
mov byte [eax - 0x74], 1
cmp ecx, ebx
jb 0x4096a2
mov eax, esi
sub eax, 0
je 0x409775
sub eax, 1
jne 0x4097b2
lea eax, [ebp - 0x9b8]
mov dword [ebp - 0x9bc], 1
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, dword [0x543770]
mov eax, ecx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x9a8], 0x10
add eax, eax
mov dword [ebp - 0x94c], 1
mov dword [ebp - 0x934], eax
imul eax, ecx, 0x43
mov ecx, dword [0x543760]
mov dword [ebp - 0x948], ebx
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x924], 0x10
sub ecx, eax
mov eax, dword [0x543764]
mov dword [ebp - 0x92c], ecx
sbb eax, 0
mov dword [ebp - 0x928], eax
mov eax, dword [ebp - 0x9b8]
mov dword [ebp - 0x944], eax
mov eax, dword [ebp - 0x9b4]
mov dword [ebp - 0x940], eax
mov eax, dword [ebp - 0x9b0]
mov dword [ebp - 0x93c], eax
mov eax, dword [ebp - 0x9ac]
mov dword [ebp - 0x938], eax
jmp 0x4097b2
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x9bc], 0
je 0x40978c
mov eax, 0x49464555
jmp 0x409792
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x9b8], eax
mov dword [ebp - 0x94c], 0
mov dword [ebp - 0x948], 4
mov dword [ebp - 0x944], eax
mov edi, dword [ebp - 0x958]
lea eax, [ebp - 0x990]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push eax
push 0
push 0
push 0x18
lea eax, [ebp - 0x9bc]
mov dword [ebp - 0x990], 0x18
push eax
push 0x7c058
push edi
call esi
test eax, eax
jne 0x409810
call fcn.00440bb0
push eax
push str.Could_not_reset_disk:__s
call fcn.004407e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0x70140
push edi
call esi
test eax, eax
jne 0x40983d
call fcn.00440bb0
push eax
push str.Could_not_refresh_drive_layout:__s
call fcn.004407e0
add esp, 8
cmp dword [ebp - 0x95c], 1
jne 0x409853
lea eax, [ebx + ebx*8]
shl eax, 4
add eax, 0x6f0
jmp 0x409858
mov eax, 0x930
push 0
lea ecx, [ebp - 0x990]
mov dword [ebp - 0x990], eax
push ecx
push 0
push 0
push eax
lea eax, [ebp - 0x94c]
push eax
push 0x7c054
push edi
call esi
test eax, eax
jne 0x4098a5
call fcn.00440bb0
push eax
push str.Could_not_set_drive_layout:__s
call fcn.004407e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0x70140
push edi
call esi
test eax, eax
jne 0x4098e5
call fcn.00440bb0
push eax
push str.Could_not_refresh_drive_layout:__s
call fcn.004407e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret