Function at 0x564f50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b927e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
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
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.00563cb0
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 0x5653d8
mov edi, dword [edx - 4]
sub eax, esi
sar eax, 4
cmp edi, eax
jge 0x56501c
lea eax, [esi + 8]
shl edi, 4
add esi, 4
add eax, edi
add esi, edi
cmp dword [ebp - 0x34], edx
je 0x565017
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 0x564fb0
push eax
push esi
push edx
jmp 0x564fa1
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x40], ebx
cmp dword [edx - 0x18], ebx
jle 0x5653c9
nop dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x38]
lea eax, [ecx + edi*4]
cmp eax, dword [esi + 4]
jae 0x56505a
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 0x565040
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x40], ebx
mov eax, dword [edx - 0x14]
test eax, eax
jle 0x5650c0
cmp eax, 2
jle 0x56507c
cmp eax, 3
jne 0x5650c0
mov eax, dword [esi]
mov dword [ecx + ebx*4], eax
inc ebx
add edi, dword [esi + 8]
mov dword [ebp - 0x40], ebx
jmp 0x565395
push dword [ebp - 0x44]
mov eax, dword [esi]
push dword [esi + 0xc]
mov dword [ebp - 0xfc], eax
push dword [esi + 4]
call fcn.00561110
push dword [ebp - 0x44]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
push 2
push eax
call fcn.00561190
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 0x565392
lea eax, [ebp - 0xe4]
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe4], 0x625210
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.005429f0
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.0056e7bf
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x56516c
push 1
mov byte [ebp - 4], 3
call fcn.00570b36
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x56516e
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 0x622ca4
push 0x3d1
push 0x624918
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.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
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.005436e0
add esp, 8
mov ecx, eax
call fcn.00541d70
cmp byte [ebp - 0xec], 0
mov byte [ebp - 4], 6
jne 0x565383
lea eax, [ebp - 0xe4]
push 0x610e40
push eax
call fcn.005436e0
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 0x5652e3
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
test edx, edx
je 0x5652e3
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 0x565309
test cl, 4
jne 0x565312
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
test edx, edx
je 0x565312
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.0052a680
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.005766b8
push eax
push ebx
push 1
push dword [ebp - 0x30]
call fcn.0057de79
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xec], 1
cmp edx, 0x10
jb 0x565380
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x565376
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5657d7
push edx
push ecx
call fcn.0056ea89
add esp, 8
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0xe4]
call fcn.00540480
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add esi, 0x10
mov dword [ebp - 0x30], esi
cmp esi, dword [edx - 0xc]
jne 0x5653bd
cmp edi, dword [edx - 0x18]
jge 0x5653c0
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 0x5653a8
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x40], ebx
cmp edi, dword [edx - 0x18]
mov ecx, dword [ebp - 0x48]
jl 0x565030
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.0x5653e8
jmp dword [eax*4 + 0x5657dc]
push edi
push dword [ebp - 0x44]
push dword [edx - 0x18]
push dword [ecx]
call fcn.005680d0
add esp, 0x10
jmp 0x565734
push edi
push dword [ebp - 0x44]
push dword [edx - 0x18]
push dword [ecx]
call fcn.00568280
add esp, 0x10
jmp 0x565734
push edi
push dword [ebp - 0x44]
push dword [edx - 0x18]
push dword [ecx]
call fcn.00568530
add esp, 0x10
jmp 0x565734
mov edi, dword [ebp - 0x3c]
mov eax, edx
mov esi, dword [edx - 0x18]
sub eax, edi
sub eax, 0x1c
cmp eax, 0x1c
jb 0x56575f
push ecx
lea eax, [ebp - 0x3c]
push eax
call fcn.005640e0
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 0x564fb0
lea eax, [ebp - 0xe4]
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe4], 0x625210
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.005429f0
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.0056e7bf
mov esi, eax
add esp, 4
test esi, esi
je 0x565513
push 1
mov byte [ebp - 4], 9
call fcn.00570b36
add esp, 4
mov dword [esi + 4], eax
jmp 0x565515
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 0x622ca4
push 0x3f8
push 0x624918
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.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
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.005436e0
add esp, 8
mov ecx, eax
call fcn.00541d70
cmp byte [ebp - 0xec], 0
mov byte [ebp - 4], 0xc
jne 0x56571f
lea eax, [ebp - 0xe4]
push 0x610e40
push eax
call fcn.005436e0
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 0x56568a
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
test edx, edx
je 0x56568a
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 0x5656b0
test cl, 4
jne 0x5656b9
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
test edx, edx
je 0x5656b9
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.0052a680
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.005766b8
push eax
push esi
push 1
push edi
call fcn.0057de79
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xec], 1
cmp edx, 0x10
jb 0x56571f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x565715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5657d7
push edx
push ecx
call fcn.0056ea89
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.00540480
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 0x565752
cmp dword [edx - 0x14], 3
je 0x565752
mov dword [edx - 4], 0
jmp 0x564fb0
sub eax, ecx
sar eax, 4
mov dword [edx - 4], eax
jmp 0x564fb0
test edi, edi
je 0x5657b9
lea eax, [ebp - 0x3c]
push eax
push edx
push edi
call fcn.00563c40
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 0x5657af
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5657d7
push ecx
push edi
call fcn.0056ea89
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.0056e5b3
mov esp, ebp
pop ebp
ret
call fcn.0057995e
out dx, eax
push ebx
push esi
add byte [0x1b005654], al
push esp
push esi
add byte [ecx], dh
push esp
push esi
add ah, cl
int3