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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x5c2b80]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x80], eax
cmp dword [edi + 0x40], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], eax
mov eax, dword [edi]
mov dword [esp + 0x70], edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 0xffffffff
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x28], eax
jne 0x4bf87c
cmp byte [eax + 0x41], 0
jne 0x4bf87c
call fcn.004bec60
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x4bf87c
push 0
push 0
push 0x6d
mov edx, esi
mov ecx, edi
call fcn.004da6b0
mov dword [esp + 0x84], eax
add esp, 0xc
xor eax, eax
mov edx, esi
cmp dword [esi + 0xc], eax
mov ecx, edi
setne al
mov dword [esp + 0x58], eax
call fcn.004ba6b0
test eax, eax
jne 0x4bf87c
cmp dword [esp + 0x78], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004becf0
add esp, 4
test eax, eax
jne 0x4bf87c
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x44]
call fcn.004ce3d0
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.004b75f0
add esp, 0xc
mov dword [esp + 0x60], eax
cmp eax, 1
je 0x4bf87c
mov ecx, dword [esp + 0x54]
xor edx, edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x44]
test eax, eax
je 0x4bf0e4
inc ecx
inc edx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4bf0d4
mov dword [esp + 0x64], edx
cmp dword [esp + 0x58], 0
je 0x4bf103
mov eax, dword [edi + 0x1ec]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], edi
mov dword [edi + 0x1ec], eax
jmp 0x4bf113
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov ecx, edi
call fcn.004d1c30
mov esi, eax
mov dword [esp + 0x88], esi
test esi, esi
je 0x4bf45b
cmp byte [edi + 0x12], 0
jne 0x4bf135
or dword [esi + 0x58], 0x10
push dword [esp + 0x10]
mov edx, 1
mov ecx, edi
call fcn.004bd580
add esp, 4
cmp dword [esp + 0x58], 0
je 0x4bf17a
push dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, edi
push dword [esp + 0x48]
call fcn.004bed80
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x90]
mov edx, dword [esp + 0x44]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
call fcn.004ada90
test eax, eax
jne 0x4bf45b
mov eax, dword [esp + 0x28]
test byte [eax + 0x18], 0x80
je 0x4bf1df
inc dword [edi + 0x48]
mov edx, 0x19
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x64], eax
call fcn.0049bcd0
add esp, 8
cmp dword [esp + 0x60], 0
mov ecx, dword [esp + 0xc]
jne 0x4bf2a6
cmp dword [esp + 0x44], 0
jne 0x4bf2a6
cmp dword [esp + 0x78], 0
jne 0x4bf2a6
test byte [ecx + 0x2c], 0x10
jne 0x4bf2a6
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x4bf229
push 0
xor edx, edx
call fcn.004c4f60
add esp, 4
test eax, eax
jne 0x4bf2a2
mov eax, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x10]
push dword [eax]
push 1
push dword [eax + 0x20]
call fcn.004b7680
mov eax, dword [esp + 0x18]
add esp, 0xc
test byte [eax + 0x2c], 0x20
jne 0x4bf26e
push 0xfffffffffffffffe
push dword [eax]
mov edx, 0x76
mov ecx, esi
push dword [esp + 0x64]
push dword [esp + 0x1c]
push dword [eax + 0x20]
call fcn.0049bd40
mov eax, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4bf809
mov edi, eax
nop
push dword [esp + 0x10]
mov edx, 0x76
mov ecx, esi
push dword [edi + 0x28]
call fcn.0049bcd0
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x4bf280
jmp 0x4bf805
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x2c], 0x20
jne 0x4bf2da
inc dword [edi + 0x48]
mov edx, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x7c], eax
call fcn.0049bcd0
add esp, 8
jmp 0x4bf32d
call fcn.004b8a70
mov dword [esp + 0x24], eax
movzx ecx, word [eax + 0x2e]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x10], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x54], edx
mov ecx, esi
mov edx, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov dword [esp + 0x50], edx
push edx
lea eax, [edx + 1]
mov edx, 0x39
mov dword [edi + 0x44], eax
call fcn.0049bcd0
mov edx, dword [esp + 0x2c]
add esp, 8
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.0049c4a0
mov eax, dword [esp + 0x20]
mov ecx, edi
mov edx, dword [esp + 0x54]
inc eax
push eax
push 0xc
push 0
push 0
push dword [esp + 0x54]
call fcn.004e7ed0
add esp, 0x14
mov dword [esp + 0x60], eax
test eax, eax
je 0x4bf45b
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], ecx
test byte [eax + 0x18], 0x80
je 0x4bf38f
push 1
push dword [esp + 0x60]
mov edx, 0x25
mov ecx, esi
call fcn.0049bcd0
add esp, 8
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4bf3f5
mov eax, dword [esp + 0x10]
xor ecx, ecx
cwde
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x4bf3eb
mov edi, dword [esp + 0xc]
lea ebx, [ebx]
mov eax, dword [esp + 0x50]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x28]
call fcn.004b1440
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x10]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x4bf3b0
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], eax
jmp 0x4bf41c
mov eax, dword [edi + 0x48]
mov ecx, edi
mov edx, dword [esp + 0xc]
inc eax
push 0
push eax
push dword [esp + 0x28]
push 0xffffffffffffffff
call fcn.004b1540
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x48]
jle 0x4bf41c
mov dword [edi + 0x48], eax
cmp dword [esp + 0x34], 0
je 0x4bf52c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
lea eax, [eax + 2]
cdq
push edx
push eax
call fcn.0047d250
mov ecx, eax
add esp, 8
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x4bf4c5
mov ecx, dword [esp + 0x60]
call fcn.004e88d0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bf46d
mov dword [eax + 0x1ec], ecx
mov esi, dword [esp + 0x28]
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.004bcca0
mov edx, dword [esp + 0x44]
mov ecx, esi
call fcn.004aeb80
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4bf8ca
test esi, esi
je 0x4bf8c1
cmp dword [esi + 0x208], 0
je 0x4bf889
mov edx, ecx
mov ecx, esi
call fcn.0047cf90
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x64]
inc eax
push eax
push 1
push ecx
call fcn.0052ebd0
mov ecx, dword [esp + 0x70]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x8c]
mov byte [ecx + eax + 1], 0
mov ecx, dword [esp + 0x20]
test edx, edx
js 0x4bf4f8
sub edx, ecx
mov byte [edx + eax], 0
mov edx, dword [esp + 0x68]
test edx, edx
js 0x4bf506
sub edx, ecx
mov byte [edx + eax], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4bf51a
mov edx, eax
mov ecx, esi
call fcn.0049c360
mov edx, 0x10
mov ecx, esi
call fcn.0049bc00
mov dword [esp + 0x2c], eax
jmp 0x4bf5ab
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4bf58f
inc dword [edi + 0x48]
mov edx, ecx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
movsx esi, ax
push esi
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x38], 0
call fcn.004c5df0
add esp, 4
mov edx, 0x31
push eax
push dword [esp + 0x1c]
push esi
push dword [esp + 0x60]
mov esi, dword [esp + 0x9c]
mov ecx, esi
call fcn.0049bd40
add esp, 0x14
mov edx, 0x6e
push dword [esp + 0x14]
push dword [esp + 0x50]
jmp 0x4bf5a1
push eax
push dword [esp + 0x78]
mov dword [esp + 0x38], 1
mov edx, 0x80
mov ecx, esi
call fcn.0049bcd0
add esp, 8
mov ecx, dword [esp + 0x60]
call fcn.004e88d0
cmp dword [esp + 0x34], 0
je 0x4bf5e6
mov ecx, esi
call fcn.0049bed0
push eax
push 0
mov edx, 0x10
mov dword [esp + 0x84], eax
mov ecx, esi
call fcn.0049bcd0
mov edx, dword [esp + 0x34]
add esp, 8
mov ecx, esi
call fcn.0049c190
cmp dword [esp + 0x58], 0
jne 0x4bf61d
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push dword [esp + 0x48]
push dword [esp + 0x2c]
push 0x37
call fcn.004c9490
mov eax, dword [esp + 0x94]
add esp, 0x14
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4bf65a
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
cmp byte [eax + ecx], 0
je 0x4bf6b0
mov eax, dword [esp + 0x30]
mov edx, 0x44
cwde
push eax
push dword [esp + 0x18]
push dword [esp + 0x84]
push ecx
mov ecx, esi
call fcn.0049be60
add esp, 0x10
jmp 0x4bf6ac
cmp dword [esp + 0x24], 0
mov ecx, esi
je 0x4bf691
push dword [esp + 0x4c]
mov edx, 0x6c
call fcn.0049bc60
add esp, 4
mov dword [esp + 0x38], eax
mov edx, 0x65
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x50]
call fcn.0049bcd0
add esp, 8
jmp 0x4bf6ac
push dword [esp + 0x14]
mov edx, 0x81
push 0
push dword [esp + 0x7c]
call fcn.0049bba0
add esp, 0xc
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x2c], 0x10
je 0x4bf72a
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4bf6df
mov edx, dword [esp + 0x28]
lea esp, [esp]
cmp dword [eax], edx
je 0x4bf6db
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4bf6d0
mov dword [esp + 0x2c], eax
mov edx, ecx
mov ecx, edi
call fcn.004df5e0
push 0xfffffffffffffff6
push dword [esp + 0x30]
mov edx, 0xf
mov ecx, esi
push dword [esp + 0x1c]
push 1
push 0
call fcn.0049bd40
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x4bf717
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov eax, dword [edi + 0x198]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x4bf75b
cmp byte [edi + 0x12], 0
push edx
push 0xa
sete al
mov edx, ecx
movzx eax, al
mov ecx, edi
push eax
push dword [esp + 0x3c]
push dword [esp + 0x24]
push dword [esp + 0x50]
push dword [esp + 0x60]
push dword [esp + 0x94]
call fcn.004bf8e0
add esp, 0x20
cmp dword [esp + 0x34], 0
mov ecx, esi
je 0x4bf76f
mov edx, dword [esp + 0x7c]
call fcn.0049bf20
jmp 0x4bf7a5
cmp dword [esp + 0x24], 0
je 0x4bf787
mov eax, dword [esp + 0x38]
mov edx, 9
inc eax
push eax
push dword [esp + 0x50]
jmp 0x4bf792
push dword [esp + 0x38]
mov edx, 0x10
push 0
call fcn.0049bcd0
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, esi
call fcn.0049c190
cmp dword [esp + 0x58], 0
jne 0x4bf809
mov eax, dword [esp + 0xc]
test byte [eax + 0x2c], 0x10
jne 0x4bf809
cmp dword [esp + 0x24], 0
jne 0x4bf7d4
push dword [esp + 0x48]
mov edx, 0x3d
mov ecx, esi
call fcn.0049bc60
mov eax, dword [esp + 0x10]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
test eax, eax
je 0x4bf809
mov edi, eax
mov eax, dword [esp + 0x3c]
push eax
mov edx, 0x3d
mov ecx, esi
call fcn.0049bc60
mov eax, dword [esp + 0x40]
add esp, 4
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x3c], eax
test edi, edi
jne 0x4bf7e5
mov edi, dword [esp + 0x70]
cmp byte [edi + 0x12], 0
jne 0x4bf81f
cmp dword [edi + 0x19c], 0
jne 0x4bf81f
mov ecx, edi
call fcn.004c64e0
mov eax, dword [esp + 0x28]
test byte [eax + 0x18], 0x80
je 0x4bf45b
cmp byte [edi + 0x12], 0
jne 0x4bf45b
cmp dword [edi + 0x19c], 0
jne 0x4bf45b
push 1
push dword [esp + 0x60]
mov edx, 0x23
mov ecx, esi
call fcn.0049bcd0
mov edx, 1
mov ecx, esi
call fcn.0049d4b0
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.0049d580
add esp, 0x14
jmp 0x4bf45b
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
jmp 0x4bf463
cmp ecx, dword [esi + 0x114]
jb 0x4bf8c1
cmp ecx, dword [esi + 0x118]
jae 0x4bf8c1
mov eax, dword [esi + 0x110]
mov dword [ecx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret
push ecx
call fcn.0047cef0
add esp, 4
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret