Function at 0x100065f6
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x10017014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x10006627
push 0x10010598
call fcn.1000150d
pop ecx
xor eax, eax
jmp 0x100066b0
push edi
push esi
push str.wbxtra_zipFile_start__lpszFilePath___s
call fcn.1000150d
mov edi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
push 0
push esi
call edi
add esp, 0x10
test eax, eax
jne 0x100066ad
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x414]
push 0x104
push eax
call esi
add esp, 0x18
xor eax, eax
push eax
push 0x80
push 3
push eax
push eax
push 0x80000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100066be
lea eax, [ebp - 0x414]
push eax
push str.wbxtra_zipFile__file_is_in_using___s_r_n
call fcn.1000150d
pop ecx
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100085db
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x208
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x82c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x864]
lea eax, [ebp - 0x82c]
push 0x104
push eax
call esi
add esp, 0x24
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..zip
lea eax, [ebp - 0x82c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test ebx, ebx
jne 0x10006767
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x10006779
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x10006955
mov ebx, 0x105
lea eax, [ebp - 0x51c]
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
lea eax, [ebp - 0x624]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x51c]
push esi
push esi
push ebx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call esi
xor ecx, ecx
mov edi, eax
push ecx
push ecx
push ebx
lea eax, [ebp - 0x624]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x864]
push ecx
push ecx
call esi
test edi, edi
je 0x100066ad
test eax, eax
je 0x100066ad
xor esi, esi
lea eax, [ebp - 0x51c]
push esi
push eax
call fcn.100073b0
pop ecx
mov ebx, eax
lea eax, [ebp - 0x83c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0x24
lea eax, [ebp - 0x860]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebp - 0x83c]
mov dword [ebp - 0x84c], eax
movzx eax, word [ebp - 0x83a]
push 0xffffffffffffffff
mov dword [ebp - 0x850], eax
movzx eax, word [ebp - 0x836]
push 8
mov dword [ebp - 0x854], eax
movzx eax, word [ebp - 0x834]
push esi
mov dword [ebp - 0x858], eax
movzx eax, word [ebp - 0x832]
push esi
push esi
mov dword [ebp - 0x85c], eax
movzx eax, word [ebp - 0x830]
push esi
mov dword [ebp - 0x860], eax
lea eax, [ebp - 0x860]
push esi
push eax
lea eax, [ebp - 0x624]
push eax
push ebx
call fcn.100077f0
add esp, 0x34
test eax, eax
jne 0x10006941
push esi
push esi
push 3
push esi
push 1
push 0x80000000
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10006933
push 0x100000
call fcn.100085cd
and dword [ebp - 0x864], 0
mov esi, eax
pop ecx
push 0
lea eax, [ebp - 0x864]
push eax
push 0x100000
jmp 0x1000691e
push dword [ebp - 0x864]
push esi
push ebx
call fcn.10007dd0
mov ecx, 0x100000
add esp, 0xc
cmp dword [ebp - 0x864], ecx
jb 0x1000692a
push 0
lea eax, [ebp - 0x864]
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100068f7
push esi
call fcn.100085d6
pop ecx
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.100070e0
pop ecx
push esi
push ebx
call fcn.10006ee0
push str.wbxtra_zipFile_end
call fcn.1000150d
add esp, 0xc
xor eax, eax
inc eax
jmp 0x100066af