Function at 0x485056
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.0048e0e0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebx + 0x40], esi
jne 0x48542e
cmp byte [eax + 0x1e], 0
jne 0x48542e
mov ecx, dword [ebp + 0xc]
push edi
mov eax, ebx
call fcn.0047e408
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
je 0x48542d
push esi
push esi
push 0x6a
push edi
mov eax, ebx
call fcn.00451c77
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.004816b0
add esp, 0x18
test eax, eax
jne 0x48542d
cmp dword [ebp - 0x20], esi
mov edx, edi
setne al
push eax
mov eax, ebx
call fcn.0045864e
pop ecx
test eax, eax
jne 0x48542d
mov esi, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
call fcn.004516f9
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.00457dc9
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp eax, 1
je 0x48542d
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 0x48513f
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x485138
cmp dword [ebp - 0x10], eax
je 0x485155
push dword [edi]
lea ecx, [ebp - 0x2c]
mov eax, ebx
call fcn.00450aef
pop ecx
mov edi, ebx
call fcn.0045c77d
mov dword [ebp - 4], eax
test eax, eax
je 0x48542d
cmp byte [ebx + 0x13], 0
jne 0x485172
call fcn.0044ff2a
mov ecx, dword [ebp - 0x18]
push 1
mov eax, ebx
call fcn.00470979
cmp dword [ebp - 0x10], 0
pop ecx
je 0x485195
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push ebx
call fcn.00481125
add esp, 0x10
push 0x24
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0048e0e0
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.004620eb
test eax, eax
jne 0x48542d
mov eax, dword [ebp - 8]
test dword [eax + 0xc], 0x1000
je 0x4851e6
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.0045624d
pop ecx
pop ecx
xor edi, edi
cmp dword [ebp - 0x24], edi
jne 0x485250
cmp dword [ebp + 0x10], edi
jne 0x485250
cmp dword [ebp - 0x20], edi
jne 0x485250
mov esi, dword [ebp - 0x1c]
test byte [esi + 0x22], 0x10
jne 0x485253
push edi
push edi
push esi
mov eax, ebx
call fcn.004513a4
add esp, 0xc
test eax, eax
jne 0x485253
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.0045aa2d
mov esi, dword [esi + 0x10]
add esp, 0x18
jmp 0x485247
push dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
push dword [esi + 0x14]
push 0x60
pop eax
call fcn.0045624d
mov esi, dword [esi + 0x20]
pop ecx
pop ecx
cmp esi, edi
jne 0x485231
jmp 0x4853ce
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.0045624d
push 8
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00478259
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x48542d
mov eax, dword [ebp - 0xc]
push edi
push 0xffffffffffffffff
push esi
mov edi, ebx
call fcn.004662c8
mov ecx, dword [ebp - 4]
push eax
push dword [ebp - 0x1c]
push 0x69
pop eax
call fcn.0045624d
mov eax, dword [ebp - 8]
add esp, 0x14
test dword [eax + 0xc], 0x1000
je 0x4852ca
mov ecx, dword [ebp - 4]
push 1
push dword [ebp - 0x14]
push 0x14
pop eax
call fcn.0045624d
pop ecx
pop ecx
mov edi, dword [ebp - 0x24]
call fcn.004598f5
mov eax, dword [ebp - 4]
call fcn.00456260
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
jne 0x4852f7
mov eax, dword [ebp + 8]
push 0x27
push dword [ebp - 0xc]
mov ebx, esi
call fcn.00463d6b
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.004561b8
add esp, 0xc
test byte [esi + 0x22], 0x10
mov dword [ebp - 0x1c], eax
je 0x485356
push dword [ebp - 8]
mov eax, esi
call fcn.00451d60
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.00468686
push 0xfffffffffffffff6
push dword [ebp - 0x24]
mov eax, 0x85
push edi
push 1
push 0
push dword [ebp - 4]
call fcn.0045aa2d
mov ecx, dword [ebp + 8]
add esp, 0x1c
call fcn.00450f53
mov ebx, ecx
jmp 0x485372
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.00484ecc
add esp, 0x1c
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor eax, eax
push 0
inc eax
call fcn.0045624d
mov edx, dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.0044f8ce
cmp dword [ebp - 0x10], 0
jne 0x4853ce
test byte [esi + 0x22], 0x10
jne 0x4853ce
mov esi, dword [esi + 0x10]
test esi, esi
je 0x4853bf
mov edi, dword [ebp - 0xc]
inc edi
push dword [esi + 0x14]
mov ecx, dword [ebp - 4]
push edi
push 0x2b
pop eax
call fcn.0045624d
mov esi, dword [esi + 0x20]
pop ecx
inc edi
pop ecx
test esi, esi
jne 0x4853a6
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 0x2b
pop eax
call fcn.0045623c
pop ecx
cmp byte [ebx + 0x13], 0
jne 0x4853e4
cmp dword [ebx + 0x1ac], 0
jne 0x4853e4
push ebx
call fcn.0045fd6c
pop ecx
mov eax, dword [ebp - 8]
test dword [eax + 0xc], 0x1000
je 0x48542d
cmp byte [ebx + 0x13], 0
jne 0x48542d
cmp dword [ebx + 0x1ac], 0
jne 0x48542d
mov ecx, dword [ebp - 4]
xor edi, edi
inc edi
push edi
push dword [ebp - 0x14]
push 0x10
pop eax
call fcn.0045624d
mov esi, dword [ebp - 4]
call fcn.0045ac71
xor eax, eax
push eax
push str.rows_deleted
push eax
push eax
mov eax, esi
call fcn.0045e3a6
add esp, 0x18
pop edi
lea eax, [ebp - 0x2c]
call fcn.00450b02
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
call fcn.00450e8f
push dword [ebp + 0x10]
push dword [ebp - 8]
call fcn.004572b8
add esp, 0xc
pop esi
pop ebx
leave
ret