Function at 0x52ae70
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d2ff4
mov eax, dword fs:[0]
push eax
mov eax, 0x15d0
call fcn.005b5ef0
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x15cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
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.004f2cc0
mov ebp, eax
add esp, 0x20
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je 0x52afce
push 1
push 2
lea ecx, [esp + 0xc4]
call fcn.0040b160
push str._with_zipfile_in_unzGetCurrentFileInfo
push ebp
lea eax, [esp + 0xc4]
push str.error
push eax
mov dword [esp + 0x15fc], ebx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
push eax
call fcn.00409c80
add esp, 8
lea ecx, [esp + 0x118c]
push ecx
lea ecx, [esp + 0xc0]
call fcn.00409610
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x15ec], 1
jb 0x52af60
mov eax, dword [eax + 4]
jmp 0x52af63
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x1b
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
cmp dword [esp + 0x11a4], esi
jb 0x52af9a
mov edx, dword [esp + 0x1190]
push edx
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x108]
mov dword [esp + 0x15ec], 0xffffffff
call fcn.00409f20
lea eax, [esp + 0x108]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.005cccbe
jmp 0x52b440
cmp byte [esp + 0x11e0], bl
lea ecx, [esp + 0x11e0]
mov dword [esp + 0x1c], ecx
mov edi, ecx
je 0x52b11f
xor ebp, ebp
lea ebx, [ebx]
mov al, byte [edi]
cmp al, 0x2f
je 0x52affe
cmp al, 0x5c
jne 0x52b10d
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.004098b0
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 0x52b055
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x11cc]
call fcn.004098b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1194]
push eax
lea ecx, [esp + 0x11d0]
mov byte [esp + 0x15f8], 3
call fcn.00408470
cmp dword [esp + 0x11dc], 0x10
mov eax, dword [esp + 0x11c8]
jae 0x52b0a5
lea eax, [esp + 0x11c8]
push eax
call fcn.005cdb1d
add esp, 4
cmp dword [esp + 0x11dc], 0x10
lea ecx, [edi + 1]
mov dword [esp + 0x1c], ecx
jb 0x52b0cf
mov edx, dword [esp + 0x11c8]
push edx
call fcn.00594e98
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 0x52b10d
mov eax, dword [esp + 0x1190]
push eax
call fcn.00594e98
add esp, 4
add edi, 1
add ebp, 1
cmp byte [edi], bl
jne 0x52aff0
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 0x52b140
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x11b0]
call fcn.004098b0
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 0x52b170
sub eax, edx
push eax
lea ecx, [esp + 0x11e4]
push ecx
lea ecx, [esp + 0x11b0]
call fcn.00408360
mov edx, dword [esp + 0x1c]
cmp byte [edx], bl
jne 0x52b1be
cmp dword [esp + 0x11c0], 0x10
mov eax, dword [esp + 0x11ac]
jae 0x52b1b0
lea eax, [esp + 0x11ac]
push eax
call fcn.005cdb1d
add esp, 4
jmp 0x52b429
mov ebp, dword [esp + 0x18]
push ebp
call fcn.004f3150
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x52b425
cmp dword [esp + 0x11c0], 0x10
mov eax, dword [esp + 0x11ac]
jae 0x52b1ef
lea eax, [esp + 0x11ac]
push 0x62b410
push eax
call fcn.005b0ac9
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x15ec], 5
je 0x52b34d
push 0x1000
lea eax, [esp + 0x190]
push eax
push ebp
call fcn.004f3160
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x52b299
jle 0x52b34d
push edi
push 1
lea ecx, [esp + 0x194]
push esi
push ecx
call fcn.005b0d41
add esp, 0x10
cmp eax, 1
je 0x52b213
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0040b160
lea ecx, [esp + 0x20]
push str.error_in_writing_extracted_file
push ecx
mov byte [esp + 0x15f4], 8
call fcn.00409c80
add esp, 8
lea edx, [esp + 0x118c]
push edx
lea ecx, [esp + 0x24]
call fcn.00409610
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 9
jb 0x52b30f
mov eax, dword [eax + 4]
jmp 0x52b312
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0040b160
push str._with_zipfile_in_unzReadCurrentFile
push esi
lea edx, [esp + 0x28]
push str.error
push edx
mov byte [esp + 0x15fc], 6
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
push eax
call fcn.00409c80
add esp, 8
lea eax, [esp + 0x118c]
push eax
lea ecx, [esp + 0x24]
call fcn.00409610
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 7
jb 0x52b302
mov eax, dword [eax + 4]
push eax
push str.BaseLib::do_extract_currentfile
push 0x4d
jmp 0x52b31a
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x4d
jmp 0x52b31a
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x55
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
lea ecx, [esp + 0x118c]
call fcn.0040c050
lea ecx, [esp + 0x20]
mov byte [esp + 0x15ec], 5
call fcn.00409ef0
push ebp
call fcn.004f33f0
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x52b418
push 1
push 2
lea ecx, [esp + 0x28]
call fcn.0040b160
push str._with_zipfile_in_unzCloseCurrentFile
push esi
lea eax, [esp + 0x28]
push str.error
push eax
mov byte [esp + 0x15fc], 0xa
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
push eax
call fcn.00409c80
add esp, 8
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x24]
call fcn.00409610
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x15ec], 0xb
jb 0x52b3c5
mov eax, dword [eax + 4]
jmp 0x52b3c8
add eax, 4
push eax
push str.BaseLib::do_extract_currentfile
push 0x61
push str..ywSMPpubZipFileSetup.cpp
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
lea ecx, [esp + 0xa0]
call fcn.0040c050
lea ecx, [esp + 0x6c]
mov byte [esp + 0x15ec], 5
call fcn.00409f20
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x70], vtable.std::ios_base.0
call fcn.005cccbe
add esp, 4
cmp edi, ebx
je 0x52b425
push edi
call fcn.005b0f84
add esp, 4
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x11c0], 0x10
jb 0x52b443
mov eax, dword [esp + 0x11ac]
push eax
call fcn.00594e98
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.005b0968
add esp, 0x15dc
ret