Function at 0x579509
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.005847c0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebx + 0x40], esi
jne 0x5798e1
cmp byte [eax + 0x1e], 0
jne 0x5798e1
mov ecx, dword [ebp + 0xc]
push edi
mov eax, ebx
call fcn.005728bc
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
je 0x5798e0
push esi
push esi
push 0x6a
push edi
mov eax, ebx
call fcn.00546128
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.00575b63
add esp, 0x18
test eax, eax
jne 0x5798e0
cmp dword [ebp - 0x20], esi
mov edx, edi
setne al
push eax
mov eax, ebx
call fcn.0054caff
pop ecx
test eax, eax
jne 0x5798e0
mov esi, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
call fcn.00545baa
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.0054c27a
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp eax, 1
je 0x5798e0
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 0x5795f2
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x5795eb
cmp dword [ebp - 0x10], eax
je 0x579608
push dword [edi]
lea ecx, [ebp - 0x2c]
mov eax, ebx
call fcn.00544fa0
pop ecx
mov edi, ebx
call fcn.00550c2e
mov dword [ebp - 4], eax
test eax, eax
je 0x5798e0
cmp byte [ebx + 0x13], 0
jne 0x579625
call fcn.005443de
mov ecx, dword [ebp - 0x18]
push 1
mov eax, ebx
call fcn.00564e2d
cmp dword [ebp - 0x10], 0
pop ecx
je 0x579648
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push ebx
call fcn.005755d8
add esp, 0x10
push 0x24
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.005847c0
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.0055659c
test eax, eax
jne 0x5798e0
mov eax, dword [ebp - 8]
test dword [eax + 0xc], 0x1000
je 0x579699
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.0054a6fe
pop ecx
pop ecx
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x579703
cmp dword [ebp + 0x10], edi
jne 0x579703
cmp dword [ebp - 0x20], edi
jne 0x579703
mov esi, dword [ebp - 0x1c]
test byte [esi + 0x22], 0x10
jne 0x579706
push edi
push edi
push esi
mov eax, ebx
call fcn.00545855
add esp, 0xc
test eax, eax
jne 0x579706
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.0054eede
mov esi, dword [esi + 0x10]
add esp, 0x18
jmp 0x5796fa
push dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
push dword [esi + 0x14]
push 0x60
pop eax
call fcn.0054a6fe
mov esi, dword [esi + 0x20]
pop ecx
pop ecx
cmp esi, edi
jne 0x5796e4
jmp 0x579881
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.0054a6fe
push 8
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0056c70d
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5798e0
mov eax, dword [ebp - 0xc]
push edi
push 0xffffffffffffffff
push esi
mov edi, ebx
call fcn.0055a779
mov ecx, dword [ebp - 4]
push eax
push dword [ebp - 0x1c]
push 0x69
pop eax
call fcn.0054a6fe
mov eax, dword [ebp - 8]
add esp, 0x14
test dword [eax + 0xc], 0x1000
je 0x57977d
mov ecx, dword [ebp - 4]
push 1
push dword [ebp - 0x14]
push 0x14
pop eax
call fcn.0054a6fe
pop ecx
pop ecx
mov edi, dword [ebp - 0x24]
call fcn.0054dda6
mov eax, dword [ebp - 4]
call fcn.0054a711
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
jne 0x5797aa
mov eax, dword [ebp + 8]
push 0x27
push dword [ebp - 0xc]
mov ebx, esi
call fcn.0055821c
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.0054a669
add esp, 0xc
test byte [esi + 0x22], 0x10
mov dword [ebp - 0x1c], eax
je 0x579809
push dword [ebp - 8]
mov eax, esi
call fcn.00546211
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.0055cb3a
push 0xfffffffffffffff6
push dword [ebp - 0x24]
mov eax, 0x85
push edi
push 1
push 0
push dword [ebp - 4]
call fcn.0054eede
mov ecx, dword [ebp + 8]
add esp, 0x1c
call fcn.00545404
mov ebx, ecx
jmp 0x579825
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.0057937f
add esp, 0x1c
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor eax, eax
push 0
inc eax
call fcn.0054a6fe
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.00543d82
cmp dword [ebp - 0x10], 0
jne 0x579881
test byte [esi + 0x22], 0x10
jne 0x579881
mov esi, dword [esi + 0x10]
test esi, esi
je 0x579872
mov edi, dword [ebp - 0xc]
inc edi
push dword [esi + 0x14]
mov ecx, dword [ebp - 4]
push edi
push 0x2b
pop eax
call fcn.0054a6fe
mov esi, dword [esi + 0x20]
pop ecx
inc edi
pop ecx
test esi, esi
jne 0x579859
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0054a6ed
pop ecx
cmp byte [ebx + 0x13], 0
jne 0x579897
cmp dword [ebx + 0x1ac], 0
jne 0x579897
push ebx
call fcn.0055421d
pop ecx
mov eax, dword [ebp - 8]
test dword [eax + 0xc], 0x1000
je 0x5798e0
cmp byte [ebx + 0x13], 0
jne 0x5798e0
cmp dword [ebx + 0x1ac], 0
jne 0x5798e0
mov ecx, dword [ebp - 4]
xor edi, edi
inc edi
push edi
push dword [ebp - 0x14]
push 0x10
pop eax
call fcn.0054a6fe
mov esi, dword [ebp - 4]
call fcn.0054f122
xor eax, eax
push eax
push str.rows_deleted
push eax
push eax
mov eax, esi
call fcn.00552857
add esp, 0x18
pop edi
lea eax, [ebp - 0x2c]
call fcn.00544fb3
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
call fcn.00545340
push dword [ebp + 0x10]
push dword [ebp - 8]
call fcn.0054b769
add esp, 0xc
pop esi
pop ebx
leave
ret