Function at 0x56f0e0
Capabilities:
Read file on windows
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x27c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor eax, eax
push 0x40004
push 0x42
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call ebx
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x56f673
push 0x46666
push 0x42
call edi
push eax
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
push 0
je 0x56f620
mov eax, dword [esp + 0x2a8]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x38], eax
push 0
je 0x56f5eb
push 0
push 0
call fcn.0058c670
push 0
push 0
push 0
mov dword [esp + 0x48], eax
call fcn.0058c670
mov ebx, dword [esp + 0x2a0]
mov ecx, dword [ebx + 0x24]
mov ebp, dword [ebx + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
xor edx, edx
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
cmp dword [esi + 0x20], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
je 0x56f216
push 0x104
lea edx, [ebx + 0x54]
push edx
lea eax, [esp + 0x8c]
push eax
call dword [0x5d2618]
lea ecx, [esp + 0x90]
add esp, 0xc
test ecx, ecx
mov word [esp + 0x28a], 0
je 0x56f1f9
mov edx, ecx
push edx
call dword [0x5d2620]
add esp, 4
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x84]
push eax
call fcn.00597b50
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
push 0xaaaaaa0
call dword [edx + 0xc]
test ebp, ebp
jl 0x56f51f
jg 0x56f22c
mov eax, dword [esp + 0x28]
test eax, eax
jbe 0x56f51f
push 0x38
push str.1.1.3
push 0xfffffffffffffff1
lea eax, [esp + 0x50]
push eax
call fcn.00589030
test eax, eax
jne 0x56f5cb
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x29c]
mov ebp, dword [esp + 0x298]
mov dword [esp + 0x54], 0x46666
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x56f3c9
mov eax, dword [esp + 0x28]
jg 0x56f28b
test eax, eax
jbe 0x56f3c9
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x56f3d1
test ecx, ecx
jl 0x56f2ab
jg 0x56f2a4
cmp eax, 0x40000
jbe 0x56f2ab
mov eax, 0x40000
xor ecx, ecx
xor edi, edi
cmp ebx, ecx
jg 0x56f2c5
jl 0x56f2b7
cmp ebp, eax
ja 0x56f2c5
mov eax, ebp
mov dword [esp + 0x80], ebx
mov edi, 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
push 0
je 0x56f2dd
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
jmp 0x56f2f0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push eax
mov eax, dword [esp + 0x29c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x56f4b7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.0058c670
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
sub edx, eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
sbb edx, ecx
sub ebp, eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
sbb ebx, ecx
test edi, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x298], ebp
je 0x56f3d1
mov edi, dword [esp + 0x294]
cmp edi, dword [esi + 0x10a8]
jge 0x56f3d1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x56f36d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x84]
push eax
inc edi
push edi
lea ecx, [esi + 0x868]
push ecx
mov ecx, esi
mov dword [esp + 0x2a0], edi
call fcn.0056a300
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x56f49a
push eax
call fcn.00448940
mov ebp, eax
mov dword [esp + 0x298], ebp
mov ebx, edx
jmp 0x56f3d1
mov dword [esp + 0x48], 1
push 0
lea eax, [esp + 0x48]
push eax
call fcn.00589150
mov edi, eax
test edi, edi
je 0x56f3ec
cmp edi, 1
jne 0x56f4d4
mov ecx, dword [esp + 0x54]
cmp ecx, 0x46666
jae 0x56f487
mov edx, dword [esp + 0x20]
push 0
mov eax, 0x46666
sub eax, ecx
lea ecx, [esp + 0x44]
push ecx
push eax
mov eax, dword [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x56f4d4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.0058c670
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
xor edx, edx
add ecx, eax
mov dword [esp + 0x18], ecx
adc dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x20]
test ecx, ecx
mov dword [esp + 0x54], 0x46666
je 0x56f487
mov ebp, dword [ecx]
push edx
push eax
call dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
call fcn.005979b0
cmp eax, 0x8004e00c
mov dword [esp + 0x10], eax
je 0x56f4ef
mov ebp, dword [esp + 0x298]
cmp edi, 1
je 0x56f4ef
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x56f271
jmp 0x56f4ef
push 0
push str.ExtractInternalZipCompression
push 0xaaaaaaa4
mov ecx, esi
call fcn.0056a380
mov dword [esp + 0x10], 0x8004e00d
jmp 0x56f4ef
push 0
push str.ExtractInternalZipCompression
push 0xaaaaaaaa
mov ecx, esi
call fcn.0056a380
mov dword [esp + 0x10], 0x8004e008
jmp 0x56f4ef
push 0
push str.ExtractInternalZipCompression
mov ecx, esi
push 0xaaaaaaa9
call fcn.0056a380
mov dword [esp + 0x10], 0x8004e009
lea edx, [esp + 0x44]
push edx
call fcn.00588fe0
test eax, eax
je 0x56f518
push 0
push str.ExtractInternalZipCompression
push 0xaaaaaaa9
mov ecx, esi
call fcn.0056a380
mov dword [esp + 0x10], 0x8004e009
mov ebx, dword [esp + 0x2a0]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x56f54b
mov edx, dword [ebx + 0x2c]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
sub edx, edi
mov edi, dword [ebx + 0x30]
sbb edi, ebp
mov ecx, eax
mov eax, dword [ecx]
push edi
push edx
call dword [eax + 0x10]
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
push 0
call dword [eax + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x56f5b6
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x20], edx
push ecx
mov edx, eax
mov eax, dword [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x2a4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x3c]
cmp eax, dword [ebx + 0x20]
jne 0x56f59b
mov ecx, dword [esp + 0x30]
cmp ecx, dword [ebx + 0x1c]
je 0x56f5b6
push 0
push str.ExtractInternalZipCompression
push 0xaaaaaaaf
mov ecx, esi
call fcn.0056a380
mov dword [esp + 0x10], 0x8004e00b
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
jmp 0x56f604
push 0
push str.ExtractInternalZipCompression
push 0xaaaaaaa3
mov ecx, esi
call fcn.0056a380
mov dword [esp + 0x10], 0x8007000e
jmp 0x56f51f
push str.ExtractInternalZipCompression
push 0xaaaaaaa2
mov ecx, esi
call fcn.0056a380
mov dword [esp + 0x10], 0x8004e006
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x56f63f
push str.ExtractInternalZipCompression
push 0xaaaaaaa3
mov ecx, esi
call fcn.0056a380
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esp + 0x10], 0x8007000e
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x56f662
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27c
ret 0x18
push 0
push str.ExtractInternalZipCompression
push 0xaaaaaaa3
mov ecx, esi
call fcn.0056a380
pop edi
pop esi
pop ebp
mov eax, 0x8007000e
pop ebx
add esp, 0x27c
ret 0x18