Function at 0x561650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8e83
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x63a404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
cmp word [ecx + 6], di
jne 0x5616af
push 1
call fcn.00560cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e5b3
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0xc], edi
mov ebx, ecx
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x30], ecx
cmp word [ebx + 4], 0
je 0x56198d
lea eax, [ebp - 0xcc]
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xcc], 0x625210
mov dword [ebp - 0x7c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
or edi, 1
lea ecx, [ebp - 0xcc]
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
call fcn.005429f0
mov eax, dword [ebp - 0xcc]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd0], eax
mov dword [ebp - 0xc8], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0056e7bf
mov esi, eax
add esp, 4
test esi, esi
je 0x56176a
push 1
mov byte [ebp - 4], 2
call fcn.00570b36
add esp, 4
mov dword [esi + 4], eax
jmp 0x56176c
xor esi, esi
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 4
push 0x622ca4
push 0x92
push 0x624918
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 3
push str.D:DeviplayGameManagersUGM3_MergingBackUSSussexelibsgoogle_re2_re2_2020_03_03_re2_regexp.cc
push eax
call fcn.005436e0
add esp, 8
push eax
call fcn.005436e0
add esp, 8
mov ecx, eax
call fcn.00541d70
push eax
call fcn.005436e0
add esp, 8
movzx eax, word [ebx + 4]
push eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 4
push str.Bad_reference_count
push eax
call fcn.005436e0
add esp, 8
mov ecx, eax
call fcn.00560880
cmp byte [ebp - 0xd4], 0
mov dword [ebp - 4], 5
jne 0x56197b
lea eax, [ebp - 0xcc]
push 0x610e40
push eax
call fcn.005436e0
mov cl, byte [ebp - 0x8c]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test cl, 2
jne 0x5618e8
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
test edx, edx
je 0x5618e8
mov eax, dword [ebp - 0xb8]
cmp edx, dword [ebp - 0x90]
cmovb edx, dword [ebp - 0x90]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x56190b
test cl, 4
jne 0x561915
mov eax, dword [ebp - 0xac]
mov edx, dword [eax]
test edx, edx
je 0x561915
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x9c]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0052a680
mov esi, dword [ebp - 0x18]
and edi, 0xfffffffb
or edi, 2
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], edi
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
push 2
call fcn.005766b8
push eax
push esi
push 1
push edi
call fcn.0057de79
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xd4], 1
cmp edx, 0x10
jb 0x56197b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x561971
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x561b29
push edx
push ecx
call fcn.0056ea89
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.00540480
mov dword [ebp - 4], 0xffffffff
movzx eax, word [ebx + 6]
test ax, ax
je 0x561a1f
lea edx, [ebx + 8]
cmp eax, 1
jbe 0x5619a5
mov edx, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x2c], edx
xor edi, edi
mov ecx, eax
cmp si, ax
jae 0x561a08
mov esi, dword [edx + edi*4]
test esi, esi
je 0x5619fc
movzx eax, word [esi + 4]
mov ecx, 0xffff
cmp ax, cx
jne 0x5619d5
mov ecx, esi
call fcn.005614c0
movzx eax, word [esi + 4]
jmp 0x5619dd
dec eax
mov word [esi + 4], ax
movzx eax, ax
test ax, ax
jne 0x5619fc
cmp word [esi + 6], ax
jne 0x5619f3
push 1
mov ecx, esi
call fcn.00560cf0
jmp 0x5619fc
mov eax, dword [ebp - 0x30]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x30], esi
movzx ecx, word [ebx + 6]
inc edi
mov edx, dword [ebp - 0x2c]
cmp edi, ecx
jl 0x5619b3
cmp cx, 1
jbe 0x561a19
push dword [ebp - 0x2c]
call fcn.0056ee0c
add esp, 4
xor eax, eax
mov word [ebx + 6], ax
mov dword [ebp - 4], 6
test ax, ax
je 0x561a59
push 0x2f
push str.D:DeviplayGameManagersUGM3_MergingBackUSSussexelibsgoogle_re2_re2_2020_03_03_re2_regexp.cc
lea ecx, [ebp - 0xd4]
call fcn.00552630
add eax, 8
push str.Regexp_not_destroyed.
push eax
call fcn.005436e0
add esp, 8
lea ecx, [ebp - 0xd4]
call fcn.005529e0
mov al, byte [ebx]
cmp al, 4
je 0x561af9
cmp al, 0xb
je 0x561aa5
cmp al, 0x14
jne 0x561b04
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x561a7f
push eax
call fcn.0056ee0c
add esp, 4
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x561b04
lea ecx, [edi + 0xc]
call fcn.005639f0
push 0x18
push dword [edi + 0xc]
call fcn.0056ea89
push 0x14
push edi
call fcn.0056ea89
add esp, 0x10
jmp 0x561b04
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x561b04
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x561adb
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x561ad1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x561b29
mov eax, edx
push ecx
push eax
call fcn.0056ea89
add esp, 8
push 0x18
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push esi
mov byte [esi], 0
call fcn.0056ea89
add esp, 8
jmp 0x561b04
push dword [ebx + 0x14]
call fcn.0056ee0c
add esp, 4
push 0x18
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0056ea89
mov ecx, dword [ebp - 0x30]
add esp, 8
test ecx, ecx
je 0x561693
mov edi, dword [ebp - 0x34]
jmp 0x5616b2
call fcn.0057995e
int3