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

Disassembly:
mov eax, 0x7ff93c22
call fcn.7ff890d8
sub esp, 0x3d4
mov dword [ebp - 0x10], 1
and dword [ebp - 0x24], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 3
and eax, 3
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.7ff61550
cmp dword [ebp - 0x1c], 0
je 0x7ff651f4
cmp dword [ebp - 0x1c], 2
jne 0x7ff6531c
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x20]
call dword [0x7ff9607c]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0xffffffff
je 0x7ff6531c
push dword [ebp - 0x168]
call dword [0x7ff96078]
cmp dword [ebp - 0x1c], 2
jne 0x7ff65253
and byte [ebp - 0x300], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ff86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ff86114
mov al, byte [ebp - 0x300]
jmp 0x7ff65a03
push 1
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0x20]
call fcn.7ff650fb
add esp, 0xc
movzx eax, al
test eax, eax
je 0x7ff652da
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x330], eax
push 0
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x330]
call fcn.7ff650fb
add esp, 0xc
movzx eax, al
test eax, eax
je 0x7ff652da
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x170]
push eax
call dword [0x7ff961b0]
test eax, eax
jg 0x7ff652da
and byte [ebp - 0x304], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ff86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ff86114
mov al, byte [ebp - 0x304]
jmp 0x7ff65a03
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
call dword [0x7ff961b0]
test eax, eax
jg 0x7ff6531c
and byte [ebp - 0x308], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ff86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ff86114
mov al, byte [ebp - 0x308]
jmp 0x7ff65a03
mov dword [ebp - 0x18], 0x80
mov eax, dword [0x7ffa59a4]
and eax, 4
test eax, eax
je 0x7ff65343
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
jne 0x7ff65343
mov dword [ebp - 0x18], 2
cmp dword [ebp + 0xc], 0
je 0x7ff653d6
and dword [ebp - 0x17c], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.7ff883fa
pop ecx
pop ecx
push dword [ebp - 0x17c]
push str.Extracting__s...
lea eax, [ebp - 0x30c]
push eax
call fcn.7ff85dd0
add esp, 0xc
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x334]
mov eax, dword [eax]
mov dword [ebp - 0x338], eax
push dword [ebp - 0x338]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30c]
call fcn.7ff86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.7ff86114
push 0
push dword [ebp - 0x18]
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x20]
call dword [0x7ff960a8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x7ff654b7
and dword [ebp - 0x2c8], 0
mov byte [ebp - 4], 4
push 0
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.7ff884fe
add esp, 0xc
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c8]
call dword [0x7ff9607c]
mov dword [ebp - 0x180], eax
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x180], 0xffffffff
je 0x7ff6546a
push dword [ebp - 0x180]
call dword [0x7ff96078]
mov eax, dword [ebp - 0x2c4]
and eax, 0x10
test eax, eax
jne 0x7ff65468
mov dword [ebp - 0x184], 1
jmp 0x7ff65474
mov dword [ebp - 0x184], 1
cmp dword [ebp - 0x184], 0
je 0x7ff6548c
push 0
push dword [ebp - 0x2c8]
call fcn.7ff7cfdc
pop ecx
pop ecx
push 0
push dword [ebp - 0x18]
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x20]
call dword [0x7ff960a8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
call fcn.7ff86114
cmp dword [ebp - 0x14], 0xffffffff
jne 0x7ff65507
push dword [ebp - 0x20]
push str.Unable_to_extract__s_nWrite_Permission_denied
lea eax, [ebp - 0x310]
push eax
call fcn.7ff85dd0
add esp, 0xc
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3bc]
mov dword [ebp - 0x3c0], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x3c0]
lea ecx, [ebp - 0x24]
call fcn.7ff8603d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
call fcn.7ff86114
cmp dword [ebp - 0x14], 0
je 0x7ff659c2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x13
and eax, 3
cmp eax, 1
jne 0x7ff65530
push 3
push dword [ebp - 0x20]
call fcn.7ff7cad2
pop ecx
pop ecx
jmp 0x7ff65590
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x13
and eax, 3
test eax, eax
jne 0x7ff6554e
push 0
push dword [ebp - 0x20]
call fcn.7ff7cad2
pop ecx
pop ecx
jmp 0x7ff65590
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
jne 0x7ff65569
mov eax, dword [0x7ffa59a4]
and eax, 0x100000
test eax, eax
jne 0x7ff65584
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
je 0x7ff65590
mov eax, dword [0x7ffa59a4]
and eax, 0x80000
test eax, eax
je 0x7ff65590
push 0
push dword [ebp - 0x20]
call fcn.7ff7cad2
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [0x7ffa5e10]
call dword [0x7ff960a8]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0xffffffff
jne 0x7ff655f0
push dword [ebp - 0x14]
call dword [0x7ff960b8]
and byte [ebp - 0x314], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ff86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ff86114
mov al, byte [ebp - 0x314]
jmp 0x7ff65a03
push 0
push 0
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
push dword [ebp - 0x2f0]
call dword [0x7ff960e0]
mov al, byte [ebp - 0x318]
mov byte [ebp - 0x2d8], al
and dword [ebp - 0x2d4], 0
and dword [ebp - 0x2d0], 0
and dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 6
mov al, byte [ebp - 0x31c]
mov byte [ebp - 0x2e8], al
and dword [ebp - 0x2e4], 0
and dword [ebp - 0x2e0], 0
and dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 7
and dword [ebp - 0x2ec], 0
and dword [ebp - 0x2f4], 0
jmp 0x7ff6566d
mov eax, dword [ebp - 0x2f4]
inc eax
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x24], 0
jne 0x7ff65972
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
cmp dword [eax + 4], 0
jne 0x7ff65698
and dword [ebp - 0x3c4], 0
jmp 0x7ff656b3
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0x33c]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 4]
sar eax, 4
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x2f4]
cmp eax, dword [ebp - 0x3c4]
jae 0x7ff65972
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x2f4]
shl eax, 4
mov ecx, dword [ebp - 0x340]
add ecx, eax
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2d4], 0
jne 0x7ff656fa
and dword [ebp - 0x3c8], 0
jmp 0x7ff6570c
mov eax, dword [ebp - 0x2d0]
sub eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x3c8]
cmp ecx, dword [eax + 0xc]
jae 0x7ff6573f
and byte [ebp - 0x320], 0
lea eax, [ebp - 0x320]
push eax
mov eax, dword [ebp - 0x2fc]
push dword [eax + 0xc]
lea ecx, [ebp - 0x2d8]
call fcn.7ff85327
cmp dword [ebp - 0x2e4], 0
jne 0x7ff65751
and dword [ebp - 0x3cc], 0
jmp 0x7ff65763
mov eax, dword [ebp - 0x2e0]
sub eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x3cc]
cmp ecx, dword [eax + 8]
jae 0x7ff65796
and byte [ebp - 0x324], 0
lea eax, [ebp - 0x324]
push eax
mov eax, dword [ebp - 0x2fc]
push dword [eax + 8]
lea ecx, [ebp - 0x2e8]
call fcn.7ff85327
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x38c], eax
push 0
lea eax, [ebp - 0x2f8]
push eax
mov eax, dword [ebp - 0x2fc]
push dword [eax + 0xc]
push dword [ebp - 0x38c]
push dword [ebp - 0x2f0]
call dword [0x7ff96040]
test eax, eax
jne 0x7ff6581f
push dword [0x7ffa5e10]
push dword [ebp - 0x20]
push str.While_extracting__s__failed_to_read_from__s
lea eax, [ebp - 0x328]
push eax
call fcn.7ff85dd0
add esp, 0x10
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d4], eax
mov byte [ebp - 4], 8
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x24]
call fcn.7ff8603d
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x328]
call fcn.7ff86114
jmp 0x7ff65912
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x2fc]
push dword [eax + 8]
push dword [ebp - 0x390]
push dword [ebp - 0x2f8]
push dword [ebp - 0x394]
call fcn.7ff83529
add esp, 0x10
push dword [ebp - 0x2ec]
lea eax, [ebp - 0x2e8]
push eax
push dword [ebp + 8]
call fcn.7ff647cf
add esp, 0xc
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x398], eax
push 0
lea eax, [ebp - 0x2f8]
push eax
mov eax, dword [ebp - 0x2fc]
push dword [eax + 8]
push dword [ebp - 0x398]
push dword [ebp - 0x14]
call dword [0x7ff962cc]
test eax, eax
je 0x7ff658b4
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2f8]
cmp ecx, dword [eax + 8]
je 0x7ff658fe
push dword [ebp - 0x20]
push str.Write_failed_while_extracting__s_nDisk_space_may_be_full
lea eax, [ebp - 0x32c]
push eax
call fcn.7ff85dd0
add esp, 0xc
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x3dc], eax
mov byte [ebp - 4], 9
push dword [ebp - 0x3dc]
lea ecx, [ebp - 0x24]
call fcn.7ff8603d
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x32c]
call fcn.7ff86114
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2ec]
add ecx, dword [eax]
mov dword [ebp - 0x2ec], ecx
cmp dword [ebp + 0xc], 0
je 0x7ff6596d
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
cmp dword [eax + 4], 0
jne 0x7ff65939
and dword [ebp - 0x3e0], 0
jmp 0x7ff65954
mov eax, dword [ebp - 0x39c]
mov ecx, dword [ebp - 0x39c]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 4]
sar eax, 4
mov dword [ebp - 0x3e0], eax
push dword [ebp - 0x3e0]
mov eax, dword [ebp - 0x2f4]
inc eax
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 4]
jmp 0x7ff65660
push dword [ebp - 0x2f0]
call dword [0x7ff960b8]
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
push dword [ebp - 0x14]
call fcn.7ff66bd0
push dword [ebp - 0x14]
call dword [0x7ff960b8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.7ff54455
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
call fcn.7ff54455
cmp dword [ebp - 0x24], 0
je 0x7ff659df
cmp dword [ebp + 0xc], 0
je 0x7ff659df
push dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
call dword [eax + 8]
mov dword [ebp - 0x10], eax
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ff86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ff86114
cmp dword [ebp - 0x10], 0
je 0x7ff651b2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret