Function at 0x1003b4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d4
mov eax, dword [0x10119540]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
call sym.archiveint.dll__archive_entry_sourcepath_w_4
test eax, eax
jne 0x1003b51b
push edi
call sym.archiveint.dll__archive_entry_pathname_w_4
test eax, eax
jne 0x1003b51b
push 0x10013744
push 0x16
push ebx
call sym.archiveint.dll_archive_set_error
add esp, 0xc
push 0xffffffffffffffe7
pop eax
jmp 0x1003b858
mov ecx, eax
call fcn.10069d6e
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x1003b6a7
test esi, esi
js 0x1003b581
push esi
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__get_osfhandle]
mov esi, eax
lea eax, [esp + 0x58]
pop ecx
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileInformationByHandle]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1003b571
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1006a813
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push 0x10013774
push dword [eax]
jmp 0x1003b50a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
push 0
jmp 0x1003b696
lea eax, [esp + 0x88]
push eax
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x1003b5af
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1006a813
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push 0x10013798
jmp 0x1003b56d
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
cmp byte [ebx + 0x65], 0
mov esi, 0x2000000
mov eax, dword [esp + 0x88]
jne 0x1003b5e5
test eax, 0x400
je 0x1003b5e5
cmp dword [esp + 0xac], 0xa000000c
jne 0x1003b5e5
mov esi, 0x2200000
xor edx, edx
jmp 0x1003b5f0
not al
movzx edx, al
and edx, 0xfffffff0
shl edx, 0x1b
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 3
push 7
push edx
push edi
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x40], esi
call dword [sym.imp.api_ms_win_core_file_l1_2_0.dll_CreateFile2]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003b640
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1006a813
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push 0x100137b0
jmp 0x1003b56d
lea eax, [esp + 0x54]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileInformationByHandle]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1003b683
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1006a813
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push 0x10013774
push dword [eax]
push ebx
call sym.archiveint.dll_archive_set_error
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1003b513
lea eax, [esp + 0x54]
mov edx, edi
mov edi, dword [esp + 0x20]
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, edi
call fcn.1003b0c5
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jmp 0x1003b6d2
push eax
push edi
call sym.archiveint.dll__archive_entry_copy_stat_8
mov eax, dword [ebp + 0x14]
mov ecx, 0xa000
test word [eax + 6], cx
je 0x1003b6c7
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.10038c7e
mov eax, dword [esp + 0x20]
or esi, 0xffffffff
mov dword [esp + 0x18], eax
push dword [edi + 0x74]
push dword [edi + 0x70]
push ebx
call sym.archiveint.dll__archive_read_disk_uname_12
test eax, eax
je 0x1003b6e9
push eax
push edi
call sym.archiveint.dll__archive_entry_copy_uname_8
push dword [edi + 0x54]
push dword [edi + 0x50]
push ebx
call sym.archiveint.dll__archive_read_disk_gname_12
test eax, eax
je 0x1003b700
push eax
push edi
call sym.archiveint.dll__archive_entry_copy_gname_8
test byte [ebx + 0x78], 0x40
jne 0x1003b718
mov eax, dword [esp + 0x1c]
and eax, 7
je 0x1003b718
push 0
push eax
push edi
call sym.archiveint.dll__archive_entry_set_fflags_12
mov ax, word [edi + 0x2e4]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x8000
cmp ax, cx
jne 0x1003b843
cmp dword [edi + 0x6c], 0
jl 0x1003b843
jg 0x1003b74b
cmp dword [edi + 0x68], 0
jbe 0x1003b843
push edi
call sym.archiveint.dll__archive_entry_hardlink_4
test eax, eax
jne 0x1003b843
cmp esi, 0xffffffff
jne 0x1003b80e
mov eax, dword [esp + 0x10]
test eax, eax
js 0x1003b776
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__get_osfhandle]
pop ecx
mov esi, eax
jmp 0x1003b7b8
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x18
push eax
push 3
push 7
push 0x80000000
push dword [esp + 0x24]
mov dword [esp + 0x58], 0x2000000
call dword [sym.imp.api_ms_win_core_file_l1_2_0.dll_CreateFile2]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003b623
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x54]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileInformationByHandle]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1003b808
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1006a813
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
push 0x10013774
push dword [eax]
push ebx
call sym.archiveint.dll_archive_set_error
add esp, 0xc
cmp esi, 0xffffffff
je 0x1003b513
cmp dword [esp + 0x10], 0
jge 0x1003b513
jmp 0x1003b677
mov eax, dword [esp + 0x54]
jmp 0x1003b812
mov eax, dword [esp + 0x1c]
test eax, 0x200
je 0x1003b848
test byte [ebx + 0x78], 0x80
jne 0x1003b83b
push esi
mov edx, edi
mov ecx, ebx
call fcn.1003b875
cmp dword [esp + 0x10], 0
mov edi, eax
jge 0x1003b83f
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x1003b83f
mov edi, dword [esp + 0x18]
mov eax, edi
jmp 0x1003b858
cmp esi, 0xffffffff
je 0x1003b856
cmp dword [esp + 0x10], 0
jge 0x1003b856
push esi
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100913c0
mov esp, ebp
pop ebp
ret 0x10