Function at 0x439616
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push dword [ebx + 0x28]
inc edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x439675
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439646
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43964d
mov esi, 0x80004005
push esi
push 0x202
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_set_operation_complete_event.
push esi
push 0x100
push 5
push 0x202
jmp 0x439a68
push 0xffffffffffffffff
push dword [ebx + 0x24]
call fcn.004017b5
mov esi, eax
test esi, esi
jns 0x4396a9
push str.Failed_to_wait_for_begin_operation_event.
push esi
push 0x100
push 5
push 0x207
push str.d:_awixwix_src_burnenginecabextract.cpp
call fcn.004012a1
add esp, 0x18
jmp 0x439a74
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x4396fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4396cd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4396d4
mov esi, 0x80004005
push esi
push 0x20b
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_reset_begin_operation_event.
push esi
push 0x100
push 5
push 0x20b
jmp 0x439a68
mov eax, dword [ebx + 0x2c]
sub eax, 1
je 0x439742
sub eax, 4
je 0x439738
mov eax, 0x8007139f
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push eax
push 0x219
push edi
mov esi, eax
call fcn.0040129e
push str.Invalid_operation_for_this_state.
push esi
push 0x100
push 5
push 0x219
jmp 0x439a68
mov esi, 0x80004004
jmp 0x439a74
mov edi, dword [ebp + 0xc]
push 0xfde9
push 0
push dword [edi + 4]
push dword [ebx + 0x34]
call fcn.0040396f
mov esi, eax
test esi, esi
jns 0x439784
push dword [edi + 4]
push str.Failed_to_copy_stream_name:__hs
push esi
push 0x100
push 5
push 0x21e
push str.d:_awixwix_src_burnenginecabextract.cpp
call fcn.004012a1
add esp, 0x1c
jmp 0x439a71
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x4397d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4397a8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4397af
mov esi, 0x80004005
push esi
push 0x223
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_set_operation_complete_event.
push esi
push 0x100
push 5
push 0x223
jmp 0x439a68
push 0xffffffffffffffff
push dword [ebx + 0x24]
call fcn.004017b5
mov esi, eax
test esi, esi
jns 0x439803
push str.Failed_to_wait_for_begin_operation_event.
push esi
push 0x100
push 5
push 0x228
push str.d:_awixwix_src_burnenginecabextract.cpp
jmp 0x439a69
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x439856
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439827
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43982e
mov esi, 0x80004005
push esi
push 0x22c
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_reset_begin_operation_event.
push esi
push 0x100
push 5
push 0x22c
jmp 0x439a68
mov eax, dword [ebx + 0x2c]
dec eax
sub eax, 1
je 0x4398fd
sub eax, 1
je 0x4398b2
sub eax, 1
je 0x4398ab
sub eax, 1
je 0x4398a1
mov eax, 0x8007139f
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push eax
push 0x262
push edi
mov esi, eax
call fcn.0040129e
push str.Invalid_operation_for_this_state.
push esi
push 0x100
push 5
push 0x262
jmp 0x439a68
mov esi, 0x80004004
jmp 0x439a71
xor edi, edi
jmp 0x439a74
push 1
push dword [edi]
call fcn.004073cd
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x4398ef
mov esi, 0x8007000e
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push esi
push 0x251
push edi
call fcn.0040129e
push str.Failed_to_allocate_buffer_for_stream.
push esi
push 0x100
push 5
push 0x251
jmp 0x439a68
mov eax, dword [edi]
and dword [ebx + 0x48], 0
mov dword [ebx + 0x44], eax
jmp 0x439a71
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebx + 0x3c], ecx
cmp ecx, 0xffffffff
jne 0x43996c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439939
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x439940
mov esi, 0x80004005
push esi
push 0x237
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push dword [ebx + 0x38]
push str.Failed_to_create_file:__ls
push esi
push 0x100
push 5
push 0x237
push edi
jmp 0x439777
mov eax, dword [edi]
xor edi, edi
push edi
push edi
cdq
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4399c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439997
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43999e
mov esi, 0x80004005
push esi
push 0x23e
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_set_file_pointer_to_end_of_file.
push esi
push 0x100
push 5
push 0x23e
jmp 0x439a68
push dword [ebx + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x439a16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4399ea
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4399f1
mov esi, 0x80004005
push esi
push 0x243
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_set_end_of_file.
push esi
push 0x100
push 5
push 0x243
jmp 0x439a68
push edi
push edi
push edi
push edi
push dword [ebx + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x439a71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x439a3e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x439a45
mov esi, 0x80004005
push esi
push 0x249
mov edi, str.d:_awixwix_src_burnenginecabextract.cpp
push edi
call fcn.0040129e
push str.Failed_to_set_file_pointer_to_beginning_of_file.
push esi
push 0x100
push 5
push 0x249
push edi
call fcn.004012a1
add esp, 0x18
xor edi, edi
inc edi
mov dword [ebx + 0x30], esi
test esi, esi
jns 0x439a7e
or edi, 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8