Function at 0x558d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b84ed
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 edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
test eax, eax
je 0x559346
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x5c], ecx
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 4], 0
nop
dec eax
mov edx, dword [ecx + eax*8]
mov dword [ebp - 0x30], eax
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x558dd9
test ebx, ebx
je 0x558dd7
dec dword [ebx]
cmp dword [ebx], 0
jg 0x558dd7
mov eax, dword [edi + 0x48]
mov dword [ebx], eax
mov dword [edi + 0x48], ebx
mov ebx, ecx
test edx, edx
je case.0x558e5e.7
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x558e2f
mov eax, dword [esi + 0xc]
cmp edx, eax
jae 0x558e2f
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
cmp eax, dword [esi]
jae 0x558e02
cmp dword [ecx + eax*8], edx
je case.0x558e5e.7
mov eax, dword [esi + 0xc]
cmp edx, eax
jae 0x558e2f
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi]
mov dword [ecx + eax*8], edx
inc dword [esi]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ecx + eax*8 + 4], 0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + edx*8]
lea eax, [eax + edx*8]
mov dword [ebp - 0x2c], eax
mov eax, ecx
and eax, 7
dec eax
cmp eax, 6
ja case.default.0x558e5e
jmp dword [eax*4 + 0x55936c]
mov eax, dword [ebp - 0x3c]
inc edx
inc dword [ebx]
xor ecx, ecx
mov dword [eax], ebx
jmp 0x558dc0
test cl, 8
jne 0x558e96
mov ecx, dword [ebp - 0x34]
lea eax, [edx + 1]
inc dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], 0
add ecx, 8
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax]
mov edx, ecx
shr edx, 4
xor ecx, ecx
jmp 0x558dc0
test cl, 8
mov ecx, dword [ebp - 0x34]
jne 0x558ebf
inc dword [ebp - 0x30]
lea eax, [edx + 1]
mov dword [ecx], eax
mov dword [ecx + 4], 0
add ecx, 8
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov dword [ebp - 0x48], edx
cmp edx, dword [edi + 8]
jge 0x558f7f
inc dword [ebp - 0x30]
mov dword [ecx], 0
mov dword [ecx + 4], ebx
add ecx, 8
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x558f21
push 8
call fcn.0056e7bf
mov dword [ebp - 0x38], eax
xor ecx, ecx
mov edx, 4
mov dword [eax], 1
mov eax, dword [edi + 8]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056ea97
mov ecx, dword [ebp - 0x38]
add esp, 8
mov dword [ecx + 4], eax
jmp 0x558f2c
mov eax, dword [ecx]
mov dword [edi + 0x48], eax
mov dword [ecx], 1
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], eax
cmp dword [edi + 8], edx
jle 0x558f71
mov esi, dword [ebp - 0x3c]
add eax, 4
mov ebx, esi
sub ebx, dword [ebp - 0x54]
nop word [eax + eax]
mov ecx, dword [esi + edx*4]
lea eax, [eax + 8]
mov dword [eax - 0xc], ecx
add edx, 2
mov ecx, dword [ebx + eax - 8]
mov dword [eax - 8], ecx
cmp edx, dword [edi + 8]
jl 0x558f50
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x44]
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov dword [eax + edx*4], ebx
mov ebx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
shr edx, 4
xor ecx, ecx
jmp 0x558dc0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
test byte [eax + 6], 1
je 0x558fb1
mov eax, dword [ebp + 0x10]
add eax, 0xffffffbf
cmp eax, 0x19
ja 0x558fae
mov eax, dword [ebp + 0x10]
add eax, 0x20
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 4]
cmp eax, dword [ebp - 0x38]
jg 0x558ff4
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 5]
cmp dword [ebp - 0x38], eax
jg 0x558ff4
mov eax, dword [ebp - 0x3c]
inc dword [ebx]
mov dword [eax], ebx
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 6]
cmp eax, 2
jb case.0x558e5e.7
shr eax, 1
add edx, eax
xor ecx, ecx
jmp 0x558dc0
mov eax, dword [ebp - 0x3c]
inc dword [ebx]
mov dword [eax], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
test cl, 8
jne case.0x558e5e.7
inc edx
xor ecx, ecx
jmp 0x558dc0
test cl, 8
jne 0x559022
mov ecx, dword [ebp - 0x34]
lea eax, [edx + 1]
inc dword [ebp - 0x30]
mov dword [ecx], eax
mov dword [ecx + 4], 0
add ecx, 8
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
mov esi, dword [eax + 4]
call fcn.00556560
not eax
add esp, 8
test esi, eax
jne case.0x558e5e.7
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov edx, dword [eax]
shr edx, 4
xor ecx, ecx
jmp 0x558dc0
lea eax, [ebp - 0xf4]
mov byte [ebp - 0xfc], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xf4], 0x625210
mov dword [ebp - 0xa4], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0xf4]
or eax, 1
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.005429f0
mov eax, dword [ebp - 0xf4]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf8], eax
mov dword [ebp - 0xf0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0056e7bf
mov esi, eax
add esp, 4
test esi, esi
je 0x5590fa
push 1
mov byte [ebp - 4], 2
call fcn.00570b36
add esp, 4
mov dword [esi + 4], eax
jmp 0x5590fc
xor esi, esi
lea eax, [ebp - 0xec]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xdc]
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
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xf0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 4
push 0x622ca4
push 0xf7
push 0x624918
lea eax, [ebp - 0xf4]
mov dword [ebp - 4], 3
push str.D:DeviplayGameManagersUGM3_MergingBackUSSussexelibsgoogle_re2_re2_2020_03_03_re2_nfa.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 - 0x2c]
push str._in_AddToThreadq
mov dword [ebp - 4], 4
mov eax, dword [eax]
and eax, 7
push eax
lea eax, [ebp - 0xf4]
push str.unhandled
push eax
call fcn.005436e0
add esp, 8
mov ecx, eax
call fcn.00541d70
push eax
call fcn.005436e0
add esp, 8
cmp byte [ebp - 0xfc], 0
mov dword [ebp - 4], 5
jne 0x559322
lea eax, [ebp - 0xf4]
push 0x610e40
push eax
call fcn.005436e0
mov cl, byte [ebp - 0xb4]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test cl, 2
jne 0x55928b
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
test edx, edx
je 0x55928b
mov eax, dword [ebp - 0xe0]
cmp edx, dword [ebp - 0xb8]
cmovb edx, dword [ebp - 0xb8]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x5592b1
test cl, 4
jne 0x5592ba
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
test edx, edx
je 0x5592ba
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc4]
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 - 0x40]
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
and eax, 0xfffffffb
or eax, 2
cmp dword [ebp - 0x14], 0x10
push 2
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
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 - 0xfc], 1
cmp edx, 0x10
jb 0x55931f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x559315
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x559364
push edx
push ecx
call fcn.0056ea89
add esp, 8
mov edi, dword [ebp - 0x50]
lea ecx, [ebp - 0xf4]
call fcn.00540480
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x559346
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x5c]
jmp 0x558db0
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 0x18
call fcn.0057995e
nop dword [eax]
mov ss, word gs:[ebp]
mov ecx, dword [edi - 1901985707]
push ebp
add byte [0xe8005590], al
invalid