Function at 0x509c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, 1
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x68], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], 0
je 0x509ccf
jmp 0x50a7ae
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00509960
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x509ced
jmp 0x50a7ae
push 0
push 0
push 0x80
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00528880
add esp, 0x14
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + 0x2b]
xor edx, edx
cmp ecx, 2
sete dl
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x7c], 0
jne 0x509d45
push 0
push 0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050f640
add esp, 0x10
test eax, eax
jne 0x509d45
mov dword [ebp - 0xb4], 0
jmp 0x509d4f
mov dword [ebp - 0xb4], 1
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00504ad0
add esp, 8
test eax, eax
je 0x509d71
jmp 0x50a7ae
xor edx, edx
cmp dword [ebp - 0x7c], 0
setne dl
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00509ae0
add esp, 0xc
test eax, eax
je 0x509d94
jmp 0x50a7ae
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0051b090
add esp, 8
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
shl edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx]
push edx
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ecx
push 9
mov edx, dword [ebp + 8]
push edx
call fcn.004ffce0
add esp, 0x14
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jne 0x509de4
jmp 0x50a7ae
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x34], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
mov dword [ebp - 0x8c], eax
jmp 0x509e41
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x8c], 0
je 0x509e5b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], edx
jmp 0x509e23
cmp dword [ebp - 0x70], 0
je 0x509e77
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ffda0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.0051ec50
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x509e91
jmp 0x50a7ae
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x12]
test ecx, ecx
jne 0x509ea8
mov edx, dword [ebp - 0xc]
push edx
call fcn.004db280
add esp, 4
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005084b0
add esp, 0xc
cmp dword [ebp - 0x70], 0
je 0x509f08
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00509b50
add esp, 0x18
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x98], ecx
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.004efc50
add esp, 8
test eax, eax
je 0x509f47
jmp 0x50a7ae
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
and edx, 0
mov eax, dword [ecx + 0x24]
and eax, 1
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xbc]
or ecx, dword [ebp - 0xb8]
je 0x509fc4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x12]
test eax, eax
jne 0x509fc4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x509fc4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
jne 0x509fc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
push 0
push 0x47
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d5f10
add esp, 0x10
cmp dword [ebp - 0x30], 0
jne 0x50a118
cmp dword [ebp + 0x10], 0
jne 0x50a118
cmp dword [ebp - 0x60], 0
jne 0x50a118
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x50a118
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004fff40
add esp, 0x14
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x1c]
and edx, 0x80
jne 0x50a071
cmp dword [ebp - 0x88], 0
je 0x50a039
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc0], eax
jmp 0x50a043
mov dword [ebp - 0xc0], 0xffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x14]
push eax
push 0x91
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d6060
add esp, 0x1c
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
mov dword [ebp - 0x8c], eax
jmp 0x50a08e
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0
je 0x50a113
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x2c]
push edx
push 0x91
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5f10
add esp, 0x10
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x38]
and edx, 3
cmp edx, 2
jne 0x50a10e
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
and ecx, 0x80
je 0x50a10e
cmp dword [ebp - 0x88], 0
je 0x50a0ef
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xc4], edx
jmp 0x50a0f9
mov dword [ebp - 0xc4], 0xffffffff
mov eax, dword [ebp - 0xc4]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d68f0
add esp, 0xc
jmp 0x50a07f
jmp 0x50a76d
mov edx, 0x14
mov word [ebp - 0xa4], dx
mov eax, dword [ebp - 0x3c]
and eax, 0x40
je 0x50a133
mov dword [ebp - 0x60], 1
mov ecx, dword [ebp - 0x60]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
movzx edx, word [ebp - 0xa4]
or edx, ecx
mov word [ebp - 0xa4], dx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1c]
and ecx, 0x80
jne 0x50a19c
mov dword [ebp - 0x6c], 0
mov edx, 1
mov word [ebp - 0x5c], dx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
push 0
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5f10
add esp, 0x10
jmp 0x50a214
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00501750
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov ax, word [edx + 0x32]
mov word [ebp - 0x5c], ax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov dword [ebp - 0x28], edx
movsx eax, word [ebp - 0x5c]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x2c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], eax
movsx edx, word [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x78]
push eax
push 0x76
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d5f10
add esp, 0x10
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004d6e80
add esp, 8
mov ecx, dword [ebp - 0xa0]
add ecx, 1
push ecx
movzx edx, word [ebp - 0xa4]
push edx
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053e600
add esp, 0x20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x50a24e
jmp 0x50a7ae
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00536d60
add esp, 8
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
je 0x50a279
mov edx, dword [ebp + 8]
push edx
call fcn.00508510
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00536d80
add esp, 4
test eax, eax
je 0x50a2a1
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x8f
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d5ef0
add esp, 0xc
cmp dword [ebp - 0x88], 0
je 0x50a2c1
push 1
mov eax, dword [ebp - 0x88]
push eax
push 0x56
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d5f10
add esp, 0x10
cmp dword [ebp - 0x6c], 0
je 0x50a318
mov dword [ebp - 0x24], 0
jmp 0x50a2d9
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
movsx eax, word [ebp - 0x5c]
cmp dword [ebp - 0x24], eax
jge 0x50a310
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x24]
movsx edx, word [eax + ecx*2]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004f5360
add esp, 0x14
jmp 0x50a2d0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
jmp 0x50a34d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004f5360
add esp, 0x14
cmp dword [ebp - 0x84], 0
je 0x50a40f
mov cx, word [ebp - 0x5c]
mov word [ebp - 0x64], cx
mov eax, dword [ebp - 0x90]
add eax, 2
cdq
push edx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004aad10
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x50a394
mov eax, dword [ebp - 8]
push eax
call fcn.0053f410
add esp, 4
jmp 0x50a7ae
mov ecx, dword [ebp - 0x90]
add ecx, 1
push ecx
push 1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00568440
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x90]
mov byte [eax + 1], 0
cmp dword [ebp - 0x14], 0
jl 0x50a3cf
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x2c]
mov byte [edx + ecx], 0
cmp dword [ebp - 0x10], 0
jl 0x50a3e5
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
cmp dword [ebp - 0x68], 0
je 0x50a3fb
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d6be0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d6400
add esp, 4
mov dword [ebp - 0x74], eax
jmp 0x50a4b8
cmp dword [ebp - 0x6c], 0
je 0x50a48a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov word [ebp - 0x64], cx
movsx edx, word [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.00510120
add esp, 8
push eax
mov eax, dword [ebp - 0x20]
push eax
movsx ecx, word [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 0x61
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d6060
add esp, 0x1c
movsx ecx, word [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push 0x8a
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d6370
add esp, 0x18
jmp 0x50a4ac
mov eax, 1
mov word [ebp - 0x64], ax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x80]
push edx
push 0x9c
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5f10
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.0053f410
add esp, 4
cmp dword [ebp - 0x70], 0
jne 0x50a52b
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x84], 2
jne 0x50a4e5
push 0xe
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d5ed0
add esp, 8
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
push 8
push 0x71
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00513b00
add esp, 0x20
cmp dword [ebp - 0x84], 2
jne 0x50a52b
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d6960
add esp, 8
cmp dword [ebp - 0x84], 0
je 0x50a57b
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
je 0x50a579
mov ecx, dword [ebp - 0x98]
sub ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x50a579
movsx ecx, word [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
push 0x1b
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d6370
add esp, 0x18
jmp 0x50a5f8
cmp dword [ebp - 0x6c], 0
je 0x50a5da
mov eax, dword [ebp - 0x78]
push eax
push 0x23
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d5ef0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x2b]
cmp eax, 1
jne 0x50a5bf
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x78]
push edx
push 0x5e
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5e30
add esp, 0x14
jmp 0x50a5d8
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0x86
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5f10
add esp, 0x10
jmp 0x50a5f8
mov ecx, dword [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x80]
push edx
push 0x2d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5e30
add esp, 0x14
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x2b]
cmp edx, 1
jne 0x50a697
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0052d3c0
add esp, 8
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0052ebb0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00508550
add esp, 4
cmp dword [ebp - 0x84], 1
jne 0x50a668
mov edx, dword [ebp - 0xa0]
push edx
push 0x7a
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5ef0
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x74], 0
jne 0x50a668
mov edx, dword [ebp + 8]
mov byte [edx + 0x14], 0
push 0xfffffffffffffff5
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
push 0
push 7
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d6060
add esp, 0x1c
push 2
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d6910
add esp, 8
jmp 0x50a6e9
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 0x84]
push ecx
push 0xb
movzx edx, byte [ebp - 0xb0]
push edx
movzx eax, word [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0050a7f0
add esp, 0x2c
cmp dword [ebp - 0x84], 0
je 0x50a710
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d6490
add esp, 8
mov eax, dword [ebp - 8]
push eax
call fcn.0053f410
add esp, 4
jmp 0x50a76d
cmp dword [ebp - 0x6c], 0
je 0x50a747
mov ecx, dword [ebp - 0x94]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0x26
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d5f10
add esp, 0x10
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d6940
add esp, 8
jmp 0x50a76d
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d5f30
add esp, 8
mov edx, dword [ebp - 0x94]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004d6940
add esp, 8
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x12]
test edx, edx
jne 0x50a78d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
jne 0x50a78d
mov ecx, dword [ebp + 8]
push ecx
call fcn.00510ca0
add esp, 4
cmp dword [ebp - 0x88], 0
je 0x50a7ae
push str.rows_deleted
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.005099f0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004ffdd0
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00507b60
add esp, 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004f1950
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004aa9d0
add esp, 8
mov esp, ebp
pop ebp
ret