Function at 0x537c90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5dfe04
mov eax, dword fs:[0]
push eax
mov eax, 0x15d0
call fcn.005c2160
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x15cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
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.004fe850
mov ebp, eax
add esp, 0x20
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je 0x537dee
push 1
push 2
lea ecx, [esp + 0xc4]
call fcn.0040a750
push str._with_zipfile_in_unzGetCurrentFileInfo
push ebp
lea eax, [esp + 0xc4]
push str.error
push eax
mov dword [esp + 0x15fc], ebx
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.0041c7c0
push eax
call fcn.00409270
add esp, 8
lea ecx, [esp + 0x118c]
push ecx
lea ecx, [esp + 0xc0]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x15ec], 1
jb 0x537d80
mov eax, dword [eax + 4]
jmp 0x537d83
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x1b
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x11a4], esi
jb 0x537dba
mov edx, dword [esp + 0x1190]
push edx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x108]
mov dword [esp + 0x15ec], 0xffffffff
call fcn.00409510
lea eax, [esp + 0x108]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005d9cc4
jmp 0x538260
cmp byte [esp + 0x11e0], bl
lea ecx, [esp + 0x11e0]
mov dword [esp + 0x1c], ecx
mov edi, ecx
je 0x537f3f
xor ebp, ebp
lea ebx, [ebx]
mov al, byte [edi]
cmp al, 0x2f
je 0x537e1e
cmp al, 0x5c
jne 0x537f2d
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.00408ea0
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 0x537e75
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x11cc]
call fcn.00408ea0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1194]
push eax
lea ecx, [esp + 0x11d0]
mov byte [esp + 0x15f8], 3
call fcn.004079f0
cmp dword [esp + 0x11dc], 0x10
mov eax, dword [esp + 0x11c8]
jae 0x537ec5
lea eax, [esp + 0x11c8]
push eax
call fcn.005da78d
add esp, 4
cmp dword [esp + 0x11dc], 0x10
lea ecx, [edi + 1]
mov dword [esp + 0x1c], ecx
jb 0x537eef
mov edx, dword [esp + 0x11c8]
push edx
call fcn.005a1b1d
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 0x537f2d
mov eax, dword [esp + 0x1190]
push eax
call fcn.005a1b1d
add esp, 4
add edi, 1
add ebp, 1
cmp byte [edi], bl
jne 0x537e10
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 0x537f60
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x11b0]
call fcn.00408ea0
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 0x537f90
sub eax, edx
push eax
lea ecx, [esp + 0x11e4]
push ecx
lea ecx, [esp + 0x11b0]
call fcn.004078e0
mov edx, dword [esp + 0x1c]
cmp byte [edx], bl
jne 0x537fde
cmp dword [esp + 0x11c0], 0x10
mov eax, dword [esp + 0x11ac]
jae 0x537fd0
lea eax, [esp + 0x11ac]
push eax
call fcn.005da78d
add esp, 4
jmp 0x538249
mov ebp, dword [esp + 0x18]
push ebp
call fcn.004fece0
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x538245
cmp dword [esp + 0x11c0], 0x10
mov eax, dword [esp + 0x11ac]
jae 0x53800f
lea eax, [esp + 0x11ac]
push 0x63b990
push eax
call fcn.005bd438
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x15ec], 5
je 0x53816d
push 0x1000
lea eax, [esp + 0x190]
push eax
push ebp
call fcn.004fecf0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x5380b9
jle 0x53816d
push edi
push 1
lea ecx, [esp + 0x194]
push esi
push ecx
call fcn.005bd6b0
add esp, 0x10
cmp eax, 1
je 0x538033
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0040a750
lea ecx, [esp + 0x20]
push str.error_in_writing_extracted_file
push ecx
mov byte [esp + 0x15f4], 8
call fcn.00409270
add esp, 8
lea edx, [esp + 0x118c]
push edx
lea ecx, [esp + 0x24]
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 9
jb 0x53812f
mov eax, dword [eax + 4]
jmp 0x538132
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0040a750
push str._with_zipfile_in_unzReadCurrentFile
push esi
lea edx, [esp + 0x28]
push str.error
push edx
mov byte [esp + 0x15fc], 6
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.0041c7c0
push eax
call fcn.00409270
add esp, 8
lea eax, [esp + 0x118c]
push eax
lea ecx, [esp + 0x24]
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 7
jb 0x538122
mov eax, dword [eax + 4]
push eax
push str.BaseLib::do_extract_currentfile
push 0x4d
jmp 0x53813a
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x4d
jmp 0x53813a
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x55
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
lea ecx, [esp + 0x118c]
call fcn.0040b640
lea ecx, [esp + 0x20]
mov byte [esp + 0x15ec], 5
call fcn.004094e0
push ebp
call fcn.004fef80
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x538238
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0040a750
push str._with_zipfile_in_unzCloseCurrentFile
push esi
lea eax, [esp + 0x28]
push str.error
push eax
mov byte [esp + 0x15fc], 0xa
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.0041c7c0
push eax
call fcn.00409270
add esp, 8
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x24]
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 0xb
jb 0x5381e5
mov eax, dword [eax + 4]
jmp 0x5381e8
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x61
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
lea ecx, [esp + 0xa0]
call fcn.0040b640
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15ec], 5
call fcn.00409510
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x70], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
cmp edi, ebx
je 0x538245
push edi
call fcn.005bd8f3
add esp, 4
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x11c0], 0x10
jb 0x538263
mov eax, dword [esp + 0x11ac]
push eax
call fcn.005a1b1d
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.005bd2d7
add esp, 0x15dc
ret