Function at 0x40f8c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x48], 0
or ebx, 0xffffffff
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], ebx
test esi, esi
je 0x40f8f4
mov eax, dword [0x5a3180]
mov ecx, dword [0x5a3184]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
jmp 0x40f904
mov eax, dword [0x5a3030]
mov dword [ebp - 0x14], eax
mov eax, dword [0x5a3034]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x20], 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov eax, dword [0x5a3190]
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x44], ebx
cmp eax, 0x200
jae 0x40f950
push eax
push str.Unexpected_sector_size___d____Aborting
call fcn.0044b0b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x70], xmm0
push dword [ebp - 0x6c]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x70]
push edi
call eax
test eax, eax
jne 0x40f97e
push str.Warning:_Unable_to_rewind_image_position___wrong_data_might_be_copied_
call fcn.0044b0b0
add esp, 4
push 0
push 0
push 0
push 0
push 0
xor edx, edx
or ecx, 0xffffffff
call fcn.0045e120
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x40fd79
cmp dword [0x55a768], ebx
mov ecx, str.Zeroing_drive:
mov eax, str.Fast_zeroing_drive:
cmove eax, ecx
push eax
call fcn.0044b0b0
mov ecx, dword [0x5a3190]
xor edx, edx
add esp, 4
lea eax, [ecx + 0x1ffffff]
div ecx
push ecx
mov edi, eax
imul edi, ecx
push edi
call fcn.004b59e9
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x40fa07
push str.Could_not_allocate_disk_zeroing_buffer
mov dword [0x55a318], 0xc0030008
call fcn.0044b0b0
add esp, 4
mov edi, ebx
jmp 0x4103fc
xor edx, edx
mov eax, ebx
div dword [0x5a3190]
test edx, edx
je 0x40fa2c
push 0x49e
push str.D:_a_rufus_rufus_src_format.c
push str._uintptr_t_buffer___SelectedDrive.SectorSize__0
call fcn.004dfbbc
add esp, 0xc
mov esi, dword [0x55a768]
mov eax, esi
neg eax
push edi
sbb eax, eax
and eax, 0xff
push eax
push ebx
call fcn.004ab0f0
add esp, 0xc
test esi, esi
je 0x40faab
push dword [0x5a3190]
push edi
call fcn.004b59e9
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x40fa86
push str.Could_not_allocate_disk_comparison_buffer
mov dword [0x55a318], 0xc0030008
call fcn.0044b0b0
mov edi, dword [ebp - 4]
add esp, 4
or ebx, 0xffffffff
jmp 0x410401
xor edx, edx
mov eax, esi
div dword [0x5a3190]
test edx, edx
je 0x40faab
push 0x4aa
push str.D:_a_rufus_rufus_src_format.c
push str._uintptr_t_cmp_buffer___SelectedDrive.SectorSize__0
call fcn.004dfbbc
add esp, 0xc
mov ecx, dword [ebp - 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x70], edi
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jb 0x410350
mov esi, dword [ebp - 0x14]
ja 0x40fad5
test esi, esi
je 0x410350
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x30], ebx
nop
cmp dword [0x55a768], 0
mov eax, 0xcea
push 0
push ecx
push esi
push ebx
mov edx, 0xcd6
mov ecx, 4
push edi
cmovne edx, eax
call fcn.0045e120
mov eax, dword [ebp - 0xc]
add esp, 0x14
test eax, eax
jb 0x40fb1e
ja 0x40fb15
cmp esi, 0x50
jbe 0x40fb1e
mov ecx, 0x50
xor eax, eax
jmp 0x40fb20
mov ecx, esi
push ebx
push edi
push eax
push ecx
call fcn.004a9490
push dword [ebp - 0xc]
push esi
push edx
push eax
call fcn.004a9380
cmp eax, dword [ebp - 0x20]
jne 0x40fb3e
cmp edx, dword [ebp - 0x24]
je 0x40fb4e
mov ecx, 0x52d294
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
call fcn.0044b1f0
mov ecx, dword [ebp - 0x70]
xor eax, eax
mov edx, ecx
add edx, edi
adc eax, ebx
cmp eax, dword [ebp - 0xc]
jb 0x40fb6b
ja 0x40fb64
cmp edx, esi
jbe 0x40fb6b
mov ecx, esi
sub ecx, edi
mov dword [ebp - 0x70], ecx
mov esi, dword [0x5a3190]
xor edx, edx
mov eax, ecx
div esi
test edx, edx
je 0x40fb8c
lea eax, [esi - 1]
xor edx, edx
add eax, ecx
div esi
mov ecx, eax
imul ecx, esi
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40fb9c
dec eax
mov dword [ebp - 0x28], eax
jmp 0x40fc5b
cmp dword [0x55a768], 0
je 0x40fc5b
mov eax, dword [0x55a318]
test eax, eax
jns 0x40fbbc
cmp ax, 0x4c7
je 0x40fd28
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push 0
push eax
push ecx
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40fd36
mov ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x4c], ecx
jne 0x40fd36
mov esi, dword [esi]
test esi, esi
je 0x40fbef
cmp esi, 0xffffffff
jne 0x40fc3d
mov edx, ecx
mov eax, 1
shr edx, 2
cmp edx, eax
jbe 0x40fc0d
mov ebx, dword [ebp - 0x10]
cmp dword [ebx + eax*4], esi
jne 0x40fc0a
inc eax
cmp eax, edx
jb 0x40fc00
mov ebx, dword [ebp - 0x30]
cmp eax, edx
jb 0x40fc3d
mov dword [ebp - 0x1c], ecx
add edi, ecx
mov ecx, dword [ebp - 0xc]
adc ebx, 0
mov dword [ebp - 0x30], ebx
cmp ebx, ecx
ja 0x410350
mov esi, dword [ebp - 0x14]
jb 0x40fae0
cmp edi, esi
jae 0x410350
jmp 0x40fae0
push 0
push 0
push ebx
push edi
push dword [ebp - 0x18]
call dword [ebp - 0x34]
test eax, eax
je 0x40fd15
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x28], 0xf
mov esi, 1
mov eax, dword [0x55a318]
test eax, eax
jns 0x40fc73
cmp ax, 0x4c7
je 0x40fd28
push 0
lea eax, [ebp - 0x1c]
push eax
push ecx
push dword [ebp - 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40fca5
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x70]
cmp ecx, eax
je 0x40fc14
push eax
push ecx
push str._r_nWrite_error:_Wrote__d_bytes__expected__d_bytes
call fcn.0044b0b0
add esp, 0xc
jmp 0x40fcc9
call fcn.0044b6b0
push eax
push 0
push dword [0x5a3190]
push ebx
push edi
call fcn.004a9380
push edx
push eax
push str._r_nWrite_error_at_sector__lld:__s
call fcn.0044b0b0
add esp, 0x10
cmp esi, 4
jae 0x40fd61
push 5
push str.Retrying_in__d_seconds...
call fcn.0044b0b0
add esp, 8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push ebx
push edi
push dword [ebp - 0x18]
call dword [ebp - 0x34]
test eax, eax
je 0x40fd54
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 4
ja 0x40fd28
mov ecx, dword [ebp - 0x70]
jmp 0x40fc60
call fcn.0044b6b0
push eax
push str._r_nError:_Could_not_reset_position____s
call fcn.0044b0b0
add esp, 8
mov edi, dword [ebp - 4]
or ebx, 0xffffffff
mov esi, dword [ebp - 0x10]
jmp 0x410401
call fcn.0044b6b0
push eax
push str._r_nRead_error:_Could_not_read_data_for_fast_zeroing_comparison____s
call fcn.0044b0b0
mov edi, dword [ebp - 4]
add esp, 8
or ebx, 0xffffffff
jmp 0x410401
call fcn.0044b6b0
push eax
push str.Write_error:_Could_not_reset_position____s
jmp 0x40fd20
mov edi, dword [ebp - 4]
or ebx, 0xffffffff
mov esi, dword [ebp - 0x10]
mov dword [0x55a318], 0xc003001d
jmp 0x410401
mov al, byte [0x5a3073]
test al, al
je 0x40ff46
cmp al, 9
jae 0x40ff48
push str.Writing_compressed_image:
call fcn.0044b0b0
mov ecx, dword [0x55a75c]
push 0x8000000
sub esp, 0xc
call fcn.0040c150
mov ebx, eax
add esp, 0x14
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
jne 0x40fde2
call fcn.0044b6b0
push eax
push dword [0x55a75c]
push str.Could_not_open_image__s:__s
call fcn.0044b0b0
add esp, 0xc
mov dword [0x55a318], 0xc003006e
xor edi, edi
jmp 0x4103ff
mov eax, dword [0x5a3190]
push eax
push eax
call fcn.004b59e9
add esp, 8
mov dword [0x55a31c], eax
test eax, eax
jne 0x40fe1b
push str.Could_not_allocate_disk_write_buffer
mov dword [0x55a318], 0xc0030008
call fcn.0044b0b0
mov ebx, dword [ebp - 8]
add esp, 4
xor edi, edi
jmp 0x4103ff
xor edx, edx
div dword [0x5a3190]
test edx, edx
je 0x40fe3e
push 0x50d
push str.D:_a_rufus_rufus_src_format.c
push str._uintptr_t_sec_buf___SelectedDrive.SectorSize__0
call fcn.004dfbbc
add esp, 0xc
push 0x55a318
push 0
push 0x40f6f0
push 0x40f790
push 0
push fcn.0044b0b0
push 0x40000
mov dword [0x58b850], 0
call fcn.0047ea40
movzx eax, byte [0x5a3073]
add esp, 0x1c
push eax
push edi
push ebx
call fcn.0047f160
add esp, 0xc
mov esi, eax
mov edi, edx
call fcn.0047e9f0
mov ecx, 0x52d660
call fcn.0044b1f0
test edi, edi
jl 0x40feea
jg 0x40fe9c
test esi, esi
jb 0x40feea
cmp dword [0x58b850], 0
je 0x40feea
push str.Notice:_Compressed_image_data_didnt_end_on_block_boundary.
call fcn.0044b0b0
add esp, 4
lea eax, [ebp - 0x1c]
push 0
push eax
push dword [0x5a3190]
push dword [0x55a31c]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [0x55a31c]
call fcn.004b59cf
add esp, 4
mov dword [0x55a31c], 0
jmp 0x410350
push dword [0x55a31c]
call fcn.004b59cf
add esp, 4
mov dword [0x55a31c], 0
test edi, edi
jg 0x410350
jl 0x40ff14
test esi, esi
jae 0x410350
cmp word [0x55a318], 0x4c7
je 0x410350
push edi
push esi
push str.Could_not_write_compressed_image:__lld
call fcn.0044b0b0
mov ebx, dword [ebp - 8]
add esp, 0xc
mov dword [0x55a318], 0xc003001d
xor edi, edi
jmp 0x4103ff
cmp al, 9
jne 0x40ff66
push 0x523
push str.D:_a_rufus_rufus_src_format.c
push str.img_report.compression_type___IMG_COMPRESSION_FFU
call fcn.004dfbbc
mov al, byte [0x5a3073]
add esp, 0xc
cmp al, 0xa
je 0x40ff6e
cmp al, 0xb
jne 0x40ff86
mov ecx, dword [0x55a75c]
call fcn.004627b0
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x4103fa
mov esi, dword [0x55a75c]
test ebx, ebx
push 1
push 0x20
cmovne esi, ebx
call fcn.004b6706
mov ebx, eax
add esp, 8
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x40ffb0
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40ffea
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ecx
push 0x48000000
sub esp, 0xc
mov dword [ebx + 0x18], eax
mov ecx, esi
call fcn.0040c150
add esp, 0x14
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x410016
push dword [ebx + 0x18]
call dword [ebp - 0x2c]
push ebx
call fcn.004d1211
add esp, 4
xor ebx, ebx
call fcn.0044b6b0
push eax
push dword [0x55a75c]
push str.Could_not_open_image__s:__s
call fcn.0044b0b0
add esp, 0xc
mov dword [0x55a318], 0xc003006e
xor edi, edi
jmp 0x4103ff
mov ecx, dword [0x5a3190]
xor edx, edx
push ecx
lea eax, [ecx + 0x1ffffff]
div ecx
mov esi, eax
imul esi, ecx
mov dword [ebp - 0x3c], esi
lea eax, [esi + esi]
push eax
call fcn.004b59e9
mov edi, eax
add esp, 8
mov dword [ebp - 4], edi
test edi, edi
jne 0x410060
push str.Could_not_allocate_disk_write_buffer
mov dword [0x55a318], 0xc0030008
call fcn.0044b0b0
add esp, 4
jmp 0x4103ff
xor edx, edx
mov eax, edi
div dword [0x5a3190]
test edx, edx
je 0x410085
push 0x53c
push str.D:_a_rufus_rufus_src_format.c
push str._uintptr_t_buffer___SelectedDrive.SectorSize__0
call fcn.004dfbbc
add esp, 0xc
lea eax, [ebx + 8]
mov dword [ebx + 0x1c], 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push esi
push edi
push dword [ebx]
mov dword [ebp - 0x58], eax
call eax
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
jne 0x4100bc
call eax
sub eax, 0x3e5
neg eax
sbb eax, eax
neg eax
dec eax
jmp 0x4100c1
mov eax, 1
mov dword [ebx + 4], eax
xorps xmm0, xmm0
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x64], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x40], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movlpd qword [ebp - 0x60], xmm0
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], esi
nop dword [eax]
mov edi, dword [ebp - 0x14]
mov edx, 0xcbd
push 0
push dword [ebp - 0xc]
mov ecx, 4
push edi
push esi
push ebx
call fcn.0045e120
mov eax, dword [ebp - 0xc]
add esp, 0x14
test eax, eax
jb 0x410134
ja 0x41012b
cmp edi, 0x50
jbe 0x410134
mov ecx, 0x50
xor eax, eax
jmp 0x410136
mov ecx, edi
push esi
push ebx
push eax
push ecx
call fcn.004a9490
push dword [ebp - 0xc]
push edi
push edx
push eax
call fcn.004a9380
cmp eax, dword [ebp - 0x20]
jne 0x410154
cmp edx, dword [ebp - 0x24]
je 0x410164
mov ecx, 0x52d294
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
call fcn.0044b1f0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
jg 0x410183
push 0x3a98
push dword [ecx + 0x18]
call dword [ebp - 0x50]
test eax, eax
jne 0x4103d5
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x70]
lea edi, [edi + eax*4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4103cf
cmp dword [ecx + 0x1c], 0
jne 0x4103c2
shr eax, 0x1f
push eax
push edi
lea eax, [ecx + 8]
push eax
push dword [ecx]
call dword [ebp - 0x54]
test eax, eax
jne 0x4101c1
call dword [ebp - 0x38]
cmp eax, 0x26
jne 0x4103d5
jmp 0x4101d4
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
add dword [ecx + 0x10], eax
mov dword [ecx + 0x1c], 1
adc dword [ecx + 0x14], 0
mov ecx, dword [edi]
xor eax, eax
mov edx, ecx
add edx, ebx
adc eax, esi
cmp eax, dword [ebp - 0xc]
jb 0x4101f2
mov eax, dword [ebp - 0x14]
ja 0x4101ec
cmp edx, eax
jbe 0x4101f2
mov ecx, eax
sub ecx, ebx
mov dword [edi], ecx
mov esi, dword [0x5a3190]
xor edx, edx
mov eax, ecx
div esi
test edx, edx
je 0x410210
lea eax, [esi - 1]
xor edx, edx
add eax, ecx
div esi
imul eax, esi
mov dword [edi], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x5c], ecx
inc ecx
and ecx, 0x80000001
jns 0x410224
dec ecx
or ecx, 0xfffffffe
inc ecx
mov esi, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
lea eax, [esi + 8]
mov dword [esi + 0x1c], 0
push eax
mov eax, dword [ebp - 0x3c]
push 0
push eax
imul eax, ecx
add eax, dword [ebp - 4]
push eax
push dword [esi]
call dword [ebp - 0x58]
test eax, eax
jne 0x41025c
call dword [ebp - 0x38]
sub eax, 0x3e5
neg eax
sbb eax, eax
neg eax
dec eax
jmp 0x410261
mov eax, 1
mov dword [esi + 4], eax
mov esi, 1
nop dword [eax]
mov eax, dword [0x55a318]
test eax, eax
jns 0x410283
cmp ax, 0x4c7
je 0x4103a8
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x5c]
push dword [edi]
add eax, dword [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x64]
test eax, eax
je 0x4102be
mov eax, dword [edi]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
je 0x410333
push eax
push ecx
push str._r_nWrite_error:_Wrote__d_bytes__expected__d_bytes
call fcn.0044b0b0
add esp, 0xc
jmp 0x4102e4
call fcn.0044b6b0
push eax
push 0
push dword [0x5a3190]
push dword [ebp - 0x28]
push ebx
call fcn.004a9380
push edx
push eax
push str._r_nWrite_error_at_sector__lld:__s
call fcn.0044b0b0
add esp, 0x10
cmp esi, 4
jae 0x4103b0
push 5
push str.Retrying_in__d_seconds...
call fcn.0044b0b0
add esp, 8
push 0x1388
call dword [ebp - 0x40]
push 0
push 0
push dword [ebp - 0x28]
push ebx
push dword [ebp - 0x18]
call dword [ebp - 0x34]
test eax, eax
je 0x410395
push 0xc8
call dword [ebp - 0x40]
inc esi
cmp esi, 4
jbe 0x410270
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
jmp 0x4103ff
mov esi, dword [ebp - 0x28]
add ebx, eax
adc esi, 0
mov dword [ebp - 0x28], esi
test eax, eax
jne 0x410100
mov ecx, 0x52d660
call fcn.0044b1f0
push 0
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0x70140
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x410383
call fcn.0044b6b0
push eax
push str.Could_not_refresh_drive_layout:__s
call fcn.0044b0b0
add esp, 8
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x48], 1
jmp 0x410401
call fcn.0044b6b0
push eax
push str.Write_error:_Could_not_reset_position____s
call fcn.0044b0b0
add esp, 8
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
jmp 0x4103ff
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [0x55a318], 0xc003001d
jmp 0x4103ff
push 0x103
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4103d5
mov dword [edi], 0
call fcn.0044b6b0
push eax
push str._r_nRead_error:__s
call fcn.0044b0b0
mov ebx, dword [ebp - 8]
add esp, 8
mov edi, dword [ebp - 4]
mov dword [0x55a318], 0xc003001e
jmp 0x4103ff
xor edi, edi
or ebx, 0xffffffff
xor esi, esi
mov al, byte [0x5a3073]
test al, al
je 0x41041d
cmp al, 9
jae 0x41041d
cmp ebx, 0xffffffff
je 0x41043a
test ebx, ebx
je 0x41043a
push ebx
call dword [ebp - 0x2c]
jmp 0x41043a
test ebx, ebx
je 0x41043a
cmp ebx, 0xffffffff
je 0x41043a
push dword [ebx]
call dword [ebp - 0x2c]
push dword [ebx + 0x18]
call dword [ebp - 0x2c]
push ebx
call fcn.004d1211
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x410445
call fcn.00462b10
push edi
call fcn.004b59cf
add esp, 4
push esi
call fcn.004b59cf
mov eax, dword [ebp - 0x48]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret