Function at 0x565d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba09e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x63b404]
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
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00564ab0
mov edx, dword [ebp - 0x38]
nop dword [eax]
mov eax, dword [edx - 0xc]
lea edi, [edx - 0x10]
mov esi, dword [edi]
lea ecx, [edx - 0x1c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xf0], edi
cmp esi, eax
je 0x5661e8
mov edi, dword [edx - 4]
sub eax, esi
sar eax, 4
cmp edi, eax
jge 0x565e2c
lea eax, [esi + 8]
shl edi, 4
add esi, 4
add eax, edi
add esi, edi
cmp dword [ebp - 0x34], edx
je 0x565e27
mov ecx, dword [eax]
mov eax, dword [esi]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
add edx, 0x1c
mov dword [ebp - 0x38], edx
jmp 0x565dc0
push eax
push esi
push edx
jmp 0x565db1
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x40], ebx
cmp dword [edx - 0x18], ebx
jle 0x5661d9
nop dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x38]
lea eax, [ecx + edi*4]
cmp eax, dword [esi + 4]
jae 0x565e6a
nop dword [eax]
mov eax, dword [eax]
inc edi
mov dword [ecx + ebx*4], eax
inc ebx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
lea eax, [ecx + edi*4]
cmp eax, dword [esi + 4]
jb 0x565e50
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x40], ebx
mov eax, dword [edx - 0x14]
test eax, eax
jle 0x565ed0
cmp eax, 2
jle 0x565e8c
cmp eax, 3
jne 0x565ed0
mov eax, dword [esi]
mov dword [ecx + ebx*4], eax
inc ebx
add edi, dword [esi + 8]
mov dword [ebp - 0x40], ebx
jmp 0x5661a5
push dword [ebp - 0x44]
mov eax, dword [esi]
push dword [esi + 0xc]
mov dword [ebp - 0xfc], eax
push dword [esi + 4]
call fcn.00561f10
push dword [ebp - 0x44]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
push 2
push eax
call fcn.00561f90
mov ecx, dword [ebp - 0x48]
add esp, 0x18
mov ecx, dword [ecx]
mov dword [ecx + ebx*4], eax
inc ebx
add edi, dword [esi + 8]
mov dword [ebp - 0x40], ebx
jmp 0x5661a2
lea eax, [ebp - 0xe4]
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe4], 0x6262e4
mov dword [ebp - 0x94], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0xe4]
or eax, 1
mov byte [ebp - 4], 1
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.005437e0
mov eax, dword [ebp - 0xe4]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
mov dword [ebp - 0xe0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0056f5ce
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x565f7c
push 1
mov byte [ebp - 4], 3
call fcn.00571946
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x565f7e
xor ecx, ecx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
push 0x623d7c
push 0x3d1
push 0x6259f4
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push str.D:DeviplayGameManagersUGM3_MergingBackUSSussexelibsgoogle_re2_re2_2020_03_03_re2parse.cc
push eax
call fcn.005444d0
add esp, 8
push eax
call fcn.005444d0
add esp, 8
mov ecx, eax
call fcn.00542b60
push eax
call fcn.005444d0
add esp, 8
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 5
push dword [eax - 0x14]
lea eax, [ebp - 0xe4]
push str.unknown_round:
push eax
call fcn.005444d0
add esp, 8
mov ecx, eax
call fcn.00542b60
cmp byte [ebp - 0xec], 0
mov byte [ebp - 4], 6
jne 0x566193
lea eax, [ebp - 0xe4]
push 0x611ed0
push eax
call fcn.005444d0
mov cl, byte [ebp - 0xa4]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test cl, 2
jne 0x5660f3
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
test edx, edx
je 0x5660f3
mov eax, dword [ebp - 0xd0]
cmp edx, dword [ebp - 0xa8]
cmovb edx, dword [ebp - 0xa8]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x566119
test cl, 4
jne 0x566122
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
test edx, edx
je 0x566122
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0052b470
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
and eax, 0xfffffffb
or eax, 2
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 2
mov dword [ebp - 0x30], eax
call fcn.005774c8
push eax
push ebx
push 1
push dword [ebp - 0x30]
call fcn.0057ec89
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xec], 1
cmp edx, 0x10
jb 0x566190
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x566186
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5665e7
push edx
push ecx
call fcn.0056f898
add esp, 8
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0xe4]
call fcn.00541270
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add esi, 0x10
mov dword [ebp - 0x30], esi
cmp esi, dword [edx - 0xc]
jne 0x5661cd
cmp edi, dword [edx - 0x18]
jge 0x5661d0
mov esi, dword [ebp - 0x48]
mov ecx, dword [esi]
mov eax, dword [ecx + edi*4]
inc edi
mov dword [ecx + ebx*4], eax
inc ebx
cmp edi, dword [edx - 0x18]
jl 0x5661b8
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x40], ebx
cmp edi, dword [edx - 0x18]
mov ecx, dword [ebp - 0x48]
jl 0x565e40
mov eax, dword [edx - 0x10]
lea edi, [edx - 0x10]
mov dword [edi + 4], eax
mov dword [edx - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
inc dword [edx - 0x14]
mov eax, dword [edx - 0x14]
dec eax
cmp eax, 3
ja case.default.0x5661f8
jmp dword [eax*4 + 0x5665ec]
push edi
push dword [ebp - 0x44]
push dword [edx - 0x18]
push dword [ecx]
call fcn.00568ee0
add esp, 0x10
jmp 0x566544
push edi
push dword [ebp - 0x44]
push dword [edx - 0x18]
push dword [ecx]
call fcn.00569090
add esp, 0x10
jmp 0x566544
push edi
push dword [ebp - 0x44]
push dword [edx - 0x18]
push dword [ecx]
call fcn.00569340
add esp, 0x10
jmp 0x566544
mov edi, dword [ebp - 0x3c]
mov eax, edx
mov esi, dword [edx - 0x18]
sub eax, edi
sub eax, 0x1c
cmp eax, 0x1c
jb 0x56656f
push ecx
lea eax, [ebp - 0x3c]
push eax
call fcn.00564ee0
mov edx, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x38], edx
mov ecx, dword [edx - 4]
mov eax, dword [edx - 0x10]
add ecx, ecx
mov dword [eax + ecx*8 + 0xc], esi
inc dword [edx - 4]
jmp 0x565dc0
lea eax, [ebp - 0xe4]
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe4], 0x6262e4
mov dword [ebp - 0x94], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 7
or ebx, 8
lea ecx, [ebp - 0xe4]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x4c], ebx
call fcn.005437e0
mov eax, dword [ebp - 0xe4]
push 8
mov dword [ebp - 4], 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
mov dword [ebp - 0xe0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0056f5ce
mov esi, eax
add esp, 4
test esi, esi
je 0x566323
push 1
mov byte [ebp - 4], 9
call fcn.00571946
add esp, 4
mov dword [esi + 4], eax
jmp 0x566325
xor esi, esi
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 4
push 0x623d7c
push 0x3f8
push 0x6259f4
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xa
push str.D:DeviplayGameManagersUGM3_MergingBackUSSussexelibsgoogle_re2_re2_2020_03_03_re2parse.cc
push eax
call fcn.005444d0
add esp, 8
push eax
call fcn.005444d0
add esp, 8
mov ecx, eax
call fcn.00542b60
push eax
call fcn.005444d0
add esp, 8
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xb
push dword [eax - 0x14]
lea eax, [ebp - 0xe4]
push str.unknown_round:
push eax
call fcn.005444d0
add esp, 8
mov ecx, eax
call fcn.00542b60
cmp byte [ebp - 0xec], 0
mov byte [ebp - 4], 0xc
jne 0x56652f
lea eax, [ebp - 0xe4]
push 0x611ed0
push eax
call fcn.005444d0
mov cl, byte [ebp - 0xa4]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test cl, 2
jne 0x56649a
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
test edx, edx
je 0x56649a
mov eax, dword [ebp - 0xd0]
cmp edx, dword [ebp - 0xa8]
cmovb edx, dword [ebp - 0xa8]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x5664c0
test cl, 4
jne 0x5664c9
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
test edx, edx
je 0x5664c9
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0052b470
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
and ebx, 0xffffffdf
or ebx, 0x10
cmp dword [ebp - 0x14], 0x10
push 2
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
call fcn.005774c8
push eax
push esi
push 1
push edi
call fcn.0057ec89
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xec], 1
cmp edx, 0x10
jb 0x56652f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x566525
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5665e7
push edx
push ecx
call fcn.0056f898
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.00541270
mov edi, dword [ebp - 0xf0]
mov byte [ebp - 4], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x38]
cmp ecx, eax
je 0x566562
cmp dword [edx - 0x14], 3
je 0x566562
mov dword [edx - 4], 0
jmp 0x565dc0
sub eax, ecx
sar eax, 4
mov dword [edx - 4], eax
jmp 0x565dc0
test edi, edi
je 0x5665c9
lea eax, [ebp - 0x3c]
push eax
push edx
push edi
call fcn.00564a40
mov ecx, dword [ebp - 0x34]
mov eax, 0x92492493
sub ecx, edi
add esp, 0xc
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x5665bf
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5665e7
push ecx
push edi
call fcn.0056f898
add esp, 8
mov eax, esi
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.0056f3c2
mov esp, ebp
pop ebp
ret
call fcn.0057a76e
jmp dword [ecx + 0x56]