Function at 0x13b6530
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x14cd107
mov eax, dword fs:[0]
push eax
mov eax, 0x208c
call fcn.01465d10
mov eax, dword [0x15316ec]
xor eax, esp
mov dword [esp + 0x2088], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x15316ec]
xor eax, esp
push eax
lea eax, [esp + 0x20a0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20b0]
xor eax, eax
mov esi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], eax
mov byte [esp + 0x2c], al
push ebp
xor edx, edx
lea ebx, [esp + 0x30]
mov dword [esp + 0x20ac], eax
call fcn.013b72a0
test al, al
jne 0x13b65cb
mov dword [esp + 0x20a8], 0xffffffff
cmp dword [esp + 0x40], 0x10
jb 0x13b65c4
mov eax, dword [esp + 0x2c]
push eax
call fcn.01458a36
add esp, 4
xor al, al
jmp 0x13b6a1b
mov edi, ebp
call fcn.013b76b0
test al, al
jne 0x13b65fc
mov dword [esp + 0x20a8], 0xffffffff
cmp dword [esp + 0x40], 0x10
jb 0x13b65c4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.01458a36
add esp, 4
xor al, al
jmp 0x13b6a1b
mov ecx, dword [esp + 0x2c]
mov edi, 0x10
cmp dword [esp + 0x40], edi
jae 0x13b660f
lea ecx, [esp + 0x2c]
mov edx, dword [ebp + 0x38]
push edx
call fcn.013b54a0
add esp, 4
test eax, eax
je 0x13b6644
mov dword [esp + 0x20a8], 0xffffffff
cmp dword [esp + 0x40], edi
jb 0x13b65c4
mov eax, dword [esp + 0x2c]
push eax
call fcn.01458a36
add esp, 4
xor al, al
jmp 0x13b6a1b
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x13b67c0
mov ecx, ebp
call fcn.013b7530
test al, al
je 0x13b6727
mov eax, 0xf
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov byte [esp + 0x20a8], 2
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x13b6691
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x4c]
call fcn.013ac600
mov ecx, dword [esp + 0x4c]
add esp, 4
cmp dword [esp + 0x5c], edi
jae 0x13b66b0
lea ecx, [esp + 0x48]
cmp dword [ebp + 0x14], edi
jb 0x13b66ba
mov eax, dword [ebp]
jmp 0x13b66bc
mov eax, ebp
push ebx
push ecx
push eax
lea esi, [esp + 0x8c]
call fcn.013ac550
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x20ac], 3
call fcn.01317740
mov ecx, esi
mov byte [esp + 0x20a8], 2
call fcn.013d0ca0
cmp dword [esp + 0x5c], edi
mov edi, dword [esp + 0x48]
jae 0x13b66fd
lea edi, [esp + 0x48]
call fcn.013ac7e0
test al, al
jne 0x13b6742
lea ecx, [esp + 0x64]
mov byte [esp + 0x20a8], 1
call fcn.013d0ca0
lea ecx, [esp + 0x48]
mov byte [esp + 0x20a8], bl
call fcn.013d0ca0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20a8], 0xffffffff
call fcn.013d0ca0
xor al, al
jmp 0x13b6a1b
mov ecx, dword [esp + 0x64]
mov eax, 0x10
cmp dword [esp + 0x78], eax
jae 0x13b6755
lea ecx, [esp + 0x64]
cmp dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
jae 0x13b6763
lea eax, [esp + 0x48]
push ebx
push ecx
push eax
lea esi, [esp + 0x8c]
call fcn.013ac550
add esp, 0xc
mov ecx, dword [esp + 0x24]
push eax
mov byte [esp + 0x20ac], 4
call fcn.01317740
mov ecx, esi
mov byte [esp + 0x20a8], 2
call fcn.013d0ca0
lea ecx, [esp + 0x64]
mov byte [esp + 0x20a8], 1
call fcn.013d0ca0
lea ecx, [esp + 0x48]
mov byte [esp + 0x20a8], bl
call fcn.013d0ca0
mov esi, dword [esp + 0x24]
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x13b67c9
mov ecx, dword [esi]
jmp 0x13b67cb
mov ecx, esi
call fcn.013b9da0
cmp dword [esi + 0x14], edi
jb 0x13b67d9
mov ecx, dword [esi]
jmp 0x13b67db
mov ecx, esi
call fcn.013b9af0
mov edi, eax
mov dword [esp + 0x28], edi
cmp edi, ebx
jne 0x13b6821
cmp dword [esi + 0x14], 0x10
jb 0x13b67f2
mov esi, dword [esi]
push esi
push str.Cant_open_file__s_for_writing.
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetzip_file_manager.cc
mov dword [esp + 0x28], 0x1ae
call fcn.013a1eb0
add esp, 8
jmp 0x13b6727
mov eax, dword [ebp + 0x38]
push eax
call fcn.0142c210
add esp, 4
test eax, eax
je 0x13b6884
lea eax, [ebp + 0x1c]
mov ecx, 0x10
cmp dword [eax + 0x14], ecx
jb 0x13b6840
mov eax, dword [eax]
cmp dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
jae 0x13b684e
lea ecx, [esp + 0x2c]
push eax
push ecx
push str.Cant_open_file__s_for_reading_in_zip_archive__s.
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetzip_file_manager.cc
mov dword [esp + 0x2c], 0x1b3
call fcn.013a1eb0
push edi
call fcn.0145a768
add esp, 0x10
jmp 0x13b6727
mov ecx, dword [ebp + 0x38]
lea eax, [esp + 0x9c]
push eax
push ecx
mov ecx, 0x2000
mov byte [esp + 0x1f], 1
call fcn.0142c3b0
add esp, 8
mov edi, str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetzip_file_manager.cc
cmp eax, ebx
jle 0x13b68f0
jmp 0x13b68b0
mov edx, dword [esp + 0x28]
push edx
push 1
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.014b39cb
add esp, 0x10
cmp eax, 1
jne 0x13b699a
mov edx, dword [ebp + 0x38]
lea ecx, [esp + 0x9c]
push ecx
push edx
mov ecx, 0x2000
call fcn.0142c3b0
add esp, 8
cmp eax, ebx
jg 0x13b68b0
cmp eax, ebx
jge 0x13b693e
lea eax, [ebp + 0x1c]
mov ecx, 0x10
cmp dword [eax + 0x14], ecx
jb 0x13b6901
mov eax, dword [eax]
cmp dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
jae 0x13b690f
lea ecx, [esp + 0x2c]
push eax
push ecx
push str.Error_reading_file:__s_in_zip_archive__s
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x1c5
call fcn.013a1eb0
add esp, 0xc
mov byte [esp + 0x17], bl
mov esi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x38]
call fcn.0142c620
test eax, eax
je 0x13b69d1
lea eax, [ebp + 0x1c]
mov ebp, 0x10
cmp dword [eax + 0x14], ebp
jb 0x13b695d
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x40], ebp
jae 0x13b696b
lea ecx, [esp + 0x2c]
push eax
push ecx
push str.CRC_error_in_file:__s_in_zip_file:__s
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x1cf
call fcn.013a1eb0
mov esi, dword [esp + 0x30]
add esp, 0xc
xor bl, bl
jmp 0x13b69da
cmp dword [esi + 0x14], 0x10
mov byte [esp + 0x17], bl
jb 0x13b69a6
mov esi, dword [esi]
push esi
push str.Error_when_writing_to_file__s
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x1c1
call fcn.013a1eb0
add esp, 8
jmp 0x13b693a
mov bl, byte [esp + 0x17]
mov ebp, 0x10
mov eax, dword [esp + 0x28]
push eax
call fcn.0145a768
add esp, 4
test eax, eax
jne 0x13b69f3
test bl, bl
je 0x13b69f3
mov bl, 1
jmp 0x13b6a05
xor bl, bl
cmp dword [esi + 0x14], ebp
jb 0x13b69fe
mov ecx, dword [esi]
jmp 0x13b6a00
mov ecx, esi
call fcn.013b9da0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20a8], 0xffffffff
call fcn.013d0ca0
mov al, bl
mov ecx, dword [esp + 0x20a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2088]
xor ecx, esp
call fcn.01458a41
add esp, 0x2098
ret 4