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

Disassembly:
mov eax, 0x7ef93c22
call fcn.7ef890d8
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.7ef61550
cmp dword [ebp - 0x1c], 0
je 0x7ef651f4
cmp dword [ebp - 0x1c], 2
jne 0x7ef6531c
lea eax, [ebp - 0x164]
push eax
push dword [ebp - 0x20]
call dword [0x7ef9607c]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0xffffffff
je 0x7ef6531c
push dword [ebp - 0x168]
call dword [0x7ef96078]
cmp dword [ebp - 0x1c], 2
jne 0x7ef65253
and byte [ebp - 0x300], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ef86114
mov al, byte [ebp - 0x300]
jmp 0x7ef65a03
push 1
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0x20]
call fcn.7ef650fb
add esp, 0xc
movzx eax, al
test eax, eax
je 0x7ef652da
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.7ef650fb
add esp, 0xc
movzx eax, al
test eax, eax
je 0x7ef652da
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x170]
push eax
call dword [0x7ef961b0]
test eax, eax
jg 0x7ef652da
and byte [ebp - 0x304], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ef86114
mov al, byte [ebp - 0x304]
jmp 0x7ef65a03
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
call dword [0x7ef961b0]
test eax, eax
jg 0x7ef6531c
and byte [ebp - 0x308], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ef86114
mov al, byte [ebp - 0x308]
jmp 0x7ef65a03
mov dword [ebp - 0x18], 0x80
mov eax, dword [0x7efa59a4]
and eax, 4
test eax, eax
je 0x7ef65343
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
jne 0x7ef65343
mov dword [ebp - 0x18], 2
cmp dword [ebp + 0xc], 0
je 0x7ef653d6
and dword [ebp - 0x17c], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.7ef883fa
pop ecx
pop ecx
push dword [ebp - 0x17c]
push str.Extracting__s...
lea eax, [ebp - 0x30c]
push eax
call fcn.7ef85dd0
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.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.7ef86114
push 0
push dword [ebp - 0x18]
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x20]
call dword [0x7ef960a8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x7ef654b7
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.7ef884fe
add esp, 0xc
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2c8]
call dword [0x7ef9607c]
mov dword [ebp - 0x180], eax
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x180], 0xffffffff
je 0x7ef6546a
push dword [ebp - 0x180]
call dword [0x7ef96078]
mov eax, dword [ebp - 0x2c4]
and eax, 0x10
test eax, eax
jne 0x7ef65468
mov dword [ebp - 0x184], 1
jmp 0x7ef65474
mov dword [ebp - 0x184], 1
cmp dword [ebp - 0x184], 0
je 0x7ef6548c
push 0
push dword [ebp - 0x2c8]
call fcn.7ef7cfdc
pop ecx
pop ecx
push 0
push dword [ebp - 0x18]
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x20]
call dword [0x7ef960a8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
call fcn.7ef86114
cmp dword [ebp - 0x14], 0xffffffff
jne 0x7ef65507
push dword [ebp - 0x20]
push str.Unable_to_extract__s_nWrite_Permission_denied
lea eax, [ebp - 0x310]
push eax
call fcn.7ef85dd0
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.7ef8603d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x310]
call fcn.7ef86114
cmp dword [ebp - 0x14], 0
je 0x7ef659c2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x13
and eax, 3
cmp eax, 1
jne 0x7ef65530
push 3
push dword [ebp - 0x20]
call fcn.7ef7cad2
pop ecx
pop ecx
jmp 0x7ef65590
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0x13
and eax, 3
test eax, eax
jne 0x7ef6554e
push 0
push dword [ebp - 0x20]
call fcn.7ef7cad2
pop ecx
pop ecx
jmp 0x7ef65590
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
jne 0x7ef65569
mov eax, dword [0x7efa59a4]
and eax, 0x100000
test eax, eax
jne 0x7ef65584
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 7
test eax, eax
je 0x7ef65590
mov eax, dword [0x7efa59a4]
and eax, 0x80000
test eax, eax
je 0x7ef65590
push 0
push dword [ebp - 0x20]
call fcn.7ef7cad2
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [0x7efa5e10]
call dword [0x7ef960a8]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0xffffffff
jne 0x7ef655f0
push dword [ebp - 0x14]
call dword [0x7ef960b8]
and byte [ebp - 0x314], 0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ef86114
mov al, byte [ebp - 0x314]
jmp 0x7ef65a03
push 0
push 0
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
push dword [ebp - 0x2f0]
call dword [0x7ef960e0]
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 0x7ef6566d
mov eax, dword [ebp - 0x2f4]
inc eax
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x24], 0
jne 0x7ef65972
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x33c]
cmp dword [eax + 4], 0
jne 0x7ef65698
and dword [ebp - 0x3c4], 0
jmp 0x7ef656b3
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 0x7ef65972
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 0x7ef656fa
and dword [ebp - 0x3c8], 0
jmp 0x7ef6570c
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 0x7ef6573f
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.7ef85327
cmp dword [ebp - 0x2e4], 0
jne 0x7ef65751
and dword [ebp - 0x3cc], 0
jmp 0x7ef65763
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 0x7ef65796
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.7ef85327
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 [0x7ef96040]
test eax, eax
jne 0x7ef6581f
push dword [0x7efa5e10]
push dword [ebp - 0x20]
push str.While_extracting__s__failed_to_read_from__s
lea eax, [ebp - 0x328]
push eax
call fcn.7ef85dd0
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.7ef8603d
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x328]
call fcn.7ef86114
jmp 0x7ef65912
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.7ef83529
add esp, 0x10
push dword [ebp - 0x2ec]
lea eax, [ebp - 0x2e8]
push eax
push dword [ebp + 8]
call fcn.7ef647cf
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 [0x7ef962cc]
test eax, eax
je 0x7ef658b4
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2f8]
cmp ecx, dword [eax + 8]
je 0x7ef658fe
push dword [ebp - 0x20]
push str.Write_failed_while_extracting__s_nDisk_space_may_be_full
lea eax, [ebp - 0x32c]
push eax
call fcn.7ef85dd0
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.7ef8603d
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x32c]
call fcn.7ef86114
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 0x7ef6596d
mov eax, dword [ebp + 8]
add eax, 0x4c
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x39c]
cmp dword [eax + 4], 0
jne 0x7ef65939
and dword [ebp - 0x3e0], 0
jmp 0x7ef65954
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 0x7ef65660
push dword [ebp - 0x2f0]
call dword [0x7ef960b8]
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.7ef66bd0
push dword [ebp - 0x14]
call dword [0x7ef960b8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.7ef54455
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
call fcn.7ef54455
cmp dword [ebp - 0x24], 0
je 0x7ef659df
cmp dword [ebp + 0xc], 0
je 0x7ef659df
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.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.7ef86114
cmp dword [ebp - 0x10], 0
je 0x7ef651b2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret