Function at 0x4094f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4252e4
mov eax, dword fs:[0]
push eax
mov eax, 0x15d0
call fcn.0040fde0
mov eax, dword [0x42f4ec]
xor eax, esp
mov dword [esp + 0x15cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f4ec]
xor eax, esp
push eax
lea eax, [esp + 0x15e4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15f4]
mov esi, dword [esp + 0x15f8]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x400
lea ecx, [esp + 0x11f4]
push ecx
lea edx, [esp + 0x154]
push edx
push eax
mov dword [esp + 0x38], eax
call fcn.004025a0
mov ebp, eax
add esp, 0x20
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je 0x40964e
push 1
push 2
lea ecx, [esp + 0xc4]
call fcn.00408d30
push str._with_zipfile_in_unzGetCurrentFileInfo
push ebp
lea eax, [esp + 0xc4]
push str.error
push eax
mov dword [esp + 0x15fc], ebx
call fcn.004089c0
add esp, 8
mov ecx, eax
call fcn.00408bd0
push eax
call fcn.004089c0
add esp, 8
lea ecx, [esp + 0x118c]
push ecx
lea ecx, [esp + 0xc0]
call fcn.00406c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x15ec], 1
jb 0x4095e0
mov eax, dword [eax + 4]
jmp 0x4095e3
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x1b
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00407730
mov ecx, eax
call fcn.0040ba60
cmp dword [esp + 0x11a4], esi
jb 0x40961a
mov edx, dword [esp + 0x1190]
push edx
call fcn.0040e776
add esp, 4
lea ecx, [esp + 0x108]
mov dword [esp + 0x15ec], 0xffffffff
call fcn.00405f00
lea eax, [esp + 0x108]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040e519
jmp 0x409ac0
cmp byte [esp + 0x11e0], bl
lea ecx, [esp + 0x11e0]
mov dword [esp + 0x1c], ecx
mov edi, ecx
je 0x40979f
xor ebp, ebp
lea ebx, [ebx]
mov al, byte [edi]
cmp al, 0x2f
je 0x40967e
cmp al, 0x5c
jne 0x40978d
push ebp
lea edx, [esp + 0x11e4]
push edx
lea ecx, [esp + 0x1194]
mov dword [esp + 0x11ac], 0xf
mov dword [esp + 0x11a8], ebx
mov byte [esp + 0x1198], bl
call fcn.00401830
mov eax, esi
mov dword [esp + 0x15ec], 2
mov dword [esp + 0x11dc], 0xf
mov dword [esp + 0x11d8], ebx
mov byte [esp + 0x11c8], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4096d5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x11cc]
call fcn.00401830
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1194]
push eax
lea ecx, [esp + 0x11d0]
mov byte [esp + 0x15f8], 3
call fcn.00401520
cmp dword [esp + 0x11dc], 0x10
mov eax, dword [esp + 0x11c8]
jae 0x409725
lea eax, [esp + 0x11c8]
push eax
call fcn.00424c8e
add esp, 4
cmp dword [esp + 0x11dc], 0x10
lea ecx, [edi + 1]
mov dword [esp + 0x1c], ecx
jb 0x40974f
mov edx, dword [esp + 0x11c8]
push edx
call fcn.0040e776
add esp, 4
cmp dword [esp + 0x11a4], 0x10
mov dword [esp + 0x11dc], 0xf
mov dword [esp + 0x11d8], ebx
mov byte [esp + 0x11c8], bl
mov dword [esp + 0x15ec], 0xffffffff
jb 0x40978d
mov eax, dword [esp + 0x1190]
push eax
call fcn.0040e776
add esp, 4
add edi, 1
add ebp, 1
cmp byte [edi], bl
jne 0x409670
mov ebp, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x11c0], 0xf
mov dword [esp + 0x11bc], ebx
mov byte [esp + 0x11ac], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4097c0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x11b0]
call fcn.00401830
lea eax, [esp + 0x11e0]
mov dword [esp + 0x15ec], 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4097f0
sub eax, edx
push eax
lea ecx, [esp + 0x11e4]
push ecx
lea ecx, [esp + 0x11b0]
call fcn.004013c0
mov edx, dword [esp + 0x1c]
cmp byte [edx], bl
jne 0x40983e
cmp dword [esp + 0x11c0], 0x10
mov eax, dword [esp + 0x11ac]
jae 0x409830
lea eax, [esp + 0x11ac]
push eax
call fcn.00424c8e
add esp, 4
jmp 0x409aa9
mov ebp, dword [esp + 0x18]
push ebp
call fcn.00402a30
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x409aa5
cmp dword [esp + 0x11c0], 0x10
mov eax, dword [esp + 0x11ac]
jae 0x40986f
lea eax, [esp + 0x11ac]
push 0x42c1dc
push eax
call fcn.0040fdc9
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x15ec], 5
je 0x4099cd
push 0x1000
lea eax, [esp + 0x190]
push eax
push ebp
call fcn.00402a40
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x409919
jle 0x4099cd
push edi
push 1
lea ecx, [esp + 0x194]
push esi
push ecx
call fcn.0040fc83
add esp, 0x10
cmp eax, 1
je 0x409893
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.00408d30
lea ecx, [esp + 0x20]
push str.error_in_writing_extracted_file
push ecx
mov byte [esp + 0x15f4], 8
call fcn.004089c0
add esp, 8
lea edx, [esp + 0x118c]
push edx
lea ecx, [esp + 0x24]
call fcn.00406c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 9
jb 0x40998f
mov eax, dword [eax + 4]
jmp 0x409992
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.00408d30
push str._with_zipfile_in_unzReadCurrentFile
push esi
lea edx, [esp + 0x28]
push str.error
push edx
mov byte [esp + 0x15fc], 6
call fcn.004089c0
add esp, 8
mov ecx, eax
call fcn.00408bd0
push eax
call fcn.004089c0
add esp, 8
lea eax, [esp + 0x118c]
push eax
lea ecx, [esp + 0x24]
call fcn.00406c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 7
jb 0x409982
mov eax, dword [eax + 4]
push eax
push str.BaseLib::do_extract_currentfile
push 0x4d
jmp 0x40999a
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x4d
jmp 0x40999a
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x55
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00407730
mov ecx, eax
call fcn.0040ba60
lea ecx, [esp + 0x118c]
call fcn.00401390
lea ecx, [esp + 0x20]
mov byte [esp + 0x15ec], 5
call fcn.00406150
push ebp
call fcn.00402cb0
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x409a98
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.00408d30
push str._with_zipfile_in_unzCloseCurrentFile
push esi
lea eax, [esp + 0x28]
push str.error
push eax
mov byte [esp + 0x15fc], 0xa
call fcn.004089c0
add esp, 8
mov ecx, eax
call fcn.00408bd0
push eax
call fcn.004089c0
add esp, 8
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x24]
call fcn.00406c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 0xb
jb 0x409a45
mov eax, dword [eax + 4]
jmp 0x409a48
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x61
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00407730
mov ecx, eax
call fcn.0040ba60
lea ecx, [esp + 0xa0]
call fcn.00401390
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15ec], 5
call fcn.00405f00
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x70], vtable.std::ios_base.0
call fcn.0040e519
add esp, 4
cmp edi, ebx
je 0x409aa5
push edi
call fcn.0040f344
add esp, 4
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x11c0], 0x10
jb 0x409ac3
mov eax, dword [esp + 0x11ac]
push eax
call fcn.0040e776
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x15e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15cc]
xor ecx, esp
call fcn.0040ea08
add esp, 0x15dc
ret