Function at 0x559b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b930d
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 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 0x55a136
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 0x559bc9
test ebx, ebx
je 0x559bc7
dec dword [ebx]
cmp dword [ebx], 0
jg 0x559bc7
mov eax, dword [edi + 0x48]
mov dword [ebx], eax
mov dword [edi + 0x48], ebx
mov ebx, ecx
test edx, edx
je case.0x559c4e.7
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x559c1f
mov eax, dword [esi + 0xc]
cmp edx, eax
jae 0x559c1f
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
cmp eax, dword [esi]
jae 0x559bf2
cmp dword [ecx + eax*8], edx
je case.0x559c4e.7
mov eax, dword [esi + 0xc]
cmp edx, eax
jae 0x559c1f
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.0x559c4e
jmp dword [eax*4 + 0x55a15c]
mov eax, dword [ebp - 0x3c]
inc edx
inc dword [ebx]
xor ecx, ecx
mov dword [eax], ebx
jmp 0x559bb0
test cl, 8
jne 0x559c86
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 0x559bb0
test cl, 8
mov ecx, dword [ebp - 0x34]
jne 0x559caf
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 0x559d6f
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 0x559d11
push 8
call fcn.0056f5ce
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.0056f8a6
mov ecx, dword [ebp - 0x38]
add esp, 8
mov dword [ecx + 4], eax
jmp 0x559d1c
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 0x559d61
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 0x559d40
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 0x559bb0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
test byte [eax + 6], 1
je 0x559da1
mov eax, dword [ebp + 0x10]
add eax, 0xffffffbf
cmp eax, 0x19
ja 0x559d9e
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 0x559de4
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 5]
cmp dword [ebp - 0x38], eax
jg 0x559de4
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.0x559c4e.7
shr eax, 1
add edx, eax
xor ecx, ecx
jmp 0x559bb0
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.0x559c4e.7
inc edx
xor ecx, ecx
jmp 0x559bb0
test cl, 8
jne 0x559e12
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.00557350
not eax
add esp, 8
test esi, eax
jne case.0x559c4e.7
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov edx, dword [eax]
shr edx, 4
xor ecx, ecx
jmp 0x559bb0
lea eax, [ebp - 0xf4]
mov byte [ebp - 0xfc], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xf4], 0x6262e4
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.005437e0
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.0056f5ce
mov esi, eax
add esp, 4
test esi, esi
je 0x559eea
push 1
mov byte [ebp - 4], 2
call fcn.00571946
add esp, 4
mov dword [esi + 4], eax
jmp 0x559eec
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 0x623d7c
push 0xf7
push 0x6259f4
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.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 - 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.005444d0
add esp, 8
mov ecx, eax
call fcn.00542b60
push eax
call fcn.005444d0
add esp, 8
cmp byte [ebp - 0xfc], 0
mov dword [ebp - 4], 5
jne 0x55a112
lea eax, [ebp - 0xf4]
push 0x611ed0
push eax
call fcn.005444d0
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 0x55a07b
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
test edx, edx
je 0x55a07b
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 0x55a0a1
test cl, 4
jne 0x55a0aa
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
test edx, edx
je 0x55a0aa
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.0052b470
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.005774c8
push eax
push esi
push 1
push edi
call fcn.0057ec89
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov byte [ebp - 0xfc], 1
cmp edx, 0x10
jb 0x55a10f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x55a105
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55a154
push edx
push ecx
call fcn.0056f898
add esp, 8
mov edi, dword [ebp - 0x50]
lea ecx, [ebp - 0xf4]
call fcn.00541270
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x55a136
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x5c]
jmp 0x559ba0
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 0x18
call fcn.0057a76e
nop dword [eax]
push ebp
pushfd
push ebp
add byte [ebx - 0x63], bh
push ebp
add byte [edx - 0xaffaa64], dl
popfd
push ebp
add al, bl
popfd
push ebp
add byte [esp + ebx*4 + 0x55], ah
add byte [ecx], ah
push ebp
add ah, cl
int3