Function at 0x58b154
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
push 8
xor esi, esi
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00596530
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebx + 0x40], esi
jne 0x58b52c
cmp byte [eax + 0x1e], 0
jne 0x58b52c
mov ecx, dword [ebp + 0xc]
push edi
mov eax, ebx
call fcn.00584507
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
je 0x58b52b
push esi
push esi
push 0x6a
push edi
mov eax, ebx
call fcn.00557d75
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [edi + 0x1c], esi
push edi
setne al
push ebx
mov dword [ebp - 0x10], eax
call fcn.005877ae
add esp, 0x18
test eax, eax
jne 0x58b52b
cmp dword [ebp - 0x20], esi
mov edx, edi
setne al
push eax
mov eax, ebx
call fcn.0055e74d
pop ecx
test eax, eax
jne 0x58b52b
mov esi, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
call fcn.005577f7
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x18], eax
shl eax, 4
push dword [eax + ecx]
mov eax, ebx
push 0
push dword [edi]
push 9
call fcn.0055dec8
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp eax, 1
je 0x58b52b
mov esi, dword [ebx + 0x44]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x20], esi
inc dword [ebx + 0x44]
mov ecx, dword [ebx + 0x44]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xc], esi
jmp 0x58b23d
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x58b236
cmp dword [ebp - 0x10], eax
je 0x58b253
push dword [edi]
lea ecx, [ebp - 0x2c]
mov eax, ebx
call fcn.00556bed
pop ecx
mov edi, ebx
call fcn.0056287c
mov dword [ebp - 4], eax
test eax, eax
je 0x58b52b
cmp byte [ebx + 0x13], 0
jne 0x58b270
call fcn.0055602b
mov ecx, dword [ebp - 0x18]
push 1
mov eax, ebx
call fcn.00576a78
cmp dword [ebp - 0x10], 0
pop ecx
je 0x58b293
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push ebx
call fcn.00587223
add esp, 0x10
push 0x24
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00596530
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
add esp, 0xc
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
call fcn.005681ea
test eax, eax
jne 0x58b52b
mov eax, dword [ebp - 8]
test dword [eax + 0xc], 0x1000
je 0x58b2e4
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp - 4]
push eax
push 0
mov dword [ebp - 0x14], eax
push 7
pop eax
call fcn.0055c34c
pop ecx
pop ecx
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x58b34e
cmp dword [ebp + 0x10], edi
jne 0x58b34e
cmp dword [ebp - 0x20], edi
jne 0x58b34e
mov esi, dword [ebp - 0x1c]
test byte [esi + 0x22], 0x10
jne 0x58b351
push edi
push edi
push esi
mov eax, ebx
call fcn.005574a2
add esp, 0xc
test eax, eax
jne 0x58b351
push 0xfffffffffffffffe
push dword [esi]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [esi + 0x14]
push dword [ebp - 4]
push 0x60
pop eax
call fcn.00560b2c
mov esi, dword [esi + 0x10]
add esp, 0x18
jmp 0x58b345
push dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
push dword [esi + 0x14]
push 0x60
pop eax
call fcn.0055c34c
mov esi, dword [esi + 0x20]
pop ecx
pop ecx
cmp esi, edi
jne 0x58b32f
jmp 0x58b4cc
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp - 4]
inc eax
push eax
push 0
lea edi, [eax + 1]
mov dword [ebp - 0x1c], eax
push 0xa
pop eax
mov dword [ebx + 0x48], edi
call fcn.0055c34c
push 8
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0057e358
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x58b52b
mov eax, dword [ebp - 0xc]
push edi
push 0xffffffffffffffff
push esi
mov edi, ebx
call fcn.0056c3c7
mov ecx, dword [ebp - 4]
push eax
push dword [ebp - 0x1c]
push 0x69
pop eax
call fcn.0055c34c
mov eax, dword [ebp - 8]
add esp, 0x14
test dword [eax + 0xc], 0x1000
je 0x58b3c8
mov ecx, dword [ebp - 4]
push 1
push dword [ebp - 0x14]
push 0x14
pop eax
call fcn.0055c34c
pop ecx
pop ecx
mov edi, dword [ebp - 0x24]
call fcn.0055f9f4
mov eax, dword [ebp - 4]
call fcn.0055c35f
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
jne 0x58b3f5
mov eax, dword [ebp + 8]
push 0x27
push dword [ebp - 0xc]
mov ebx, esi
call fcn.00569e6a
mov ebx, dword [ebp + 8]
pop ecx
pop ecx
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
inc edi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x6a
pop eax
call fcn.0055c2b7
add esp, 0xc
test byte [esi + 0x22], 0x10
mov dword [ebp - 0x1c], eax
je 0x58b454
push dword [ebp - 8]
mov eax, esi
call fcn.00557e5e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.0056e785
push 0xfffffffffffffff6
push dword [ebp - 0x24]
mov eax, 0x85
push edi
push 1
push 0
push dword [ebp - 4]
call fcn.00560b2c
mov ecx, dword [ebp + 8]
add esp, 0x1c
call fcn.00557051
mov ebx, ecx
jmp 0x58b470
xor eax, eax
cmp byte [ebx + 0x13], al
push 0x63
push dword [ebp - 0x20]
sete al
push eax
push edi
push dword [ebp - 0xc]
push esi
push ebx
call fcn.0058afca
add esp, 0x1c
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor eax, eax
push 0
inc eax
call fcn.0055c34c
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.005559cf
cmp dword [ebp - 0x10], 0
jne 0x58b4cc
test byte [esi + 0x22], 0x10
jne 0x58b4cc
mov esi, dword [esi + 0x10]
test esi, esi
je 0x58b4bd
mov edi, dword [ebp - 0xc]
inc edi
push dword [esi + 0x14]
mov ecx, dword [ebp - 4]
push edi
push 0x2b
pop eax
call fcn.0055c34c
mov esi, dword [esi + 0x20]
pop ecx
inc edi
pop ecx
test esi, esi
jne 0x58b4a4
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0055c33b
pop ecx
cmp byte [ebx + 0x13], 0
jne 0x58b4e2
cmp dword [ebx + 0x1ac], 0
jne 0x58b4e2
push ebx
call fcn.00565e6b
pop ecx
mov eax, dword [ebp - 8]
test dword [eax + 0xc], 0x1000
je 0x58b52b
cmp byte [ebx + 0x13], 0
jne 0x58b52b
cmp dword [ebx + 0x1ac], 0
jne 0x58b52b
mov ecx, dword [ebp - 4]
xor edi, edi
inc edi
push edi
push dword [ebp - 0x14]
push 0x10
pop eax
call fcn.0055c34c
mov esi, dword [ebp - 4]
call fcn.00560d70
xor eax, eax
push eax
push str.rows_deleted
push eax
push eax
mov eax, esi
call fcn.005644a5
add esp, 0x18
pop edi
lea eax, [ebp - 0x2c]
call fcn.00556c00
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
call fcn.00556f8d
push dword [ebp + 0x10]
push dword [ebp - 8]
call fcn.0055d3b7
add esp, 0xc
pop esi
pop ebx
leave
ret