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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
push esi
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], ecx
cmp dword [ebx + 0x24], eax
jne 0x4f176a
mov edx, ecx
cmp byte [edx + 0x45], al
jne 0x4f176a
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004f0d00
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x4f176a
push 0
mov esi, eax
push 0
push 0x6d
mov edx, esi
mov eax, ebx
call fcn.0050a1c0
xor ecx, ecx
add esp, 0xc
cmp dword [esi + 0xc], ecx
mov dword [esp + 0x60], eax
setne cl
mov dword [esp + 0x58], ecx
test eax, eax
jne 0x4f1016
mov edx, dword [ebx]
test dword [edx + 0x18], 0x4000
je 0x4f100c
push eax
push eax
push esi
call fcn.004f66d0
add esp, 0xc
test eax, eax
jne 0x4f1016
mov dword [esp + 0x18], 0
jmp 0x4f101e
mov dword [esp + 0x18], 1
push esi
mov eax, ebx
call fcn.004ecd60
add esp, 4
test eax, eax
jne 0x4f176a
cmp dword [esp + 0x60], eax
mov ecx, esi
setne al
push eax
mov eax, ebx
call fcn.004f0d80
add esp, 4
test eax, eax
jne 0x4f176a
mov ecx, dword [esp + 0x24]
mov edi, esi
mov esi, dword [edi + 0x48]
call fcn.004ff0c0
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [edx + 0x10]
mov edx, dword [edi]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + eax]
push ecx
push 0
push edx
push 9
mov eax, ebx
mov dword [esp + 0x2c], esi
call fcn.004e9b50
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp eax, 1
je 0x4f176a
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x28]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
xor edx, edx
mov dword [esp + 0x6c], edx
test eax, eax
je 0x4f10c0
nop
inc ecx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x4f10b0
mov dword [esp + 0x6c], edx
cmp dword [esp + 0x58], 0
je 0x4f10dd
mov edx, dword [ebx + 0x1b8]
mov eax, dword [edi]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edx
mov dword [ebx + 0x1b8], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4f10ef
mov edi, ebx
call fcn.005024e0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4f176a
cmp byte [ebx + 0x12], 0
jne 0x4f1108
or dword [eax + 0x94], 0x10
push 1
mov ecx, esi
mov edx, ebx
call fcn.004ef8e0
add esp, 4
cmp dword [esp + 0x58], 0
je 0x4f113c
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
push ebx
call fcn.004f0e00
add esp, 0x10
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], edi
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0xc]
push ecx
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
call fcn.004df6f0
add esp, 4
test eax, eax
jne 0x4f176a
mov edx, dword [esp + 0x24]
test byte [edx + 0x18], 0x80
je 0x4f11be
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
push eax
push edi
push eax
mov eax, dword [esp + 0x1c]
push 0x38
push eax
mov dword [esp + 0x54], edi
call fcn.004cd400
add esp, 0x14
jmp 0x4f11c2
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jne 0x4f1256
cmp dword [ebp + 0x10], 0
jne 0x4f1256
test eax, eax
jne 0x4f1256
cmp dword [esi + 0x38], eax
jne 0x4f1256
mov ecx, dword [esi]
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x1c]
push ecx
push 1
push edx
push eax
mov eax, ebx
call fcn.004e9be0
add esp, 0x10
test byte [esi + 0x24], 0x20
jne 0x4f1222
mov ecx, dword [esi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov eax, edi
mov edi, dword [esp + 0x1c]
push 0x83
call fcn.004cd600
add esp, 0x10
mov edi, dword [esi + 8]
test edi, edi
je 0x4f1706
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x2c]
push 0
push eax
push ecx
push 0x83
push esi
call fcn.004cd400
mov edi, dword [edi + 0x14]
add esp, 0x14
test edi, edi
jne 0x4f1231
jmp 0x4f1706
test byte [esp + 0x94], 0x40
je 0x4f1265
mov eax, 1
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
mov edx, 0x414
or ax, dx
test byte [esi + 0x24], 0x20
movzx eax, ax
mov dword [esp + 0x2c], eax
jne 0x4f12b1
mov ecx, dword [esp + 0x10]
mov edi, 1
add dword [ebx + 0x2c], edi
mov eax, dword [ebx + 0x2c]
push 0
push eax
push 0
push 0x3b
push ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x64], eax
call fcn.004cd400
add esp, 0x14
jmp 0x4f1301
mov eax, esi
call fcn.004eaec0
mov esi, eax
movzx edi, word [esi + 0x32]
mov eax, dword [ebx + 0x2c]
lea edx, [eax + 1]
movsx ecx, di
add eax, ecx
push 0
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
mov dword [esp + 0x40], edx
lea edx, [eax + 1]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
push 0x6c
push eax
mov dword [esp + 0x30], esi
mov dword [ebx + 0x28], edx
call fcn.004cd400
mov dword [esp + 0x44], eax
add esp, 0x14
mov ecx, esi
mov eax, ebx
call fcn.004cdfc0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
inc ecx
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push 0
push 0
push eax
push ecx
push ebx
call fcn.00518750
add esp, 0x1c
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4f176a
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x70], edx
movzx edx, byte [eax + 0x31]
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
mov dword [esp + 0x74], ecx
mov dword [esp + 0x18], edx
je 0x4f1365
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push 0
push 1
push ecx
push 0x45
push edx
call fcn.004cd400
add esp, 0x14
cmp dword [esp + 0x1c], 0
je 0x4f13b1
movsx eax, di
xor esi, esi
test eax, eax
jle 0x4f13a7
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
lea ecx, [esi + eax]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x14]
movsx eax, word [eax + esi*2]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
call fcn.004e4230
movsx eax, di
inc esi
add esp, 0x10
cmp esi, eax
jl 0x4f1375
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
jmp 0x4f13dc
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x14]
push 0
inc eax
push eax
mov eax, dword [esp + 0x30]
push eax
push 0xffffffffffffffff
push ecx
mov esi, ebx
call fcn.004e42e0
add esp, 0x14
cmp eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
jle 0x4f13dc
mov edx, eax
mov dword [ebx + 0x2c], edx
cmp dword [esp + 0x18], 0
je 0x4f1477
mov esi, dword [esp + 0x6c]
movzx eax, di
mov dword [esp + 0x48], eax
lea eax, [esi + 2]
cdq
push edx
push eax
mov eax, dword [esp + 0x2c]
call fcn.004afe20
mov edi, eax
add esp, 8
mov dword [esp + 0x4c], edi
test edi, edi
jne 0x4f1420
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00519100
add esp, 4
jmp 0x4f176a
lea edx, [esi + 1]
push edx
push 1
push edi
call fcn.0052e300
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov byte [esi + edi + 1], 0
test eax, eax
jl 0x4f1444
sub eax, dword [esp + 0x28]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x74]
test eax, eax
jl 0x4f1454
sub eax, dword [esp + 0x28]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4f1467
mov edx, esi
call fcn.004cde10
mov eax, esi
call fcn.004cd7c0
mov dword [esp + 0x5c], eax
jmp 0x4f14f1
cmp dword [esp + 0x1c], 0
je 0x4f1557
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov esi, dword [esp + 0x1c]
movsx edi, di
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x38], edi
call fcn.004f7160
mov ecx, dword [esp + 0x3c]
add esp, 4
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, edi
mov edi, dword [esp + 0x1c]
push 0x63
call fcn.004cd600
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x4c]
push 0x7e
mov esi, edi
call fcn.004cd750
add esp, 0x1c
mov eax, dword [esp + 0x2c]
push eax
call fcn.00519100
mov edi, dword [esp + 0x50]
add esp, 4
cmp dword [esp + 0x58], 0
jne 0x4f1582
cmp dword [esp + 0x18], 2
mov dword [esp + 0x30], 0
jne 0x4f1520
push 0
push 0
push 0
push 0x14
push esi
call fcn.004cd400
add esp, 0x14
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
push edi
push eax
push 8
push 0x69
push ecx
mov eax, ebx
call fcn.004f9e30
add esp, 0x1c
cmp dword [esp + 0x18], 2
jne 0x4f1582
mov eax, dword [esp + 0x30]
mov edx, esi
call fcn.004cdb30
jmp 0x4f1589
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
push 0
push ecx
push edx
push 0x8f
push esi
mov dword [esp + 0x5c], 1
call fcn.004cd400
add esp, 0x14
jmp 0x4f14e0
cmp dword [esp + 0x18], 0
je 0x4f15c2
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x38], 0
jne 0x4f160e
sub edi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
cmp byte [edi + eax], 0
je 0x4f160e
movsx ecx, word [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x60]
mov edx, eax
mov eax, dword [esp + 0x24]
push edx
push 0x1d
call fcn.004cd750
add esp, 0xc
jmp 0x4f160e
cmp dword [esp + 0x1c], 0
je 0x4f15f3
mov edi, dword [esp + 0x44]
push 0
push 0
push edi
push 0x25
push esi
call fcn.004cd400
add esp, 0x14
push 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
push eax
push edi
push 0x7a
push esi
call fcn.004cd400
jmp 0x4f160b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
push ecx
push 0
push edx
push 0x2a
push esi
call fcn.004cd400
mov dword [esp + 0x50], eax
add esp, 0x14
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x38], 0
je 0x4f1672
mov ecx, dword [esp + 0x24]
mov edx, eax
call fcn.0050cd80
mov esi, eax
push edx
mov eax, ebx
call fcn.0050e090
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
add esp, 4
push 0xfffffffffffffff4
push esi
push 0
push 0xc
mov ecx, 1
call fcn.004cd600
add esp, 0x10
mov edx, 2
mov ecx, edi
call fcn.004cdb10
mov ecx, ebx
call fcn.004ef920
cmp dword [esp + 0x18], 1
jne 0x4f16b4
cmp dword [ebx + 0x78], 0
jne 0x4f16bb
mov byte [ebx + 0x14], 0
jmp 0x4f16bb
cmp byte [ebx + 0x12], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov edx, dword [esp + 0x50]
push 0xa
sete al
movzx ecx, al
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push ebx
call fcn.004f1800
mov edi, dword [esp + 0x3c]
add esp, 0x2c
cmp dword [esp + 0x18], 0
je 0x4f16d5
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.004cd810
mov edx, dword [esp + 0x2c]
push edx
call fcn.00519100
add esp, 4
jmp 0x4f1706
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0x3c]
push 0
je 0x4f16ef
mov ecx, dword [esp + 0x48]
lea eax, [esi + 1]
push eax
push ecx
push 7
jmp 0x4f16f4
push esi
push 0
push 0xd
push edi
call fcn.004cd400
add esp, 0x14
mov eax, esi
mov edx, edi
call fcn.004cdb30
cmp byte [ebx + 0x12], 0
jne 0x4f171f
cmp dword [ebx + 0x7c], 0
jne 0x4f171f
cmp dword [ebx + 0x74], 0
je 0x4f171f
mov esi, ebx
call fcn.004f7620
mov edx, dword [esp + 0x24]
test byte [edx + 0x18], 0x80
je 0x4f176a
cmp byte [ebx + 0x12], 0
jne 0x4f176a
cmp dword [ebx + 0x7c], 0
jne 0x4f176a
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
push 0
push 1
push eax
push 0x43
push esi
call fcn.004cd400
add esp, 0x14
push 1
push esi
call fcn.004cef40
push 0
push str.rows_deleted
push 0
push 0
mov ecx, esi
call fcn.004cf010
add esp, 0x18
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4f177c
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x1b8], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
push edx
mov eax, esi
call fcn.004ef1b0
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x4f179f
push eax
push esi
call fcn.004e0aa0
add esp, 8
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4f17f6
test esi, esi
je 0x4f17ed
cmp dword [esi + 0x1c8], 0
je 0x4f17c2
mov ecx, esi
call fcn.004afa70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x120]
jb 0x4f17ed
cmp eax, dword [esi + 0x124]
jae 0x4f17ed
mov ecx, dword [esi + 0x11c]
mov dword [eax], ecx
dec dword [esi + 0x108]
mov dword [esi + 0x11c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004afa00
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret