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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x24], edi
jne 0x4f30d7
cmp byte [eax + 0x49], 0
jne 0x4f30d7
mov ecx, dword [ebp + 0xc]
mov eax, esi
call fcn.004f2660
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, edi
je 0x4f30d7
push edi
push edi
push 0x75
mov edx, ebx
mov eax, esi
call fcn.0050cb50
xor ecx, ecx
add esp, 0xc
cmp dword [ebx + 0xc], edi
mov dword [esp + 0x48], eax
setne cl
mov dword [esp + 0x5c], ecx
cmp eax, edi
jne 0x4f2941
push edi
push ebx
xor ecx, ecx
mov eax, esi
call fcn.004f8280
add esp, 8
mov dword [esp + 0x14], edi
test eax, eax
je 0x4f2949
mov dword [esp + 0x14], 1
push ebx
mov eax, esi
call fcn.004ee620
add esp, 4
test eax, eax
jne 0x4f30d7
xor edx, edx
cmp dword [esp + 0x48], edi
mov ecx, ebx
setne dl
mov eax, esi
push edx
call fcn.004f26d0
add esp, 4
test eax, eax
jne 0x4f30d7
mov edx, dword [ebx + 0x48]
mov ecx, dword [esp + 0x2c]
call fcn.00501000
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebx]
mov dword [esp + 0x18], eax
shl eax, 4
mov eax, dword [eax + edx]
push eax
push edi
push ecx
push 9
mov eax, esi
call fcn.004eb3a0
add esp, 0x10
mov dword [esp + 0x3c], eax
cmp eax, 1
je 0x4f30d7
mov eax, dword [esi + 0x28]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x34], eax
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x54], edx
cmp eax, edi
je 0x4f29e5
inc ecx
mov dword [esi + 0x28], ecx
mov eax, dword [eax + 0x14]
inc edx
cmp eax, edi
jne 0x4f29d5
mov dword [esp + 0x54], edx
cmp dword [esp + 0x5c], edi
je 0x4f2a01
mov eax, dword [esi + 0xec]
mov ecx, dword [ebx]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esi + 0xec], ecx
mov eax, esi
call fcn.005046c0
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4f30d7
cmp byte [esi + 0x12], 0
jne 0x4f2a21
or dword [eax + 0x94], 0x20
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, esi
call fcn.004f12a0
add esp, 4
cmp dword [esp + 0x5c], edi
je 0x4f2a5d
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
push eax
push ecx
push edx
push ebx
push esi
call fcn.004f2750
add esp, 0x18
mov dword [esp + 0x60], edi
mov dword [esp + 0x40], 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], esi
mov dword [esp + 0x80], eax
call fcn.004df4c0
add esp, 4
test eax, eax
jne 0x4f30d7
mov edx, dword [esp + 0x2c]
test byte [edx + 0x1c], 0x80
je 0x4f2ae9
cmp byte [esi + 0x12], al
jne 0x4f2ae9
cmp dword [esi + 0x78], eax
jne 0x4f2ae9
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push 0
push eax
push 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push 0x46
push eax
call fcn.004cc1f0
add esp, 0x14
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
jne 0x4f2b98
cmp dword [ebp + 0x10], 0
jne 0x4f2b98
test eax, eax
jne 0x4f2b98
cmp dword [ebx + 0x38], eax
jne 0x4f2b98
mov edi, ebx
mov ecx, dword [edi]
mov edx, dword [edi + 0x1c]
mov ebx, dword [esp + 0x18]
push ecx
push 1
push edx
mov eax, esi
call fcn.004eb470
add esp, 0xc
test byte [edi + 0x24], 0x20
jne 0x4f2b64
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4f2b3d
or eax, 0xffffffff
mov ebx, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [edx]
mov edx, dword [edx + 0x1c]
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
push 0x8a
mov ecx, ebx
call fcn.004cc460
mov edi, dword [esp + 0x28]
add esp, 0xc
jmp 0x4f2b68
mov ebx, dword [esp + 0x18]
mov edi, dword [edi + 8]
test edi, edi
je 0x4f3082
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x10]
push 0
push ebx
push edx
push 0x8a
push eax
call fcn.004cc1f0
mov edi, dword [edi + 0x14]
add esp, 0x14
test edi, edi
jne 0x4f2b73
jmp 0x4f3082
test byte [esp + 0x90], 0x40
je 0x4f2ba7
mov eax, 1
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
mov ecx, 0x414
or ax, cx
test byte [ebx + 0x24], 0x20
movzx edi, ax
jne 0x4f2bf3
mov edx, dword [esp + 0x10]
mov eax, 1
add dword [esi + 0x2c], eax
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
push eax
push 0
push 0x49
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x78], eax
call fcn.004cc1f0
add esp, 0x14
jmp 0x4f2c46
mov eax, ebx
call fcn.004ec5f0
mov ecx, dword [esi + 0x2c]
mov ebx, eax
movzx eax, word [ebx + 0x32]
lea edx, [ecx + 1]
mov dword [esp + 0x38], edx
movsx edx, ax
mov dword [esp + 0x14], eax
lea eax, [edx + ecx]
push 0
push edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x28]
push eax
lea ecx, [eax + 1]
push 0x71
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
mov dword [esi + 0x28], ecx
call fcn.004cc1f0
mov dword [esp + 0x48], eax
add esp, 0x14
mov eax, esi
call fcn.004cd030
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
inc eax
push eax
push edi
push 0
push 0
push ecx
push edx
push esi
call fcn.0051c2b0
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4f30d7
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
movzx eax, byte [eax + 0x31]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x4f2c90
mov ecx, esi
call fcn.004f12e0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4f2cac
push 0
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x53
push eax
call fcn.004cc1f0
add esp, 0x14
cmp dword [esp + 0x18], 0
je 0x4f2cf7
movsx eax, word [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x4f2cf1
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
lea edx, [edi + ecx]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edi*2]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
call fcn.004e41b0
movsx eax, word [esp + 0x20]
inc edi
add esp, 0xc
cmp edi, eax
jl 0x4f2cc2
mov ebx, dword [esp + 0x38]
jmp 0x4f2d17
inc dword [esi + 0x2c]
mov ebx, dword [esi + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push 0
push ebx
push edx
push 0x81
push eax
call fcn.004cc1f0
add esp, 0x14
cmp dword [esp + 0x24], 0
je 0x4f2db7
mov eax, dword [esp + 0x54]
movzx ecx, word [esp + 0x14]
add eax, 2
cdq
push edx
push eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], ecx
call fcn.004ab890
mov edi, eax
add esp, 8
mov dword [esp + 0x50], edi
test edi, edi
jne 0x4f2d5d
mov edx, dword [esp + 0x3c]
push edx
call fcn.0051ccb0
add esp, 4
jmp 0x4f30d7
mov eax, dword [esp + 0x54]
inc eax
push eax
push 1
push edi
call fcn.00589f50
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov byte [ecx + edi + 1], 0
test eax, eax
jl 0x4f2d87
sub eax, dword [esp + 0x20]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x74]
test eax, eax
jl 0x4f2d97
sub eax, dword [esp + 0x20]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f2da8
mov edx, dword [esp + 0x10]
call fcn.004cce20
mov eax, dword [esp + 0x10]
call fcn.004cc760
mov dword [esp + 0x58], eax
jmp 0x4f2e2e
cmp dword [esp + 0x18], 0
je 0x4f2ea0
movsx edi, word [esp + 0x14]
inc dword [esi + 0x2c]
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0x2c]
mov esi, dword [esp + 0x18]
mov eax, dword [edx]
push edi
push ecx
mov dword [esp + 0x54], 0
call fcn.004f8ce0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
add esp, 4
push eax
mov ecx, edi
push 0x66
mov eax, ebx
mov edi, esi
call fcn.004cc460
movsx eax, word [esp + 0x20]
mov edx, dword [esp + 0x34]
add esp, 0xc
push eax
mov eax, dword [esp + 0x3c]
push 0x85
mov ecx, ebx
call fcn.004cc700
mov esi, dword [ebp + 8]
add esp, 8
mov edx, dword [esp + 0x3c]
push edx
call fcn.0051ccb0
add esp, 4
cmp dword [esp + 0x5c], 0
jne 0x4f2ec7
cmp dword [esp + 0x24], 2
mov dword [esp + 0x34], 0
jne 0x4f2e61
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0x11
push eax
call fcn.004cc1f0
add esp, 0x14
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push 8
push 0x6e
push edx
mov edi, esi
call fcn.004fbc70
add esp, 0x1c
cmp dword [esp + 0x24], 2
jne 0x4f2ec7
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, edi
call fcn.004ccb60
jmp 0x4f2ed2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
push 0
push ebx
push eax
push 0x95
push ecx
mov dword [esp + 0x60], 1
call fcn.004cc1f0
add esp, 0x14
jmp 0x4f2e21
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0x10]
je 0x4f2f17
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], 0
jne 0x4f2f7e
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
cmp byte [ecx + edx], 0
je 0x4f2f7e
movsx eax, word [esp + 0x4c]
mov ecx, dword [esp + 0x58]
push eax
push 0x1c
mov eax, ebx
mov esi, edi
call fcn.004cc700
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x4f2f7e
cmp dword [esp + 0x18], 0
je 0x4f2f67
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
push 0x24
push edi
call fcn.004cc1f0
mov edx, dword [esp + 0x30]
add esp, 0x14
cmp dword [edx + 0x38], 0
mov dword [esp + 0x44], eax
je 0x4f2f52
mov eax, dword [esp + 0x28]
push ebx
push 0
push eax
push 0x5a
push edi
call fcn.004cc1f0
jmp 0x4f2f7b
mov ecx, dword [esp + 0x28]
push 0
push ebx
push ecx
push 0x80
push edi
call fcn.004cc1f0
jmp 0x4f2f7b
mov edx, dword [esp + 0x64]
push ebx
push 0
push edx
push 0x29
push edi
call fcn.004cc1f0
mov dword [esp + 0x58], eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], 0
je 0x4f2ff6
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.00510010
mov dword [esp + 0x48], eax
push edx
mov eax, esi
call fcn.00511430
add esp, 4
mov ecx, esi
call fcn.004f1300
cmp dword [esp + 0x24], 1
jne 0x4f2fce
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
push 0x75
push edi
call fcn.004cc1f0
add esp, 0x14
cmp dword [esi + 0x74], 0
jne 0x4f2fce
mov byte [esi + 0x14], 0
mov edx, dword [esp + 0x48]
push 0xfffffffffffffff4
push edx
push 0xa
mov eax, ebx
mov ecx, 1
xor edx, edx
call fcn.004cc460
add esp, 0xc
mov edx, 2
mov ecx, edi
call fcn.004ccb40
jmp 0x4f3030
cmp byte [esi + 0x12], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push 0xb
sete dl
movzx eax, dl
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
push ebx
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push esi
call fcn.004f3170
add esp, 0x2c
cmp dword [esp + 0x24], 0
je 0x4f3051
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.004cc7b0
mov eax, dword [esp + 0x3c]
push eax
call fcn.0051ccb0
add esp, 4
jmp 0x4f3082
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x44]
push 0
je 0x4f306b
mov edx, dword [esp + 0x2c]
lea ecx, [ebx + 1]
push ecx
push edx
push 5
jmp 0x4f3070
push ebx
push 0
push 0xb
push edi
call fcn.004cc1f0
add esp, 0x14
mov eax, ebx
mov edx, edi
call fcn.004ccb60
cmp byte [esi + 0x12], 0
jne 0x4f3099
cmp dword [esi + 0x78], 0
jne 0x4f3099
cmp dword [esi + 0x70], 0
je 0x4f3099
call fcn.004f9200
cmp dword [esp + 0x30], 0
je 0x4f30d7
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
push 0
push 1
push eax
push 0x51
push ebx
call fcn.004cc1f0
add esp, 0x14
push 1
call fcn.004ce040
add esp, 4
push 0
push str.rows_deleted
push 0
push 0
mov ecx, ebx
call fcn.004ce100
add esp, 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4f30e9
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xec], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x2c]
push edx
mov eax, esi
call fcn.004f0b10
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x4f310c
push eax
push esi
call fcn.004e0a30
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f315d
test esi, esi
je 0x4f3154
cmp dword [esi + 0x1d8], 0
je 0x4f312f
mov ecx, esi
call fcn.004ab500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x128]
jb 0x4f3154
cmp eax, dword [esi + 0x12c]
jae 0x4f3154
mov ecx, dword [esi + 0x124]
mov dword [eax], ecx
mov dword [esi + 0x124], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004ab490
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret